Mobile app version of vmapp.org
Login or Join
Shanna517

: Multiple Websites with Multiple Sitemaps under single IIS Endpoint We have multiple websites with different domains under single IIS endpoint. Each website has its own sitemap - sitemap1.xml and

@Shanna517

Posted in: #Iis #Seo #Sitemap #UrlRewriting

We have multiple websites with different domains under single IIS endpoint. Each website has its own sitemap - sitemap1.xml and sitemap2.xml.

Can we implement rewrite rules so that example1.com/sitemap.xml will rewrite to example1.com/sitemap.xml and example2.com/sitemap2.xml?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shanna517

1 Comments

Sorted by latest first Latest Oldest Best

 

@Karen161

You could have it like this and just inform webmaster tools about the different affiliation.


/sitemap1.xml
/sitemap2.xml


Another option is to use a rewriting mechanism to rewrite calls to the corresponding sitemap file. Using .htaccess or IIS-rewrite.


domain1.com/sitemap.xml rewrites to /sitemap1.xml
domain2.com/sitemap.xml rewrites to /sitemap2.xml


IIS.net URL Rewrite
IIS rewrite Information

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme