You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Canonical and None URL mappings don't work correctly on localized sites. This is pretty much what #3017 is about, but steps to reproduce are more precise.
Steps to reproduce
Set up a new IIS web site for DNN 9.4.3. Name it platform-9-4-3.dnndev.me.
Install DNN 9.4.3 with default settings (as in /install.aspx).
Add non primary alias www-platform-9-4-3.dnndev.me (and corresponding IIS binding)
Ensure URL Mapping is set to Canonical
Add French as a second language
Enable content localization, create localized pages, mark all as translated, activate French pages, publish all French pages.
Create additional non-primary aliases:
7.a) www-platform-9-4-3.dnndev.me/en-us for English
7.b) www-platform-9-4-3.dnndev.me/fr-fr for French
Navigate to www-platform-9-4-3.dnndev.me/fr-fr/
Current behavior
DNN redirects to platform-9-4-3.dnndev.me/fr-fr (the primary alias)
Expected behavior
Given URL mapping is set to canonical, no redirection should be performed.
Additional context
Some pitfalls with Chrome:
Chrome hides "www." prefix from the URL, which can be very confusing. That's why I used "www-" (with a dash) to avoid this.
Keep the Dev Tools panel open at all times with the cache disabled. This will get rid of confusing caching issues.
Affected version
10.0.0 alpha build
9.5.0 alpha build
9.4.x latest supported release
9.3.x latest supported release
(not sure about older versions)
Affected browser
N/A
The text was updated successfully, but these errors were encountered:
Hi @valadas, yes, same issue. Since there is no discussion yet on #3017, I thought maybe it would be cleaner to start from scratch, but I'll leave it up to you. I'm about to submit a PR about this.
Description of bug
Canonical and None URL mappings don't work correctly on localized sites. This is pretty much what #3017 is about, but steps to reproduce are more precise.
Steps to reproduce
platform-9-4-3.dnndev.me
./install.aspx
).www-platform-9-4-3.dnndev.me
(and corresponding IIS binding)Canonical
7.a)
www-platform-9-4-3.dnndev.me/en-us
for English7.b)
www-platform-9-4-3.dnndev.me/fr-fr
for Frenchwww-platform-9-4-3.dnndev.me/fr-fr/
Current behavior
DNN redirects to
platform-9-4-3.dnndev.me/fr-fr
(the primary alias)Expected behavior
Given URL mapping is set to canonical, no redirection should be performed.
Additional context
Some pitfalls with Chrome:
Affected version
(not sure about older versions)
Affected browser
N/A
The text was updated successfully, but these errors were encountered: