Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.1.X, Master
-
7.2.x, 7.1.x
-
Committed
-
2
-
Regression Bug
Description
DESCRIPTION
In the head section of the HTML for a site that has alternate Locales with underscore pattern, URL is generated that is a redirect instead of an actual direct link
STEPS TO REPRODUCE
1. On 7.1 w/ fix pack 11, set up portal-ext w/ locales.enabled=zh_CN,en_US,en_AU,fr_FR,de_DE,it_IT,ja_JP,pt_BR,es_ES
2. Start portal
3. View browser tools to inspect the page
4. Check the <head> section
ACTUAL RESULTS
This leads to hreflang tags being generated in the <head> of the html document e.g. like this:
<link data-senna-track="temporary" href="http://localhost:8080/en_AU/" hreflang="en-AU" rel="alternate">
EXPECTED RESULTS
hreflang URL is a direct link. Ex. href for hreflang=en-AU needs to be http://localhost:8080/en-AU
BRANCH
Reproduced
cea3624e215d4231adf6e81438cfdf5d7b533f17
MASTER
Reproduced
9edfcf63cb379c6e9067e723bc06727feed3b44d
Attachments
Issue Links
- is caused by
-
LPS-78738 Replace the use of "_" with "-" in the locale of the URLs (SEO improvement)
- Closed