Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Q2A Core by
How do I prevent access to my sitemap and robots.txt file?

There are those who can access the file of the robots.txt and sitemap by typing on browser the following:



I want to prevent these files from appearing to any other user
Both files are public instructions for search engines. Hiding them would be counter-productive. Also, why would you even care? Is there an actual problem you're trying to solve?
No, it's not a problem at all
But some sites when you search for it do not appear
Some sites may not have those files. They're not a requirement, just good practice.

Please log in or register to answer this question.