Answer the question
In order to leave comments, you need to log in
How to set an exception in cloudflare page rules?
I redirected traffic from http to https so http://*site.com/*
How can I exclude "robots.txt" from the redirect?
Answer the question
In order to leave comments, you need to log in
Set the first rule in Page Rules:
1. http://*site.com/robots.txt Disable Security
Second redirect
2. http://*site.com/* Always Use HTTPS
The order of the rules matters.
In total, the robots.txt file has its own rule, which cancels the use of HTTPS. This completes the application of the rules for this file.
All other pages will be redirected to HTTPS.
Yandex will no longer swear at the redirect for robots.txt
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question