Skip to content

Instantly share code, notes, and snippets.

@tribulant
Created December 3, 2014 10:26
Show Gist options
  • Save tribulant/c79419d7b9e292301a24 to your computer and use it in GitHub Desktop.
Save tribulant/c79419d7b9e292301a24 to your computer and use it in GitHub Desktop.
WordPress rewrite rules for CakePHP
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment