Hi there! Please help me with this problem.
I have Joomla 3.3, PHP 5.4, ADS Manager 2.9.11.
When I Installed JSitemap Pro v.3.4 then it makes HTML-sitemap OK.
But when I try to open XML-sitemap from admin panel (Show raw XML Sitemaps - Show XML Standart Sitemap) then i see this error at browser:
This page contains the following errors:
error on line 89 at column 10: Extra content at the end of the document
Below is a rendering of the page up to the first error.
I find that the issue is becuase JSitemap adding unnecessary closing tag </head> at the end of XML document, so it is breaks normal XML structure. In the same time i see no opening <head> tag in this XML.
Here is the last lines of my XML sitemap:
84<url>
85<loc>http://my domen.com/component/adsmanager/51-taunkhausy/133-taunkhaus-150-kv-m</loc>
86<changefreq>daily</changefreq>
87<priority>0.5</priority>
88</url>
89</urlset></head>
How to delete this </head> tag???
And please explain me one more thing. If i manually copy link to XML-sitemap and paste it into brouser adress bar (http://my_domen.com/index.php?option=com_jmap&view=sitemap&format=xml) then I see error like I told.
But if I paste this URL (http://my_domen.com/index.php?option=com_jmap&view=sitemap&format=xml) into Joomla article on my site and try to open this hyperlink from site front-end, then I see that another page is opening - with URL
http://my_domen.com/sitemap/sitemap/xml
This page contains not raw XML-sitmap, but some kind of hybrid HTML+XML sitemap. Why is so? The link (http://my_domen.com/index.php?option=com_jmap&view=sitemap&format=xml) is the same in both cases.
Thanks in advance!