G
G
Graid2015-03-03 18:23:40
cloudflare
Graid, 2015-03-03 18:23:40

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

1 answer(s)
S
starosta6123, 2017-05-09
@starosta6123

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 question

Ask a Question

731 491 924 answers to any question