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
-
Best Practice Approaches to Canonicals vs. Indexing in Google Sitemap vs. No Follow Tags
Hi There, I am working on the following website: https://wave.com.au/ I have become aware that there are different pages that are competing for the same keywords. For example, I just started to update a core, category page - Anaesthetics (https://wave.com.au/job-specialties/anaesthetics/) to focus mainly around the keywords ‘Anaesthetist Jobs’. But I have recognized that there are ongoing landing pages that contain pretty similar content: https://wave.com.au/anaesthetists/ https://wave.com.au/asa/ We want to direct organic traffic to our core pages e.g. (https://wave.com.au/job-specialties/anaesthetics/). This then leads me to have to deal with the duplicate pages with either a canonical link (content manageable) or maybe alternatively adding a no-follow tag or updating the robots.txt. Our resident developer also suggested that it might be good to use Google Index in the sitemap to tell Google that these are of less value? What is the best approach? Should I add a canonical link to the landing pages pointing it to the category page? Or alternatively, should I use the Google Index? Or even another approach? Any advice would be greatly appreciated. Thanks!
Intermediate & Advanced SEO | | Wavelength_International0 -
Best server-side xml sitemap generator?
I have tried xml-sitemaps which tends to crash when spidering my site(s) and requires multiple manual resumes which aren't practical for our businesses. Please let me know if any other server-side generators that could be used on multiple enterprise-sized websites exist that could be a good fit. Image sitemaps would also be helpfu.l +++One with multiple starting URLs would help spidering/indexing the most important sections of our sites. Also, has anyone heard of or used Dyno Mapper? This also looks like a good solution for us, but was wondering if anyone has had any experience with this product.
Intermediate & Advanced SEO | | recbrands0 -
My wordpress site generating bad links
Hello Everyone, I have wordpress site Which is from last 20 days generating links like For Example http://www.domainname.com/game/965/wiki/キャラクター図鑑_レアリティ(★★★)_【ID:675】ワッツ・ステップニー htttp://www.domainname.com/nkpghfu_13356_gvgjq_tfjhnkt_jsj_296_82566_673_567_245 This is screenshot of webmaster tools http://prnt.sc/ccwh0e can please any expert check & Tell How this Link i am getting, Also What are steps i need take for removing this Errors, As it is harming my sites Flow As well As Rankings. Thanx in Advance
Intermediate & Advanced SEO | | innovativekrishna10 -
Just found a wordpress blog duplicating main website blog - what to do?
Hello Mozzers, I am working on a website and found the social media agency, employed by the website owner, was running a parallel wordpress blog which duplicates the content on the main website's blog (200 odd pages of this duplicating wordpress blog are indexed - the duplication is exact other than for non-blog content pages - around 60 category, date pages, homepage, etc. I am planning to 301 redirect the wordpress blog pages to equivalent pages on website blog, and then 301 redirect the homepage, category and date pages, etc. to the website blog homepage, so all the blog pages redirect to somewhere on main website. _Does this make sense, or should I only worry about redirecting the blog content pages? _ Also, the main website is new and there are redirects coming in to pages from old website already. _Is there anything to be cautious about when redirecting to a main website from multiple old websites? _ Thanks in advance, Luke
Intermediate & Advanced SEO | | McTaggart0 -
Can we mix up Wordpress and Html?
I have wordpress website. Now I am planning to add html service landing page into it. (by uploading html page on the root folder). After uploading it may look like below URL. My question is can I Html in wordpress website? Google like it or not? http://www.purpleflareagency.com/las-vegas-printing.html
Intermediate & Advanced SEO | | AlexanderWhite0 -
Wordpress blog in a subdirectory not being indexed by Google
HI MozzersIn my websites sitemap.xml, pages are listed, such as /blog/ and /blog/textile-fact-or-fiction-egyptian-cotton-explained/These pages are visible when you visit them in a browser and when you use the Google Webmaster tool - Fetch as Google to view them (see attachment), however they aren't being indexed in Google, not even the root directory for the blog (/blog/) is being indexed, and when we query:site: www.hilden.co.uk/blog/ It returns 0 results in Google.Also note that:The Wordpress installation is located at /blog/ which is a subdirectory of the main root directory which is managed by Magento. I'm wondering if this causing the problem.Any help on this would be greatly appreciated!AnthonyToTOHuj.png?1
Intermediate & Advanced SEO | | Tone_Agency0 -
How Do I Generate a Sitemap for a Large Wordpress Site?
Hello Everyone! I am working with a Wordpress site that is in Google news (i.e. everyday we have about 30 new URLs to add to our sitemap) The site has years of articles, resulting in about 200,000 pages on the site. Our strategy so far has been use a sitemap plugin that only generates the last few months of posts, however we want to improve our SEO and submit all the URLs in our site to search engines. The issue is the plugins we've looked at generate the sitemap on-the-fly. i.e. when you request the sitemap, the plugin then dynamically generates the sitemap. Our site is so large that even a single request for our sitemap.xml ties up tons of server resources and takes an extremely long time to generate the sitemap (if the page doesn't time out in the process). Does anyone have a solution? Thanks, Aaron
Intermediate & Advanced SEO | | alloydigital0 -
One page wordpress site - what are the steps for SEO
Hello, I am launching 5 sites with keyword exact domains. I am developing the sites on wordpress as one page sales funnel sites. What do I need to do to optimize my sites? Really appreciate any bullet points or directions. Tks
Intermediate & Advanced SEO | | brianmaher0