Redirect rss feed users

Posted by Jeremy Love on Server Fault See other posts from Server Fault or by Jeremy Love
Published on 2011-05-13T20:40:36Z Indexed on 2012/03/31 23:34 UTC
Read the original article Hit count: 242

Filed under:
|
|

I made a redirect but when I subscribe to it, it doesnt get the feed from my new url it gets the one from my old url heres what I have.

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    RewriteCond %(REQUEST_URI) ^/articles$ [NC]
    RewriteRule ^(.*)$ htp://newsite.mysite.com/articles [R=301,L]

    RewriteCond %(REQUEST_URI) /(.)
    RewriteRule ^(.*)$ htp://newsite.mysite.com [R=302]


    RewriteCond %{HTTP_HOST} ^www\.oldsite.mysite\.com$
    RewriteRule ^(.*)$ http://newsite.mysite.com [R=301,L]

    Redirect 301 / http://newsite.mysite.com/

</IfModule>

any help is greatly appreciated, also do to me having no points i had to rename 2 of the urls to htp instead of http

© Server Fault or respective owner

Related posts about apache2

Related posts about redirect