J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
xmp file not accessible through url (1 viewing) 
Go to bottom
TOPIC: xmp file not accessible through url
#1389
Anil
Fresh Boarder
Posts: 7
User Offline
xmp file not accessible through url Karma: 0  
I have exported xml file and placed in my webroot. However surprisignly when i try to access that file through url i end up in 404 error page . However in SEO dashboard "link to html sitemap" i have below link which shows my sitemap.
http://domainname/index.php?option=com_jmap&view=sitemap&format=xml

Why it is not showing in http://domainname/site.xml
 
Logged Logged  
  The administrator has disabled public write access.
#1390
John Dagelmore
Admin
Posts: 3722
User Online Now
Re:xmp file not accessible through url Karma: 79  
Hello,

if the static XML file placed at the webroot is not showing probably the path is wrong. Normally it should be the domain link + the name of the sitemap file: http://domainname/sitemapfile.xml

If the path is correct there could be some directives in the htaccess or server that avoid opening XML files.

However normally nobody need anymore a static XML sitemap at the webroot, it's an old solution that requires manual update.

Use instead the dynamic link for the XML sitemap generated in realtime and add this to the robots.txt that will have the same effect for search engines: http://domainname/index.php?option=com_jmap&view=sitemap&format=xml

More info at this link: http://storejextensions.org/faq/when-i-add-new-contents-is-my-sitemap-updated-automatically.html

Cheers,

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