: 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
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?
More posts by @Shanna517
1 Comments
Sorted by latest first Latest Oldest Best
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
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.