Welcome to Geeklog, Anonymous Friday, October 11 2024 @ 10:50 pm EDT

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?
 Quote

All times are EDT. The time is now 10:50 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