Using a Rewrite in Nginx for feedburner

Posted by linuxaria on Jun 17, 2011 12:37 PM EDT
Linuxaria.com
Mail this story
Print this story

On my site I had a small problems with feeds, I’ve them managed with feedburner and I have one feed for every language, so you can choose to have the feeds in English or in Italian. The problem is that I would like that when a user types http://linuxaria.com/feed it land on my feedburner page for English while typing http://linuxaria.com/feed?lang=it, should land on the Italian feed page. I’ve tried with the wordpress plugin for feedburner, but that it’s good only if you have 1 feed, because it blindly redirect everything to 1 feedburner address, so it’s not a good solution for my 2 bilingual feeds. And so I’ve done it with a rewrite in Nginx.

Full Story

  Nav
» Read more about: Story Type: Tutorial

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.