Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I used to have a blog based on Wordpress and moved to one based on Jekyll. I can create a new feed in Jekyll by building an atom page in XML with a bit of Liquid code, like this

The trouble is, the location of the new feed is http://carlboettiger.info/atom.xml, while the old feed from the wordpress site is http://carlboettiger.info/feed, with no extension. how can I configure the Jekyll-created feed such that followers who have pointed their readers to the old feed address from wordpress will start to get the new content?

(Site's Jekyll source here)

share|improve this question
1  
Is there something about Jekyll that prevents you from just creating a basic redirect from [wpfeedurl] to [jekyllfeedurl]? The problem isn't configuring Jekyll/its feed, but just telling your server where to point people. Unless I'm missing something. –  Su' Oct 17 '12 at 9:32
    
I'm not familiar with Jekyll but wouldn't you be able to modify the feed URL in the header of your website –  Anagio Oct 17 '12 at 16:34
    
I'm confused about extensions actually. Do I copy atom.xml to "feed" in my root directory, or create a new dirctory "feed" and copy the "atom.xml" to "index.html", or something else? –  cboettig Oct 17 '12 at 18:06

1 Answer 1

up vote 1 down vote accepted

Almost all feed readers will follow redirects when fetching feeds. You should be able modify your .htaccess file to redirect the old url to the new.

Redirect 301 /feed http://carlboettiger.info/atom.xml
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.