Two different canonical when using SH404SEF and flexibreak plugin or multiple categories

More
8 years 7 months ago - 8 years 7 months ago #60967 by pabro
Hi,

on item pages with flexibreak – except page 1, start – there are set two canonical urls.

With sh404SEF (see second link):
Code:
<link href="http://domain.de/category/item-1820" rel="canonical"> <link href="/category/item-1820/page-3" rel="canonical">
sh404SEF disabled (see second link):
Code:
<link href="http://domain.de/category/item-1820" rel="canonical"> <link href="/category/item-1820?showall=" rel="canonical">
Display method: Active page :: Paginate via Reload

Joomla! 3.5.0
FLEXIcontent 3.0.14-rc2
sh404SEF 4.7.3.3292
Last edit: 8 years 7 months ago by pabro.

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago - 8 years 7 months ago #60983 by pabro
A second canonical is also inserted at item view which point of view actually is not the main category.
For example i have set item-1930 to category-A as main category and category-A/subcat-D as second category, i get
Code:
<link href="http://domain.de/category-A/item-1930" rel="canonical"> <link href="/category-A/subcat-D/item-1930" rel="canonical">
… but only if url of point of view is not /category-A/item-1930 (main category)! On the view of main category there is only one canonical, the correct one. In this case it does not matter if SH404EF is enabled or disabled, its the same effect.
Last edit: 8 years 7 months ago by pabro.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.259 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline