Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [xml-sitemap]

XML Sitemaps are XML files created to make it easier for Search Engine crawlers and other bots to efficiently and fully crawl a website.

1
vote
0answers
6 views

Hosting sitemap files on a subdomain [duplicate]

I have a website lets say xyz.com for which i have the sitemap index at xyz.com/sitemap.xml Within the sitemap index file there are multiple sitemap links which are hosted on a subdomain of xyz.com ...
0
votes
1answer
31 views

What I need to pay attention to when generating a XML sitemap file [closed]

I want to generate an XML sitemap for my website. After a lot of searches I found that the XML file has a lot of tags like loc, lastmod, changefreq, priority etc. And there's an images sitemap.xml, ...
1
vote
0answers
34 views

When submitting a cross-domain sitemap, does robots.txt need to list individual XML file, or just the index?

I am trying to move a bunch of sitemap files out of my website into a separate site that just has static assets, however I am struggling to understand the cross-site submissions mentioned on sitemaps....
3
votes
0answers
71 views

Google search console says XML sitemap “can't fetch”, yet sitemap passes test and is visible in browser

I've submitted a couple of sitemaps in search console but they are stuck on the 'cant fetch' status and have been for weeks now. If I go to the URL I can see the sitemap OK and if I go to the old ...
0
votes
1answer
31 views

Something is wrong with my XML Sitemap, how to fix

My question is related to my previous question How to remove indexed pages from google effectively where I was advised to create XML sitemap and submit it to google. The advice looked solid so I ...
1
vote
1answer
31 views

Weird URL in the search console reports

We have been fixing some issues according to the Google Search Console reports. However we have come accross an issue that we dont know where to look for fixing. As you can see in the image, google ...
1
vote
2answers
77 views

Google SearchConsole can't see my sitemap

I have created an xml sitemap. I have used Google SearchConsole to send it in, but the SearchConsole status says it can not be fetched. I cannot see why. Anyone who can spot the error, or have some ...
1
vote
1answer
31 views

Should I index 404.html in my “sitemap.xml” file?

I'm a beginner with websites and I want to know if the sitemap.xml file of my website should or shouldn't index the 404.html page, which is a custom 404 page. This question is quite similar to Should ...
0
votes
2answers
16 views

Can I Update Daily My XML Sitemap

I have one website & WE will Incress Daily 10 to 20 Landing page on my website. and we update daily my xml sitemap with included new landing page. so i ask any problem for these activity or not
0
votes
0answers
12 views

Only one page got indexed in the submitted sitemap [duplicate]

Google indexed only one URL in the sitemap I submitted. Please let me know if there's anything wrong with my sitemap. Any help appreciated. Example sitemap.xml <!-- language: xml --> <?xml ...
2
votes
1answer
2k views

Sitemap couldn't fetch

I'm trying to submit my sitemap on my Google console but every time I add it, it keeps saying it couldn't fetch, I have uploaded my sitemap.xml into my domain root directory but still Google is not ...
2
votes
2answers
106 views

How to fix 404 error caused by WordPress attachment URLs? Using Yoast causes 404 errors

Right now I am using Yoast for SEO. I found 3000+ URLs indexed in Google Search Console, while I have just 100+ posts. By adding other stuff like tags and categories there should be around 300+ URLs. ...
1
vote
1answer
32 views

Should we Put Coupon Pages into sitemap because they do have a faster expiry rate?

Is it a good practice to keep coupons/ voucher pages into a sitemap. because they do have a faster expiry rate. Case: We are updating our sitemap once in 24 hours so, will it be a good practice to ...
2
votes
2answers
43 views

What criteria should be used for priority & change frequency in an XML sitemap?

On what criteria we can define the priority and change frequency in the sitemap. Example if the website is a coupon/service website. The Home Page must be priority 1 Updated Daily Category Pages ...
1
vote
0answers
54 views

Can i put pagination URL on sitemap? [duplicate]

I read here https://blog.spotibo.com/sitemap-guide/ on the section "Which URLs should be put in a sitemap" that i should exclude Paginated Pages, i seached it on google and i did'nt found a person ...
0
votes
1answer
30 views

XML site map generator can't crawl my website

We used https://www.xml-sitemaps.com/ to crawl our website to create a sitemap but for some reason, only a page can be found, but we have more than just a page. And this is our site (https://www.wgvs....
1
vote
3answers
42 views

Can we safely add pages that Google has already indexed to our XML sitemap?

Most of my website pages are indexed in Google. But in my website's XML sitemap we have fewer pages than the number indexed. Can we add all those indexed pages in my sitemap.xml file? It hurt ...
3
votes
2answers
254 views

What URL can I submit as a sitemap for a Blogger blog to Google Search Console?

In many of the articles, I found that I can submit sitemap of my blogger blog by inputting atom.xml?redirect=false&start-index=1&max-results=500 as my sitemap URL. But when I did this, I got a ...
3
votes
1answer
41 views

Is it harmful to have irrelevant xmlns attributes in a sitemap urlset element?

For example, if a site has absolutely no videos and is not a news site, is there any negative (or positive) impact to having a sitemap urlset element like this: <urlset xmlns="http://www.sitemaps....
0
votes
2answers
145 views

SEO Multilingual Sitemap structure

I have noticed in a few articles that xml sitemaps for Multilingual websites are setup like this... http://example.com/sitemap_fr.xml http://example.com/sitemap_en.xml http://example.com/sitemap_es....
1
vote
2answers
159 views

Are hreflangs needed in the XML sitemap if they are used in the head of each page?

I have a multi-language website like this: example.com/de/about example.com/fr/about example.com/about (English) I decided to put the hreflang link elements in the <head> of each file. Now I ...
2
votes
0answers
34 views

Manual Sitemap or Yoast Sitemap [closed]

I am in real confusion regarding sitemaps. I know what a sitemap is but the question here is: First option: Use a XML Sitemap generator create one Upload it to my public HTML directory in my ...
3
votes
0answers
13 views

Submitting sitemap to Baidu [duplicate]

I've created a Baidu account to submit my sitemap.xml file to Baidu Search Console. I've also verified my phone number & email address. But when I try to submit my sitemap, they want the name as ...
3
votes
1answer
127 views

Should I submit the redirects in XML sitemaps in the old website search console?

I have redirected https://www.example.com to https://example.com. Should I exclude all the redirected pages of the first website in its own search console? For instance should I include https://www....
0
votes
1answer
22 views

Submit pages to indexing by Google but censor the search terms in the page?

I am creating a site with phone numbers of staff, if someone googles the phone number I want them to find this site. However, on the site, before logging in, the number is partially censored (eg. 123-...
1
vote
1answer
56 views

Google does not accept sitemap with error “Main tag: url, tag: link”

In my Google console, I am getting 1 error and can not understand the given error. All sitemap validators say it is correct but Google does not accept this sitemap. I edit it for this error and ...
2
votes
0answers
1k views

URL inspection tool in Google Search Console shows “N/A” for sitemaps and a bizarre referring page

I recently used the "URL Inspection Tool" on the new Google Search Console BETA version. When I check the homepage of my website, it shows "N/A" on the "Index Coverage" card under "Discovery" in the ...
0
votes
1answer
18 views

Is it possible to bulkly remove faulty pages from google search console?

Due to error in my sitemap after a hack event, so many non-existing pages were listed in my site map which google tried to index them. Currently these pages are not present in my sitemap anymore, but ...
1
vote
0answers
67 views

Domain Change and Old Sitemap in Search Console

We recently changed our domain from www.OldDomain.com to www.NewDomain.com. All four properties have been setup in Google Search Console for the new domain, and the sitemap has been added to the ...
0
votes
1answer
158 views

Does the file name of my XML sitemap matter? An SEO tool complains when it is not in the default location [duplicate]

I have added a Yoast sitemap which has the default URL example.com/sitemap_index.xml/ I use rtye to monitor different aspects of SEO which Yoast referred me to. This tells me that a critical error is ...
1
vote
1answer
565 views

Do we NEED separate HTTP and HTTPS sitemaps for corresponding GSC properties?

We are in the midst of migrating from HTTP to HTTPS. According to Google Support, we need to have separate properties in GSC for each protocol. I also read that Google recommends that each property ...
1
vote
1answer
141 views

What's the difference between Google's “submit URL” tool and just having a URL on your submitted xml sitemap?

I've used Google's "submit URL" feature in hopes of getting certain URLs indexed (or updated in the index), but I'm curious if submitting the URLs you want to be indexed via the xml sitemap is ...
3
votes
1answer
84 views

What resolution images should go in my XML sitemap for SEO?

I’m about to set up an image sitemap for SEO. Each of my images is available in several different sizes (for mobile vs. desktop etc.), ranging from 400px to around 4000px wide. Which resolution(s) ...
2
votes
0answers
729 views

Google search console error: “Your Sitemap or Sitemap index file doesn't properly declare the namespace” when using HTTPS namespace URL [duplicate]

We migrated our site from HTTP to HTTPS. Then we verified our property in search console and submit the new sitemap with HTTPS URLs. After submission it has the error "Your Sitemap or Sitemap index ...
1
vote
0answers
149 views

After HTTPS migration can we leave the old sitemap as it is and upload the new sitemap with HTTPS URLs?

We are migrating from HTTP to HTTPS. We left our old sitemap as it is and uploaded the new sitemap with HTTPS pages with new name. I read it at Google’s Search Console Help: Move a site with URL ...
0
votes
3answers
3k views

If I remove URLs from an XML sitemap will Google still index them?

How can I update sitemap file without losing the old URLs? In other words, does the Google search engine keep the old URLs indexed and add the new ones, or does it erase removed URLs?
0
votes
2answers
95 views

Should I submit sitemaps manually or via a plugin when using WorldPress?

Which one of these is a better solution? Submitting sitemaps via a plugin like Yoast or Google Sitemaps OR Manually creating an xml file and submitting that to the webmaster tools?
1
vote
1answer
535 views

Image sitemaps still necessary in light of Google’s recent change to image search?

In light of Google’s recent update to their image search, where now searchers have the ability to “visit” page rather than “view image”, is it still valuable to submit a separate image sitemap? ...
1
vote
1answer
367 views

How to use sitemap.xml on main domain for subdomains? [duplicate]

I have website with subdomains, example: example.com, de.example.com, fr.site.com ... language support. Is it correct to use one Sitemap.xml on main domain example.com? Example sitemap.xml: http://...
1
vote
2answers
179 views

How often do search bots typically visit a website?

A few weeks ago, I completed a website and submitted its Sitemap to Google. To date, I have had no real problems, with most of the URLs now successfully indexed. When a search engine returns for ...
1
vote
1answer
194 views

Do robots.txt and sitemap.xml need to be physical files? [closed]

I have both setup in my routes: Route::get('/robots.txt', function() { // robots.txt contents here }); Route::get('/sitemap.xml', function() { // sitemap.xml contents here }); I can access ...
2
votes
2answers
463 views

Does sitemap file need to have extension .xml

Im using a cms that generates a sitemap automatically but without ".xml". IS this ok? Can we put this is our robots.txt: Sitemap: https://www.mydoamin.com/sitemap or must it be: Sitemap: https://...
2
votes
1answer
692 views

Clean up hacked site by getting Google to crawl and index only the URLs in the sitemap

So recently, our website has been hacked and we're trying to clean everything right now. But, when doing the "site:" search it still shows the cached japanese websites. So we tried playing with ...
3
votes
2answers
489 views

Why is the sitemap validator returning an error for the “lastmod” tag?

The sitemap of my company's brand's website seems to be fine when I look at it at first glance. I don't particularly see any errors as such. However, SEMrush, the SEO tool, reports that our sitemap is ...
1
vote
0answers
410 views

Is it okay to ping Google multiple times in a day when my sitemap is updated?

I have a site where Sitemaps are dynamically generated cos I use an awesome framework. The framework also has a ping google method. I'm thinking of pinging Google every time some-one posts something ...
0
votes
1answer
370 views

Making a sitemap for a site with multiple subdomains

I currently own a site that has 20+ different subdomains. (like foo.google.com and subdomain.google.com) and the XML sitemap generators that i try to use dont go into those sites will i have to do it ...
0
votes
2answers
102 views

How to handle sitemap with large amount of dynamic urls

We are currently building sitemap for our website, and it is clear for me that we need to create a sitemap with ALL urls for each entity we wish to be indexed by google. It seems completely reasonable ...
3
votes
1answer
478 views

How do you get a permanent link for Vimeo hosted videos for use in a video sitemap?

It seems Vimeo uses video file URLs with tempoary (?) tokens like https://fpdl.vimeocdn.com/vimeo-prod-example-std-us/0x/xxxx/x/xxxxxxx/xxxxxx.mp4?token=xxxxxxx-0xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx in ...
1
vote
0answers
149 views

Google reports almost nothing from the sitemap is indexed even though millions of pages are indexed overall

In google webmaster tools, I am seeing a very big discrepancy between Crawl >>> Sitemap >>> indexed and Google Index >>> Index Status although when i search on google for site:mysite.com, it ...
1
vote
1answer
36 views

Indicate removal of content in sitemap

Sometimes we need to remove lots of content from our sites and our current method is to prefix (-) before URL in sitemap to indicate that URL no longer exists. Is this is a correct method? If it's ...