What should my main sitemap URL be?
-
Hi Mozzers - regarding the URL of a website's main website:
http://example.com/sitemap.xml is the normal way of doing it but would it matter if I varied this to:
http://example.com/mainsitemapxml.xml or similar?
I can't imagine it would matter but I have never moved away from the former before - and one of my clients doesn't want to format the URL in that way.
What the client is doing is actually quite interesting - they have the main sitemap: http://example.com/sitemap.xml - that redirects to the sitemap file which is http://example.com/sitemap (with no xml extension) - might that redirect and missing xml extension the redirected to sitemap cause an issue? Never come across such a setup before.
Thanks in advance for your feedback - Luke
-
Yes there is no problem with that, in fact redirect to a list of sitemaps, you can make the test
-
Thanks for your help Ramon!
-
Thanks Roman - that is helpful - with Yoast - do they redirect from one sitemap to another sitemap? Is that acceptable to Google (the redirect from one sitemap URL to another sitemap URL?).
-
Is not so weird, Yoast SEO generate multiples sitemaps based on pages, categories or even images and use the same structure, redirect from sitemap.xml to another url
Talking about the format
The Sitemap protocol enables you to provide details about your pages to search engines However, in addition to the XML protocol, there's anothers format supported such as RSS feeds and text files, which provide more limited information.So there are many option to create a sitemap but the most common and accepted is XML
Source > Sitemap.org
-
hi Luke Rowlands,
You can use another name (although i can´t come up with a reason why a client wouldn´t want that format in the url). You should however than
Link to it in your robots.txt or submit the sitemap directly to the search engines
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
URL indexed but not submitted in sitemap, however the URL is in the sitemap
Dear Community, I have the following problem and would be super helpful if you guys would be able to help. Cheers Symptoms : On the search console, Google says that some of our old URLs are indexed but not submitted in sitemap However, those URLs are in the sitemap Also the sitemap as been successfully submitted. No error message Potential explanation : We have an automatic cache clearing process within the company once a day. In the sitemap, we use this as last modification date. Let's imagine url www.example.com/hello was modified last time in 2017. But because the cache is cleared daily, in the sitemap we will have last modified : yesterday, even if the content of the page did not changed since 2017. We have a Z after sitemap time, can it be that the bot does not understands the time format ? We have in the sitemap only http URL. And our HTTPS URLs are not in the sitemap What do you think?
Intermediate & Advanced SEO | | ZozoMe0 -
Changing sitemaps in console
Hi there, Does anyone have any experience submitting a completely new sitemap structure - including URLs - to google console? We've changed our sitemap plug in, so rather than /sitemap-index.xml, our main sitemap home is /sitemap.xml (as an example). Is it better to 410 the old ones or 301 redirect them to the new sitemaps? If 301, what do we do about sitemaps that don't completely correlate - what was divided into item1.xml, item2.xml is now by date so items-from-2015.xml, items-from-2016.xml and so on. On a related note, am I right in thinking that there's no longer a "delete/ remove sitemap" option on console? In which case, what happens to the old ones which will now 404? Thanks anyone for any insight you may have 🙂
Intermediate & Advanced SEO | | Fubra0 -
May integrating my main category page in the index page improve my ranking of main category keyword?
90% of our sales are made with products in one of our product categories.
Intermediate & Advanced SEO | | lcourse
A search for main category keyword returns our root domain index page in google, not the category page.
I was wondering whether integrating the complete main category directly in the index page of the root domain and this way including much more relevant content for this main category keyword may have a positive impact on our google ranking for the main category keyword. Any thoughts?1 -
E-commerce duplicate URLS
Hi I just realized that my e-commerce products do not have any difference except the SKUS, PRICE and THE PRODUCT name. Apart from each page has the same sidebar and a piece of content ( same ) under each product pages. And this is the reason why i am getting too many duplicate urls warning through Moz analytics. I do not have any other contents to add for each product because of the nature of the product. Only the price, product name and the SKUs will be different and rest will all be same for each products. How can i fix this ? Thanks
Intermediate & Advanced SEO | | MindlessWizard0 -
URL Structure
URL i have to use targeted keyword on all sub page domain or not for example now i am using url like this format fundingtype.html litigation-funding.html legal-funding.html financingservices.html process.html and if i re-write all url with targated keyword like this format lawsuit-loans-fundingtype.html lawsuit-loans-litigation-funding.html lawsuit-loans-legal-funding.html lawsuit-loans-financingservices.html lawsuit-loans-process.html so which type URL are more effective for best SEO ??
Intermediate & Advanced SEO | | JulieWhite0 -
Canonical url question
i just search seomoz tooll it say duplicate content for www.mysite.com and www.mysite.com/index.php should i use canonical url for this ? is yes then is this right ?
Intermediate & Advanced SEO | | constructionhelpline0 -
Main Keyword penalized. And now?
Hello SEO comunity. In one of the sites that I work, our team won numerous keywords in the first searching results. Unfortunately, on june we lost the most important site keyword. It was a general Word, very disputed, that generated a lot of traffic to us. The problem: it droped from third to fifty position. I’d like your help to identify the possible punishments and than find the solutions. What could happened? Where do we start? Is there any checklist to verify the punishments? What do you suggest to me? PS: We always do a clean job, getting away form the blackhat techniques; We didn’t received any notification from Google; During two year, the keyword was in the first ten positions. Actually, I'm looking for an explanation for what happened to me, to get my top10 again. Thanks
Intermediate & Advanced SEO | | webg0 -
Strategies in Renaming URLs
We're renaming all of our Product URLs (because we're changing eCommerce Platforms), and I'm trying to determine the best strategy to take. Currently, they are all based on product SKUs. For example, Bacon Dental Floss is: http://www.stupid.com/fun/BFLS.html Right now, I'm thinking of just using the Product name. For example, Bacon Dental Floss would become: http://www.stupid.com/fun/bacon-dental-floss.html Is this strategy the best for SEO? Any better ideas? Thanks!
Intermediate & Advanced SEO | | JustinStupid0