J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Your Sitemap or Sitemap index file doesn't properly declare the namespace. (1 viewing) 
Go to bottom
TOPIC: Your Sitemap or Sitemap index file doesn't properly declare the namespace.
#3589
Abraham Tol
Fresh Boarder
Posts: 11
User Offline
Your Sitemap or Sitemap index file doesn't properly declare the namespace. Karma: 0  
Installation on 2.5.28

submitted to Google A the following

/index.php?option=com_jmap&view=sitemap&format=xml&lang=en

and get this error.

what is the solution for this?
 
Logged Logged  
  The administrator has disabled public write access.
#3590
John Dagelmore
Admin
Posts: 3716
User Offline
Re:Your Sitemap or Sitemap index file doesn't properly declare the namespace. Karma: 79  
Hi, just answered you by email please use email address for further communication.

Post here the answer useful for other users encountering the same issue.

QUOTE:
this problem is not related directly to the sitemap component.
Normally this problem happens when there is a plugin or server settings that replaces all links from http:// to https://
So i guess that your site runs on https:// protocol and the Joomla output including the sitemap has all links replaced.

As a result the correct link: http://www.sitemaps.org/schemas/sitemap/0.9
is replaced with https://www.sitemaps.org/schemas/sitemap/0.9
thus invalidating the XML document.

The plugin forcing https everywhere commonly is Admin Tools so try to rule it.




Thanks and best regards

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