Feed redirect

A while ago while watching logs in order to debug a little CGI-script I am coding for ezmlm I noticed some feed readers were trying to access the old URLs. I added a permanent redirect in my Nginx configuration file. As an interesting side effect, now Planet GPUL is catching my feeds again 😉

Just in case someone wonders how an unconditional redirect is written in nginx.conf, the snippet is as follows:

    location ~ ^/blog/(rss2_xml|rdf10_xml|rdf91_xml) {
      rewrite .* https://hario.wordpress.com/feed permanent;
    }
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s