Skip to content

Instantly share code, notes, and snippets.

@gweatherson
Created January 15, 2016 05:14
Show Gist options
  • Save gweatherson/2f3065a8dc2f8936a4b6 to your computer and use it in GitHub Desktop.
Save gweatherson/2f3065a8dc2f8936a4b6 to your computer and use it in GitHub Desktop.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /newsite/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /dev/index.php [L]
</IfModule>
# END WordPress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment