Jump to content

Featured Replies

Posted
  • Community Expert

Under ACP > System > Search Engine Optimization > Crawl Management, I have set Robots.txt to Custom, and I've entered my custom rules.

However I've noticed that the robots.txt file that's live (mysite.com/robots.txt) does not reflect those custom rules. In fact it doesn't even have the basic IPS rules (to disallow certain folders). It's simply:


User-agent: *
Disallow: /cdn-cgi/

Solved by Marc

Go to solution
  • Community Expert

Unfortunately, I am seeing what is in your robots.txt in the ACP:

image.png

The last item there, /cdn-cgi/ is appended by our cloud processes.

Keep in mind that there is caching on our Cloud so it may take some time for preferences to update for certain cases.

  • Author
  • Community Expert

I haven't made any changes to my robots.txt file in months, so it's not a cache issue.

When I go to mydomainname.com/robots.txt using Chrome, I see this:

screenshot.png

  • Community Expert

You may wish to clear your browsers cache. Unfortunately, I am unable to reproduce that.

  • Author
  • Community Expert

Just deleted the cache in Chrome on my Mac, same thing.

I tried with Safari for iOS on my iPhone, and it offered me to download the robots.txt, which I did: same content, only the two lines.

ChatGPT sees the same thing as I do:

screenshot.png

  • Community Expert

This is your community correct and not someone else's community? Unfortunately, both on and off our VPN plus using chatgpt as well, I am getting the robots.txt I showed above.

image.png

  • Author
  • Community Expert

Yes correct, it's my community, not someone else's.

  • Author
  • Community Expert

Just noticed something:

I'm getting two different robots.txt files depending on whether or not I use

  • https://mydomain.com

  • https://www.mydomain.com

Looks like that could be the issue?

Normally there should be a redirect from https:// to https://www on my site, but it looks like that's not working for the robots.txt file?

Edited by David N.

  • Author
  • Community Expert

Is it possible to open a ticket regarding this issue? Thanks.

  • Community Expert
  • Solution

Ive created a ticket for you. Please provide full information on there and we can advise for you

  • Author
  • Community Expert

Thank you Marc.

For what it is worth, I see the same condition on my site. Two different robots.txt pages, dependent upon the url. I don't know if it matters or not but the site in question runs v4.

Edited by My Sharona

  • Author
  • Community Expert

Mine is v4 also.

  • Author
  • Community Expert

This issue has been resolved. Thanks (again) @Daniel F ! 😀

Recently Browsing 0

  • No registered users viewing this page.