Page Rule to Redirect Trailing Slash or Non-Trailing Slash to the Other?

Hey there!

My site has an issue where we have trailing slash and non-trailing slash URLs. Both serve the same content, neither of them redirect to one another.

I understand this can be considered bad because of duplicate content, so I need to sort this out using Cloudflare’s page rules. However, I’m a bit at a loss as to how to do this without causing a big issue.


:wave: @yamilla,

In the grand scheme of things I don’t think this is a particularly big deal for SEO, it’s probably more important to standardize how you create and reference links in your content to these pages than that they could be viewed as different content. If you can’t change this behavior on the origin server, you could do so using :logo: Workers.


This topic was automatically closed after 31 days. New replies are no longer allowed.