Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 04:45 pm EST
Geeklog Forums
RSS Feed Redirection with ModRewrite
eYos
Anonymous
Hi there,
I've restructured the rss feed. Now I would like to setup a redirection for my old RSS feeds path /feed/name.rss and /backend/name.rdf to http://www.domain.com/rss.xml
How can that with ModRewrite? I've tried
RewriteEngine On
RewriteCond %{HTTP_HOST} /feed/name.rss$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/rss.xml$1 [R=301,L]
but it doesn't work. Anyone who can help me out?
I've restructured the rss feed. Now I would like to setup a redirection for my old RSS feeds path /feed/name.rss and /backend/name.rdf to http://www.domain.com/rss.xml
How can that with ModRewrite? I've tried
RewriteEngine On
RewriteCond %{HTTP_HOST} /feed/name.rss$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/rss.xml$1 [R=301,L]
but it doesn't work. Anyone who can help me out?
14
14
Quote
All times are EST. The time is now 04:45 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content