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
1
vote
1 answer

XML Sitemaps: best practice when listing 'alternatives'?

I have put together a XML sitemap for Google that attempts to explain that my website's five main pages each exist in one of eight languages, so the other languages have more or less identical content, just not in English. Here's a representative…
Frankie
  • 596
  • 3
  • 24
1
vote
1 answer

Sitemap with alternate langs urls, but same images

I'm trying generate the xml sitemap for a ecommerce website. Is a multilanguage project and the product pages are in multiple languages, but same product images are the same. Reading Google post for multilang sitemaps and here it seems that I must…
smoreno
  • 3,129
  • 3
  • 32
  • 49
1
vote
1 answer

Getting Google Sitemap Generator working: "[ERROR] When attempting to access your generated Sitemap ... we failed to read it. "

I'm trying to get Google Sitemap Generator working. Here is my (Zend Framework 2) project…
automatix
  • 14,018
  • 26
  • 105
  • 230
1
vote
3 answers

SEO, Google Webmaster Tools - How can get I generate a 404 crawl error report for bad URLs that are in the sitemap?

I have an automatically generated sitemap for a large website which contains a number of URLs that are causing 404 errors which I need to remove. I need to generate a report based on only the URLs that are in the sitemap and not crawl errors caused…
TGuimond
  • 5,475
  • 6
  • 41
  • 51
1
vote
2 answers

opencart google sitemap vqmod error

I am trying to submit a google sitemap in the google webmaster tools but running into errors. In admin I clicked on the extensions >> product feeds and enabled google sitemaps options. It provided me the link for sitemap but when I submit the link…
learningturtle
  • 128
  • 2
  • 2
  • 11
1
vote
1 answer

How to use locations.kml with sitemap.xml

I would like to make sure website ranks as high as possible whenever my Google Places location ranks high. I have seen references to creating a locations.kml file and putting it in the root directory of my site. Then creating lines in the…
user1462449
  • 11
  • 1
  • 2
1
vote
1 answer

How to create dynamic google sitemap in asp.net?

I have one website like www.example.com and have dynamic pages like www.example.com/page?1 and www.example.com/page?2 etc. more pages are created every hours. I need to create sitemap.xml file automatically save in server path and update my latest…
Ravi
  • 105
  • 2
  • 3
  • 9
0
votes
1 answer

In robots.txt only allow crawling for subdomain NOT subdirectory on shared hosting?

I just changed the DNS settings so the folder /forum is now a subdomain instead of a subdirectory. If I do a robots.txt file and say: User-agent: * Disallow: /forum Will that disallow crawling for the subdirectory AND subdomain? I want to disallow…
Graham
  • 1,433
  • 3
  • 21
  • 34
0
votes
1 answer

How to split large dataset into google sitemaps

I'm working on the site and want to create google sitemap efficiently (with images) I have above 30 000 pages and every page have image on them. In every month is about 1000 new pages. (I have also lots of other pages but they don't need to be in…
jcubic
  • 61,973
  • 54
  • 229
  • 402
0
votes
1 answer

How to check your Website’s files to figure out whitespace and remove it in wordpress?

how to check your site’s files to figure out whitespace in wordpress? i do not know how to do that. Please tell me the procedure and steps to do that. I tried using script it works but i need a permanent solution. Because of this i am getting xml…
0
votes
0 answers

Sitemap generation of react app integrated in laravel using react-snap

I am using react.js integrated in laravel and when I make a postbuild using react snap it is showing me errors that the pages are not found. What I have is I have app.blade.php in my resources/views which serves as public/index.html and app.jsx in…
0
votes
0 answers

I have deployed my WordPress site (osmfancytext.com) on Netlify - sitemap_index.xml is empty

I have live my WP site on Netlify static pages but my Yoast plugin (sitemap_index.xml) showing empty why? site URL: https://osmfancytext.com/ I have expect to show my all site pages, post media inside the https://osmfancytext.com/sitemap_index.xml
0
votes
0 answers

500 Error When Accessing robots.txt File in Django App Hosted on HestiaCP: Need Help Fixing the Issue

I just tried to publish web-site using the Django App, the organization gave me the HestiaCP for host it. Everything works grate, but I have one and only problem. When I tryed to get the robots.txt file it gives me the 500 error. It still work…
0
votes
0 answers

PHP laravel - sitemap.xml

I have a website built with PHP Laravel, in which the sitemap.xml shows an old version of the sitemap, not my recent update, in the browser. I also viewed the sitemap file on the server containing the latest updates. the latest updates. Does…
Sam Mah
  • 31
  • 6
0
votes
0 answers

Generate Separate File For Static Content In Sitemap Index

I'm generating sitemaps file using sitemap package. It's working fine I have some static pages and I also want to generate a sitemap-static.xml that will contain all the static links and that file will be linked in sitemap-index.xml file. How can I…
Zain Khan
  • 1,644
  • 5
  • 31
  • 67