Skip to content

Instantly share code, notes, and snippets.

@nathanaelphilip
Created July 10, 2014 14:37
Show Gist options
  • Save nathanaelphilip/f407c1a2acaa19f6fb24 to your computer and use it in GitHub Desktop.
Save nathanaelphilip/f407c1a2acaa19f6fb24 to your computer and use it in GitHub Desktop.
kamee june .htaccess
# -FrontPage-
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^cms/\?p=(.*)$ /\?p=$1
</IfModule>
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName kameejune.com
AuthUserFile /home/kameejun/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/kameejun/public_html/_vti_pvt/service.grp
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Redirect 301 /theblog/ /
</IfModule>
# END WordPress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment