Jump to content

How to rename the sitemap created by "google sitemap" module automatically ?


Recommended Posts

Hello

 

I would like to rename or generate a site map named "sitemap.xml" via "google sitemap" module

Presently it generated the site map named as "http://abhishekproducts.in/1_en_0_sitemap.xml" i would like to replace that with "http://abhishekproducts.in/sitemap.xml"

 

reason -

for SEO optimization, as generally the crawlers look for file at domain.com/sitemap.xml. having a custom name forces me to manually configure the same at the webmaster tools of search engine services repeatedly.

 

My store link - Abhishek Products

Link to comment
Share on other sites

As far as I can tell, if you visit the link http://abhishekproducts.in/sitemap.xml, this automatically redirects to http://abhishekproducts.in/1_index_sitemap.xml, which contains all possible language sitemaps generated for your store (at the moment though, it only references an English sitemap, but if in the future you add more languages it should contain the corresponding sitemap files as well).

 

I don't think you have to do anything, as is. Have you tried submitting the http://abhishekproducts.in/sitemap.xml sitemap URL in GWT? It didn't work as expected?

Link to comment
Share on other sites

As far as I can tell, if you visit the link http://abhishekproducts.in/sitemap.xml, this automatically redirects to http://abhishekproducts.in/1_index_sitemap.xml, which contains all possible language sitemaps generated for your store (at the moment though, it only references an English sitemap, but if in the future you add more languages it should contain the corresponding sitemap files as well).

 

I don't think you have to do anything, as is. Have you tried submitting the http://abhishekproducts.in/sitemap.xml sitemap URL in GWT? It didn't work as expected?

 

 

thanks.

 

i wrote a rewrite rule in htaccess file. so sitemap.xml routes to www.abhishekproducts.in/1_index_sitemap.xml . that solved the problem.

 

also i was able to submit /sitemap.xml to web master and it was successfull.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...