Halfagain IM Forums
May 24, 2012, 09:14 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Due to increasing spam we are forced to make this forum "Read Only". If you have an issue, most likely was discussed here. Use the Search function and try to find related discussions. If you can't find any helpful information, just email support at halfagain dot com"
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Can Sitemaps be combined?  (Read 373 times)
0 Members and 1 Guest are viewing this topic.
College Pro
Newbie
*

Karma: 10
Offline Offline

Posts: 4


« on: May 17, 2008, 21:50 »

The new sitemap feature works great when used on a root domain

What if the store is located in a subfolder off the root and there is an existing sitemap for the root domain which does not recognize the store subfolder for its sitemap generation.

Can a second subfolder sitemap be created and submitted to google and or can a sitemap be generated for the subdomain and then combined with the root sitemap?

College Pro
Logged
dutchy
Newbie
*

Karma: 100
Offline Offline

Posts: 41


« Reply #1 on: May 17, 2008, 22:09 »

Yes you can combine as many sitemaps as you want:
You need to create a sitemap for each directory, and then in the root of the domain you need to place a sitemapindex file. So this one is telling the spiders where to find all your sitemaps. (don't forget to include a sitemap for the rootfolder!) You should also put the location of your sitemapindex file (or just the sitemap if you only use one) on top of your robots.txt file. This should look like this:
Quote
Sitemap:

The should be the complete URL to the Sitemap, such as: http://www.example.com/sitemap.xml

More info on sitemaps:
http://www.sitemaps.org/protocol.php#index

Here you can also find the format to use for a sitemap index file


You only need one sitemap for google, msn and yahoo. There is no more need to create separate ones.

Hope this helps you out
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!