Question

My website is located in a sub folder, but I assigned a domain to this sub folder so the location of the robots.txt file is www.example.com/robots.txt even though I installed Joomla in a subfolder.

Is this correct? Because Google Webmaster Tools does not list the URLs specified in the robots.txt as blocked.

Was it helpful?

Solution

For example.com, the robots.txt needs to be accessible at example.com/robots.txt.

It it doesn’t matter how this is accomplished on the server-side.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top