-
Type:
Bug
-
Status: Closed
-
Resolution: Duplicate
-
Affects Version/s: 7.2.10 DXP FP3, 7.2.X, Master
-
Fix Version/s: None
-
Component/s: Content Display Widgets > Asset Publisher widget
-
Labels:
-
Fix Priority:3
For SEO, having clear and simple URLs that communicate correctly how the site is built, linked internally, etc is very important.
Currently, the urls generated by the asset publisher to view an individual content look like this for versioned assets:
<link data-senna-track="temporary" href="http://localhost:8080/-/my-content/1.7" rel="canonical" />
If a content creator modifies the content, the next time a user visits the content, the url returned would be:
<link data-senna-track="temporary" href="http://localhost:8080/-/my-content/1.8" rel="canonical" />
For Google and other search engines, these two URLs, though being for the same content, will be indexed as two different pages, so all the ranking gained by the 1.7 version will be lost for the 1.8.
Steps to reproduce:
1.- Create another page (page1), add an asset publisher and configure it with "Asset link behavior" set to "view in context".
2.- Create a page (page2), add an asset publisher and configure it with "Set as the Default Asset Publisher for This Page" to true.
3- Create a web content and set as display page template "page2".
4.- Now, go to page1 and click on the web content title and check the url in the browser tab and in the source code for the "canonical" meta tag.
Current behavior:
URL: "http://localhost:8080/-/my-content/1.8"
Expected behavior:
URL: "http://localhost:8080/-/my-content"
- duplicates
-
LPS-106832 Versioning appears in webcontent friendly url.
- Closed
- is caused by
-
LPS-90925 Wrong web content preview shown from workflow task using "View in Context" link
- Closed