Skip to content

Instantly share code, notes, and snippets.

@arbaaz
Created December 31, 2013 22:15
Show Gist options
  • Select an option

  • Save arbaaz/8202769 to your computer and use it in GitHub Desktop.

Select an option

Save arbaaz/8202769 to your computer and use it in GitHub Desktop.
dothtaccess file for the permalinks of the wordpress
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule>
# END WordPress
#comment:RewriteEngine/Module must be enable on the server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment