31
votes
Accepted
Google Search Console is making up URLs which don't exist in my Sitemap and then complains that these pages have error
You have a misconception of what a sitemap is.
The sitemap is used to audit the site crawl by the search engine bot. The sitemap and crawling a site are two different and independent things. Google ...
18
votes
Google Search Console is making up URLs which don't exist in my Sitemap and then complains that these pages have error
Closetnoc is correct about sitemaps. Don't expect them to limit what URLs Google will crawl and index. In fact sitemaps have little to no influence over SEO. See The Sitemap Paradox
Google won't ...
12
votes
Accepted
sitemap.xml not rendered as XML document in browser
This suggests your HTTP server is delivering the sitemap with a text/html content type rather than an application/xml one.
You need to configure your server correctly.
8
votes
HTTP to HTTPS: Wait for new sitemap to be indexed?
Google will never index HTTPS while the canonicals point to HTTP. I switched my largest site over to HTTPS using the following protocol:
Enabled HTTPS for the site without switching canonicals for ...
8
votes
Why did Yoast put a no-index tag in my XML sitemap?
Because it is an XML file, the sitemap doesn't support meta tags. Instead it is technically an HTTP header:
X-Robots-Tag: noindex
You don't want to remove it that header. It prevents the XML ...
7
votes
Are alternate links included in the 50,000 URL limit for sitemaps?
As closetnoc suggests in comments, the 50,000 URL limit for sitemaps refers to the number of URLs in the sitemap file itself. ie. the number of <loc> elements. This is an individual sitemap ...
7
votes
Accepted
Ampersand (&) in actual URL and sitemap
if this difference of ampersand in URL and sitemap will cause any issue.
tl;dr No issue, because the URLs are the same.
Since in sitemap & has to be escaped I replaced & with & ...
...
7
votes
Shall I submit sitemap containing all the bad (now 404) URLs after the spam URL hack?
You can submit a temporary sitemap with all the hacked URLs to Google as a method for getting Googlebot to come crawl all of them quickly. When you submit a sitemap of URLs, it will trigger ...
6
votes
Accepted
Yoast SEO plugin creates XML Sitemap with http. Is this correct for a https site?
You need to disable and reenable the sitemap, going to SEO > Sitemap XML. It probably will solve your problem (Yoast bug).
6
votes
Accepted
How to tell bots to forget a website and reindex it from scratch
That isn't possible. You need to map your old URLs to the new with redirects for SEO and user experience.
Google never forgets about old URLs, even after a decade. When you migrate to a new CMS, ...
6
votes
Shall I submit sitemap containing all the bad (now 404) URLs after the spam URL hack?
Leave it as is and hope for the best.
Why you shouldn't list 404s in your sitemap.xml
Your sitemap should only contain URLs you wan't indexed. URLs in your sitemaps should be clean -they should return ...
5
votes
Does Google penalize daily updated <lastmod> tags in sitemaps if the data is not daily updated?
I've never liked the idea of updating <lastmod> every day as itt's not just wrong, it's misleading search engines.
In a post over on SO, Google's Gary Illyes wrote:
The lastmod tag is ...
5
votes
Should I use HTTPS in sitemap URLs for SEO?
Your sitemap should include the links you want search engines to find and index. If you're providing HTTPS canonicals then this is what should be included in the sitemap. Giving a HTTP in your sitemap ...
5
votes
Accepted
Trailing slash, google search console and sitemap
When it comes to the "main domain" (ie. no apparent URL path) there is really only one URL. That is, the one with a trailing slash:
//example.com/
However, Google "understands" this and essentially "...
5
votes
Is it okay to have multiple sitemaps?
Not long ago I was in the same boat when using WordPress plugin Yoast SEO it produced several sitemaps and I was curious to know which one to load to Google's Webmaster Tools Search Console I ran ...
5
votes
Changing sitemap.xml and robots.txt after moving from http to https
The first approach is the correct one. We successfully migrated a high traffic and rankings website from HTTP to HTTPS completely.
The approach based on Google guidelines was:
All HTTP URLs do a 301 ...
5
votes
Accepted
How often do search bots typically visit a website?
Search bots typically never stop visiting a website. Googlebot will typically download some pages every day. It may even download nearly as many pages per day as real users do.
Search bots almost ...
5
votes
Accepted
What is difference between robots.txt, sitemap, robots meta tag, robots header tag?
While X-Robots-Tag and meta robots are equivalent, robots.txt is different. The former is about indexing, while the latter is about crawling/visiting.
Tell bots not to visit a URL by using robots.txt....
5
votes
Accepted
Cache-Control for ads.txt, robots.txt and sitemap.xml files that are generated dynamically
I understand you want to use Cache-Control private/no-store because you don't want the CDN to cache an outdated version of those files. However, not caching these files (i.e. all requests go back to ...
5
votes
Accepted
How should I choose which URLs I want indexed to include in my sitemap?
The pages you most want indexed are your post pages such as /blog/post-1. Those text-heavy pages with article-like content on them are the most attractive to search engines. Collectively, those ...
5
votes
Accepted
How to make a sitemap with Laravel
saying that a sitemap will affect all the child directories from where the file containing the sitemap is located.
I'm not a fan of that wording. It's basically saying that a sitemap can only contain ...
5
votes
Accepted
Do I still need to ping Google after changing a sitemap nowadays?
According to Google's official Search Central dev docs (under the Submit Your Sitemap to Google section), they still require you to ping them when you change your sitemap to make sure it gets crawled. ...
5
votes
Accepted
Cross-domain sitemap submission
It is not a bug.
I.e. you are a validated owner of GSC properties of siteA.com and siteB.com.
If you are logged in into your GSC property of siteA.com, you can add only sitemap hosted under siteA.com, ...
4
votes
Accepted
Do you need to put links to pages like "password recovery" to the sitemap?
You should add the URLs of your pages which you want to get crawled and indexed.
Don’t you want your password recovery page to get crawled/indexed? Then don’t add it. (And if you want to disallow ...
4
votes
Is it OK to "pause" an advert in terms of SEO?
1) Remove all links to the ad. If someone manages to come across the ad, then raise an error 404. When the ad resumes, the link becomes available again.
I think you need to get feedback on what users ...
4
votes
Yoast SEO plugin creates XML Sitemap with http. Is this correct for a https site?
Yoast SEO uses the default site address set by your WordPress installation which is entered the first time you install WordPress. When enforcing a HTTPS on a WordPress set you must setup the current ...
4
votes
Accepted
Should an RSS feed be listed in a site's XML sitemap?
Google doesn't typically index RSS feeds or show them in search results. You don't need to tell Google about the RSS feed in your sitemap to get it indexed.
Your sitemap should contain all the URLs ...
4
votes
Accepted
Sitemap and archived content?
The Sitemaps.org protocol defines three optional elements that could be useful in your case:
lastmod - "The date of last modification of the file."
changefreq - "How frequently the ...
4
votes
Is it practical to generate a million page sitemap?
You should submit a sitemap of all pages you believe should be in
Google's search index.
If you have millions of pages, you'll need to use the sitemap index
which is a collection of ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
sitemap × 834seo × 367
google-search-console × 232
xml-sitemap × 188
google × 143
search-engine-indexing × 70
robots.txt × 56
googlebot × 49
google-index × 43
wordpress × 37
url × 36
web-crawlers × 33
xml × 30
google-search × 27
search-engines × 27
hreflang × 19
multilingual × 18
html × 15
https × 15
canonical-url × 15
redirects × 14
images × 12
php × 11
301-redirect × 11
subdomain × 10