Murray's Blog

Switched to WordPress

I’ve switched my blog to wordpress to try to reduce the processor resources needed with pyblosxom, and to get a working captcha (the pictures of letters) system for comments, to avoid spam.

To keep the old rss feed url,

https://www.murrayc.com/blog/?flav=rss

working, by pointing it at the new feed url,

https://www.murrayc.com/blog/?feed=rss

I’ve tried the following RewriteRule in my blog/.htaccess file,

RewriteRule ^(.*)?flav=rss $1/?feed=rss [R]

and this

RewriteCond %{QUERY_STRING} flav=rss
RewriteRule ^blog blog/?feed=rss [R=301,L]

but neither seem to have an effect.

Update: This seems to have fixed it, though I’m sure it’s not perfect:

RewriteCond %{QUERY_STRING} flav=rss
RewriteRule ^(.*) /blog/?feed=rss [R=301,L]
Exit mobile version