3

I have two domains running on the same server with the same IP (same content).

For example: the sitemap of example1.com represents one website and method1.com, method2.com represent many pages will come. So can I use only one sitemap for both or make different sitemaps?

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
    <url>
        <loc>http://xyz.com/</loc>
        <changefreq>monthly</changefreq>
        <priority>1.00</priority>
    </url>
    <url>
        <loc>http://abc.com</loc>
        <changefreq>monthly</changefreq>
        <priority>0.80</priority>
    </url>

If I'm working on the second URL it's affecting the homepage also.

Whether I need to create 2nd URL for sitemap or homepage url?

2
  • Why do you want to create a sitemap? If Google are indexing the two websites then a sitemap isn't needed.
    – zigojacko
    Feb 10, 2014 at 10:40
  • 2
    @GeoffJackson-zigojacko: A submitted sitemap can help with reporting. You can easily see how many URLs from the sitemap have been indexed, and consequently if you submit multiple sitemaps for different parts of the site, you can easily see if these sections have been indexed.
    – MrWhite
    Feb 10, 2014 at 14:16

2 Answers 2

3

If you have two verified sites (verified in Webmaster Tools) means you can have a single sitemap.

If you have multiple websites, you can simplify the process of creating and submitting Sitemaps by creating one or more Sitemaps that includes URLs for all your verified sites, and saving the Sitemap(s) to a single location. All sites must be verified in Webmaster Tools. You can choose to use:

Source: Simplify multiple sitemap management

1
  • 3
    Note that the ability to have a single sitemap for multiple domains is Google-only AFAIK. This is not part of the Sitemap protocol.
    – MrWhite
    Feb 10, 2014 at 14:26
2

You will need to make different sitemaps as you cannot have URLs from different domains within.

5
  • Do you have any reference for this? Feb 10, 2014 at 11:27
  • ok but home page url is in frameset and redirecting to another url has many pages and homepage has 1 url
    – user35767
    Feb 10, 2014 at 11:43
  • <url> <loc>example1.com</loc> <changefreq>weekly</changefreq> <priority>0.7</priority> </url> <url> <loc>method1.com</loc> <changefreq>weekly</changefreq> <priority>0.7</priority> </url> <url> <loc>method2.com</loc> <changefreq>weekly</changefreq> <priority>0.7</priority> </url>
    – user35767
    Feb 10, 2014 at 11:50
  • example.com is home page method1.com is another
    – user35767
    Feb 10, 2014 at 11:51
  • 3
    Sitemap protocol : sitemaps.org/protocol.html
    – user29671
    Feb 10, 2014 at 12:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.