-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.1.X, 7.2.X, Master
-
Fix Version/s: 7.1.10 DXP FP18, 7.1.10.5 SP5, 7.1.X, 7.2.10 DXP FP5, 7.2.10.2 DXP SP2, 7.2.X, 7.3.10 DXP GA1, Master
-
Component/s: Sites Management
-
Branch Version/s:7.2.x, 7.1.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
- Create a site
- Set up local Staging
- Add virtual hosts in the site configuration menu for the Public Pages "live.test.com" and the Staging Public Pages "dev.test.com"
- Add both of them to your Hosts file
- Add a new Public page
- Select the configuration of the Public Pages. Your robots.txt should have the following:
User-Agent: * Disallow: Sitemap: [http://dev.test.com:8080/sitemap.xml]
- Replace Disallow: to Disallow:/testing in the textarea of robots.txt
- Publish the page to live
Expected behavior: Possibility to configure the output of the robots.txt sitemap host
Actual behavior: The live site's Robots.txt will be overwritten by the staging version