Sitemap or Sitemaps for Magento and Wordpress?
-
I'm trying to figure out what to do with our sitemap situation.
We have a magento install for our shopping cart
sdhydroponics.com
and a wordpress install on
sdhydroponics.com/resourcesIn Magento we get the XML sitemap manually by going to Catalog => Google Sitemap => Add Sitemap
In wordpress we use Google XML sitemaps plugin.
My questions are:
- Do I need both of these sitemaps? Or can I use one or the other?
- If I use both, do I make one sitemap1.xml and the other sitemap2.xml and drop them in the root?
- How do I make sure google knows I have 2 sitemaps?
- Anything else I should know?
Thank You
-
Marcin's answer is correct. A couple items to add-on:
-
you can indicate the location of your sitemaps in your robots.txt file
-
if you do update your sitemaps in Google, I suggest taking the same action for Bing. While Google does control about 70% of the search market, keep in mind Bing + Yahoo is the other 30% and the traffic is significant.
-
there are ways to provide a single sitemap but your choice would either be having an external tool crawl your site (not recommended) or having a coder either merge the sitemaps or provide an internal solution.
-
-
@Marcin - Thank you, I have 1 followup question. After I add both sitemaps to webmaster tools, I have the line
'Sitemap: http://sdhydroponics.com/sitemap.xml'
in my robots.txt file. Should I also add a second line
'Sitemap: http://sdhydroponics.com/resources/wordpress_sitemap.xml'
or leave it alone? -
If want to have a sitemap, you actually need two of them in your case, as both will include different links from different parts of your website (Magento-based and Wordpress-based).
You don't need both sitemaps in the root. Your wordpress sitemap can be in the "resources" directory , as the only restriction is that sitemaps cannot refer URLs higher in the directory tree. As all your wordpress URLs have "resources" as their base, there is no problem here.
To notify Google of your sitemaps, add your site to Google Webmaster Tools (http://google.com/webmasters) and go to Site configuration / Sitemaps. From there, you will be able to both test your sitemap, add it, and later, when already added, you will see its indexing rate.
You will also gain a lot of valuable insight by adding your site to Google Webmaster Tools, so you should do it anyway.
If you have more questions, I will be glad to help you further.
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 -
Should I include URLs that are 301'd or only include 200 status URLs in my sitemap.xml?
I'm not sure if I should be including old URLs (content) that are being redirected (301) to new URLs (content) in my sitemap.xml. Does anyone know if it is best to include or leave out 301ed URLs in a xml sitemap?
Intermediate & Advanced SEO | | Jonathan.Smith0 -
Invest in a Image Sitemap - Yes or No?
Hey Mozers, 2 part question I'm reaching out to see if you all think Image Sitemaps are totally worth it for a big company. I can totally understand its value for a smaller mom & pop company. With a larger company they would have way more products so is it worth it having an image site map? I cant find examples of image sitemaps online. Would you be able to provide a website that is doing it? I can only find video sitemaps.
Intermediate & Advanced SEO | | rpaiva0 -
Domain Mapping, WordPress MultiSite
Hello, With WordPress MultiSite, does Domain Mapping negatively impact search rankings? I am wondering if the search engines can tell if the Domain is part of a MultiSite Network. Or does it just see the site as a regular website? I understand the issue of IP Address and C Blocks but I'm wondering if the search engines will treat a Mapped Domain Name as it would any other website that is on a shared hosting account. Thanks
Intermediate & Advanced SEO | | bronxpad0 -
Updated Wordpress version and installed SEO plugin, ranking went down
Last week, we updated our Wordpress version to the most recent version, and installed the SEO plugin. Our rankings immediately went down from #9 to #19. Is this normal? Will our rankings improve once the search engines crawl our site in the next couple weeks? Any feedback is helpful!
Intermediate & Advanced SEO | | safiaabbasi0 -
Magento Duplicate Content Recovery
Hi, we switched platforms to Magento last year. Since then our SERPS rankings have declined considerably (no sudden drop on any Panda/Penguin date lines). After investigating, it appeared we neglected to No index, follow all our filter pages and our total indexed pages rose sevenfold in a matter of weeks. We have since fixed the no index issue and the pages indexed are now below what we had pre switch to Magento. We've seen some positive results in the last week. Any ideas when/if our rankings will return? Thanks!
Intermediate & Advanced SEO | | Jonnygeeuk0 -
How can I get an XML sitemap in the order that I want?
I use Screaming Frog and Xenu on a daily basis and I use them for sitemap creation, but the functionality is limited. With huge sites, it's really easy to create an ordered list of URLs for the sitemap in excel or word and upload that to Screaming Frog to crawl. The only problem is that it won't export the sitemap in the order that I uploaded it. Does anybody know of a tool that will do this or am I doomed to sit an manually arrange the URLs the way I want?
Intermediate & Advanced SEO | | MichaelWeisbaum0 -
Magento: URLs for Products in Multiple Categories
I am working in Magento to build out a large e-commerce site with several thousand products. It's a great platform, but I have run into the issue of what it does to URLs when you put a product into multiple categories. Basically, "a book" in two categories would make two URLs for one product: 1) /books/a-book 2) author-name/a-book So, I need to come up with a solution for this. It seems I have two options: Found this from a Magento SEO article: 'Magento gives you the ability to add the name of categories to path for product URL's. Because Magento doesn't support this functionality very well - it creates duplicate content issues - it is a very good idea to disable this. To do this, go to System => Configuration => Catalog => Search Engine Optimization and set "Use categories path for product URL's to "no".' This would solve the issues and be a quick fix, but I think it's a double edged sword, because then we lose the SEO value of our well named categories being in the URL. Use Canonical tags. To be fair, I'm not even sure this is possible. Even though it is creating different URLs and, thus, poses a risk of "duplicate content" being crawled, there really is only one page on the admin side. So, I can't go to all of the "duplicate" pages and put a canonical tag, because those duplicate pages don't really exist on the back-end. Does that make sense? After typing this out, it seems like the best thing to do probably will be to just turn off categories in the URL from the admin side. However, I'd still love any input from the community on this. Thanks!
Intermediate & Advanced SEO | | Marketing.SCG0