Jump to content

.XML rss feed needs moving - how?


wilsonf1
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...