I’ve recently moved from a Squarespace site to Kirby, and my old RSS feed was at /posts?format=RSS
. My new blog is still at /posts
though my RSS feed is now /rss
. I’m having trouble figuring out how best to redirect the old feed to the new one. I’ve tried 301 redirects in the .htaccess
file with no success. What’s the best way to handle this?
I’m having a similar problem trying to figure out how to route something like the RSS link in the original post question, or (another example) /wordpress/?p=207
=> forum/207
Unfortunately, you can’t use a query string in the route pattern. You can, however, use the pattern without the query string and use get('p')
in the action function to get the post number.
1 Like