My website 301 status url automatically changes to 302 when connected to cloudflare

My website 301 status url automatically changes to 302 when connected to Cloudflare. can someone help me how to resolve this issue. bcoz if my Cloudflare is switched off then my urls are 301

What’s the issue? Does the redirect not work?

yes the redirect works. but not the redirect status 301. I want my website to redirect with status 301 bcoz of SEO recommendation. So My website without Cloudflare protection the url redirect correctly with status 301. Once I switch on Cloudflare protection, the url redirect with status 302.

What’s the URL that’s returning the 302?

Hi there, I hope your issue has been solved. If not, please know: that the 302 status is not wrong. Since, you’ve already set redirection, Cloudflare automatically picks up the page redirection. Even, 301 also stands for source permanently moved.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.