IT.vrukah.info

 

How to add XMAP sitemap to Google WebMaster Tool

Hi All!

Trying to add my XMAP generated sitemap to the Google Webmaster and Yandex webmaster tools I've faced with a situation when the sitemap has been rejected with "errors in xml file  format" messages.

 So I've desided to open/check the sitemap.xml  with my browser and got an error:

XML Parsing Error: not well-formed xmap

Finally the issue has been solved.

The solution is:

replace all " & "symbols in your XMAP URL with "&"

example:

http://blessyou.vrukah.info/index.php?option=com_xmap&view=xml&tmpl=component&id=1

replace to:

http://blessyou.vrukah.info/index.php?option=com_xmap&view=xml&tmpl=component&id=1

and submit.

Look at the submission form carefully - what part of the URL should be entered.

example:

Google Webmaster asks only for "index.php?option=com_xmap&view=xml&tmpl=component&id=1"  part of the URL to be entered.

 

It is also a good idea to create a sitemap.xml file containing a link to XMAP sitemap.

example of the sitemap.xml:

<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <sitemap>
      <loc>http://blessyou.vrukah.info/index.php?option=com_xmap&amp;view=xml&amp;tmpl=component&amp;id=1</loc>
   </sitemap>
</sitemapindex>

and create "robots.txt" file with a link to the sitemap.xml

example of the robots.txt:

User-agent: *
Disallow: /administrator/
Disallow: /cache/
Disallow: /components/
Disallow: /images/
Disallow: /includes/
Disallow: /installation/
Disallow: /language/
Disallow: /libraries/
Disallow: /logs/
Disallow: /media/
Disallow: /modules/
Disallow: /plugins/
Disallow: /templates/
Disallow: /tmp/
Sitemap: sitemap.xml

Place both sitemap.xml and robots.txt files to the root folder of your Web site to make sure they  could be accessed by the search engines.

Hope it is clear that now you can submit ONE of your choice:

 standard sitemap.xml

or

"fixed" direct link to XMAP sitemap.

 

Best regards,

Andrey

Яндекс.Метрика