Hi All,
I am using SharePoint 2013 Host-Named site collection to host public internet site. "Search Engine Sitemap" feature gets added port 80 to every URL in robots.txt and sitemap.xml files. How to remove port from Robots.txt and Sitemap.xml files?
Files look like:
User-agent: *
Disallow: /_layouts/
Disallow: /_vti_bin/
Disallow: /_catalogs/
Sitemap: http://www.mysite.com:80/sitemap.xml
<?xml version="1.0" encoding="UTF-8" standalone="true"?>
<!--Generated: 2015-05-27T09:44:06-->
-<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
-<sitemap>
<loc>http://www.mysite.com:80/sitemap0.xml</loc>
</sitemap>
-<sitemap>
<loc>http://www.mysite.com:80/sitemap_mobile0.xml</loc>
</sitemap>
</sitemapindex>
Oleg