Adding Rewrite Rule
-
Hi All,
I am using WP 2.0 and want to add a simple redirect rule to my blog that will redirect a user from ataom.xml to /feed/atom/. The blog was originally created with Blogger. I have just added an extra item to the default .htaccess file (see below). It’s not working. Can someone suggest how to fix it?
Thanks in advance,
Jose
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]RewriteRule /atom.xml?$ /feed/atom/
</IfModule>
# END WordPress
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Adding Rewrite Rule’ is closed to new replies.