I'm in the process of migrating a site across from Wordpress to Octopress - but have managed to completely screw up the
mod_rewrite settings in the process.
Currently, all the URLs are in the format
Once ported across to Octopress, they are now in the format:
There are also some top-level pages which are all variations of
and are now
I've got as far as
RewriteRule ^(.+)\.php $1
which seems to work nicely - but as soon as I include a 301 redirect:
RewriteRule ^(.+)\.php $1 [R=301]
the rewrite rule now includes the full file system path - so:
Can anyone point out where I'm going wrong here?
RewriteRule is in the
<Directory /> ReWriteEngine On RewriteRule ^(.+)\.php $1 Options FollowSymLinks AllowOverride All </Directory>