Jump to content
wilsonf1

.XML rss feed needs moving - how?

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!

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...