Questions tagged [xml-sitemap]

An XML sitemap is an XML file where you provide information about the pages, videos, and other files on your site, and the relationships between them. Questions related to how XML sitemaps affect SEO are off-topic for Stack Overflow. They may be on-topic at the Webmasters Stack Exchange.

An XML sitemap is an XML file where you provide information about the pages, videos, and other files on your site, and the relationships between them. Search engines like Google read this file to more intelligently crawl your site. A sitemap tells Google which pages and files you think are important in your site, and also provides valuable information about these files: for example, for pages, when the page was last updated, how often the page is changed, and any alternate language versions of a page.

The standard for the protocol can be found at https://www.sitemaps.org/

Here is the format of a basic XML sitemap:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
   <url>
      <loc>http://www.example.com/</loc>
      <lastmod>2020-01-01</lastmod>
      <changefreq>monthly</changefreq>
      <priority>0.8</priority>
   </url>
</urlset> 
216 questions
0
votes
0 answers

Sitemap Error General HTTP error: 404 not found

I visit my webmaster tool and it shows the site map index error below. what is problem my site map and how to solve this Problem? please help. How to fix this error
zafa12
  • 1
  • 3
0
votes
1 answer

Google XML-Sitemap: WP HTTP API Web Request failed: connect() timed out?

I did a lot of search, but error remains, when I run XML-Sitemap plugin in wordpress, I got this: Ping Test Trying to ping: http://www.google.com/webmasters/sitemaps/ping?sitemap=http%3A%2F%2Fwww.triffic.cc%2Findex.php%3Fxml_sitemap%3Dparams%3D.…
Tangoo
  • 1,329
  • 4
  • 14
  • 34
0
votes
1 answer

How to handle Site Map for Multiple websites

I have a single code base where I am running multiple websites. For example my http://www.example1.com/Example1 http://www.example2.com/Example2 http://www.example3.com/example3 In this way the links for my page will be differ for all…
Dalvir Singh
  • 423
  • 3
  • 11
  • 25
0
votes
1 answer

How to generate Sitemaps for a large Rails Project

We struggle to find the best solution to generate our sitemap Right now we have the following models which needs to be displayed in our sitemap(s) Modification.count => 78719 User.count => 288168 Project.count => 3516 ProjectLog.count => 6165 …
Tim Kretschmer
  • 2,272
  • 1
  • 22
  • 35
0
votes
1 answer

XMLSitemap for multi language, desktop & mobile site

There is a lot of info out there about sitemaps, but I haven't found exactly what I am looking for. I am building a site which has separate mobile/desktop pages and also english and polish. In other words, every page in the site has four…
asimovwasright
  • 838
  • 1
  • 11
  • 28
0
votes
1 answer

Google search on multi-language site shows description only in one language

Acordding to Google Support I have a site wiht the same configuration, but only for spanish and english:
0
votes
1 answer

Google is not indexing images

Hi Everyday my scripts submit a xml to Google, containing new pages as well the images associated to them. The pages are indexed ok but not the images. For example, if I type in Google Web Search "Camisa Malha Cavalinhos", the first result is…
Robin LeBon
  • 150
  • 11
0
votes
1 answer

Wordpress - customized pages with blocks - prohibit google seo index of blocks

I'm using Wordpress and WooCommerce for my online shop. With the theme I'm using you can customize the product-category pages by adding "blocks". So if I want to have a text on the top of a product category page I simply create a block page, lets…
ouiber
  • 3
  • 2
0
votes
1 answer

Which sitemap is better?

I have a hand coded sitemap which I know doesn't include every possible scenario of links that are available as I am working with a CMS (Joomla). I have just used an automated generator that created me a sitemap and I am wondering which would be…
user3376481
  • 67
  • 1
  • 2
  • 9
0
votes
0 answers

How to put xml site map in asp.net mvc application

I created a xml site map file manually for my asp.net mvc 4 application. Now how can i use this file for SEO improvement? what should i do with this file? thank you
Hossein Panahloo
  • 520
  • 4
  • 18
0
votes
1 answer

Sitemap contains urls which are blocked by robots.txt under Google Webmaster Tools

Really frustrated. It is because of technical errors or Google's cache effect? Do I have to wait for a few days more? I have been updating my robots file and sitemap to Google Webmaster Tools several times since last night. But each time I resubmit…
Lawrence L.
  • 69
  • 1
  • 7
0
votes
2 answers

Drupal + Webmaster Tools: "This url is not allowed for a Sitemap at this location."

I'm using the XMLSitemap module on a new Drupal 7 site. The sitemap is generated fine, but Google Webmaster Tools doesn't like it. The file has 61 entries, and I get 61 identical errors: "This url is not allowed for a Sitemap at this location." So…
John Alexander
  • 822
  • 1
  • 12
  • 21
0
votes
1 answer

Does Google Accept Only Sitemap With .txt Extention?

I have finalized working on my Asp.Net 4.0 website. Now that i am to publish it by next few days, i am finding resources that can help me better rank my site on popular search engines. My site displays both static and dynamic contents. For dynamic…
0
votes
0 answers

Multiple sitemap in drupal using xmlsitemap module

I want to create Multiple sitemap in drupal using xmlsitemap module Static pages like About-us/Contact us etc Content pages pages from specific content type. A index file which will contain entry for both XML Its not a multilingual or multidomain…
Prashant Kanse
  • 772
  • 11
  • 23
0
votes
2 answers

Cannot add "xmlns" attribute to urlset in sitemap.xml

I generate a sitemap.xml XDocument xDoc = new XDocument( new XDeclaration("1.0", "UTF-8", ""), new XElement("urlset", new XAttribute("xmlns", "http://www.sitemaps.org/schemas/sitemap/0.9"), new Element (....and so on...) I get an…
podeig
  • 2,597
  • 8
  • 36
  • 60