Resolved Redirecting an RSS feed

Discussion in 'Web Design and Development' started by geese, Mar 25, 2011.

  1. geese, Mar 25, 2011
    Last edited: Mar 25, 2011

    macrumors 6502a

    geese

    Joined:
    Oct 23, 2003
    Location:
    London, UK
    #1
    Please delete.

    -------
    Hi,

    What is the best way of redirecting an RSS feed to a new location? I've tried replacing the contents of my XML file to this:

    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <redirect>
        <newLocation>
        http://www.web.com/rss.xml
        </newLocation>
    </redirect> 
    But no browser, or RSS reader accepts it. What have i done wrong?

    Thanks
     
  2. macrumors member

    iPave

    Joined:
    Mar 15, 2008
    Location:
    Tampere, Finland
    #2
    I'd recommend 301 redirection through .htaccess.

    Code:
    Redirect 301 /old_feed http://www.example.com/rss.xml
     

Share This Page