Skip to main content
Help Center
The GoDaddy Community will undergo maintenance starting on Tuesday, August 3rd at 3pm PST / 6pm EST. Learn more
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can i hide sitemap.xml from public view in godaddy



I am having Pro Managed Wordpress hosting in GoDaddy.


I want to hide my sitemap from public access. 

For example, my sitemap files are at:


I want to hide these URLs from public viewing but it should be available to Google and should be indexed. Robots.txt should also allow the crawling. 


How can I achieve this?

Please suggest. 



Not applicable

Hi @joshibhargav_20,

read following (src stackexchange)



I don't see why a structure of a site could cause you issues with a competitor?

The point of the sitemap is to have the pages indexed, so people can find them easier, which does, to a point, has to reveal how your site is organized such as:

  • /news/ contains your Articles of news
  • /forum/ is where all of the forum discussions are

Those will be indexable, to gain more traffic and present information.

The folders which you don't want to have index is like

  • PHP classes and functions that allow a site to work
  • Site images, CSS, JavaScript folders
  • Administration Panel

Then, if that is the case, then those shouldn't be in your sitemap at all. Plus you can exclude those from the indexing also.