Forum Moderators: phranque
Hoping someone can help me out with this.
I'm converting a site to wordpress, but need to keep the file extension of some of the page. For example, "mysite.com/topic/thepage.shtml"
Right now as a test I have this code:
RewriteEngine on
RewriteRule ^uncategorized/hello-world$ topic/thepage.shtml# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME}!-f
RewriteCond %{REQUEST_FILENAME}!-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
However this doesn't seem to do anything. If I try to edit the 'slug' to 'thepage.shtml' wordpress stips out the '.' leaving me with 'thepageshtml'.
Its really important I keep this particular URL, I can't afford to 301 it to a different url for various reasons.
Any idea on how to do this?
Thanks!