Rewrites not working?


Having some trouble setting up some Rewrite rules for a static site. works as expected. however redirects to

Have i set something up wrong here?

Hello! The way you’ve set up these rewrite rules seems correct, but it looks like is itself returning a 301 redirect (to /hello-world/), which is then causing to redirect to If instead returned the same thing as (200 status with the blog content) I think things would work as you want. So in short redirecting when there’s no trailing slash may be the issue here. Does that make sense?

1 Like

Thanks so much David, leaving this here:

in case anyone else is having problems with rewrite rules & ghost

1 Like

Thanks for sharing the link!