Robot.txt stuck in redirect loop

Hi

The robots.txt file on my site https://ww.broughtonschoolofmotoring.com seems to be stuck in a redirect loop. Please see:

Presumably this is something to do with a server rule - when I disable Cloudflare, the problem goes away.

Can anyone shed some light on this and suggest how it might be fixed?

My origin server is shared, so I can’t change any settings there.

Thanks!

What’s your encryption mode on Cloudflare?

It’s set to ‘Flexible’

It was set to ‘Full’ when the problem started so I changed it to ‘Flexible’.

“Flexible” should never be used, that is not secure. You seem to have a valid certificate, so switch that to “Full strict” and it should work.

Thanks. I’ll give that a try.

It seems to have worked, thanks. I am no longer getting any warnings about the robots.txt file being redirected.

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