Forum
Welcome, Guest
Please Login to access forum.
Re:sitemap_xml.xml (1 viewing) 
Go to bottom
TOPIC: Re:sitemap_xml.xml
#4380
Daniel Holdinghausen
Fresh Boarder
Posts: 3
User Offline
sitemap_xml.xml Karma: 0  
Is it possible to give the sitemap permanent another name like sitemap.xml and save it in the admin so that every next export have the name sitemap.xml?
Is it also possible that the component save the file automatically in the root directory?

Is it also possible to save and use permanent another link for the sitemap?

in the moment it looks like: http://www.mydomain.com/index.php?option=com_jmap&view=sitemap&format=xml

But i want to use http://www.mydomain.com/sitemap.xml

Thanks for your Help!
 
Logged Logged  
  The administrator has disabled public write access.
#4381
John Dagelmore
Admin
Posts: 3722
User Offline
Re:sitemap_xml.xml Karma: 79  
Hi Daniel,

you should avoid to deal with static sitemap files as much as possible. They are used only if you have large sitemaps that need to be exported or cached as a file. The name assigned to the exported sitemaps is given according to the format, xml, images, etc so there is a reason for that.

What you want to do, is rewriting the sitemap link using the htaccess, to have:
http://www.mydomain.com/index.php?option=com_jmap&view=sitemap&format=xml

rewritten as:
http://www.mydomain.com/sitemap.xml

Please refer to this FAQ http://storejextensions.org/faq/how-can-i-rewrite-a-dynamic-xml-sitemap-url-to-sitemap-xml.html

PS: rewriting the sitemap link makes no difference for search engines
 
Logged Logged  
  The administrator has disabled public write access.
#4391
Daniel Holdinghausen
Fresh Boarder
Posts: 3
User Offline
Re:sitemap_xml.xml Karma: 0  
Thanks!

But is it not possible to have not sitemap_xml.xml but sitemap.xml without rename it manual?
 
Logged Logged  
  The administrator has disabled public write access.
#4392
John Dagelmore
Admin
Posts: 3722
User Offline
Re:sitemap_xml.xml Karma: 79  
No because as i said you it's named accordingly to the exporting format to avoid collisions:

sitemap_xml.xml
sitemap_images.xml
sitemap_mobile.xml

etc...

you should change the component source code to have a default sitemap.xml file for all when exporting. Again, the name makes no difference for search engines in the case that you want to use a static file for some reason.

John
 
Logged Logged  
  The administrator has disabled public write access.
Go to top