-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, 7.1.X, 7.2.X, Master
-
Fix Version/s: 7.0.0 DXP FP89, 7.0.10.13 DXP SP13, 7.0.X, 7.1.10 DXP FP16, 7.1.X, 7.2.10 DXP FP4, 7.2.X, 7.2.1 CE GA2, 7.3.10 DXP GA1, Master
-
Component/s: Portal Services > Localization
-
Branch Version/s:7.2.x, 7.1.x, 7.0.x
-
Backported to Branch:Committed
-
Fix Priority:2
-
Git Pull Request:
Steps to reproduce:
- Start a latest master bundle
- Create a site
- Create two pages, called Home and Test Page
- Go to the site's configuration, set a virtual host for public pages e.g. www.test.com
- Access the Test Page with the virtual host URL (www.test.com:8080/test-page)
- Search for the block that contains "hreflang="en-US", verify that "/en" is not appended to the alternate URL of "en-US".
Result:<link data-senna-track="temporary" href="http://www.test.com:8080/test-page" hreflang="en-US" rel="alternate" />
- Access Home page with the virtual host URL (www.test.com:8080)
- Search for the block that contains "hreflang="en-US"
Result:<link data-senna-track="temporary" href="http://www.test.com:8080/en" hreflang="en-US" rel="alternate" />
Actual behavior: "/en" is appended at the home page
Expected behavior: "/en" is not appended at the home page
7.0x @ commit (95fbd247632916f4fc0943e6481ce5feebdf70e8) reproduced
master @ commit (ff3286fd16693d3660fe117d8001def232fe3c90) reproduced