Jump to content

.XML rss feed needs moving - how?


wilsonf1

Recommended Posts

I have a simple RSS feed for all my articles called latest-news.xmli need to change the file location of this, the only code online i found was:<?xml version="1.0" encoding="ISO-8859-1" ?><redirect> <newLocation>http://www.wepub.com/myweblog/rss.xml</newLocation> </redirect>when I run that code i just get this error: This XML file does not appear to have any style information associated with it. The document tree is shown below. I use classic ASP and do 301 redirects all the time, but classic ASP isn't going to execute inside a .xml file is it!Please help!

Link to comment
Share on other sites

You can put a .htaccess file (or some equivalent of it) to redirect requests to that file to another file, sending a "Permanently Moved" HTTP status code.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...