Has anyone a strange behaviour for canonical tags when using smart lists?
Eg:
Main post URL . exemple.com/post-name/ . as canonical URL exemple.com/post-name . shortlink ?316
2nd part of post URL . exemple.com/post-name/2/ . as canonical URL exemple.com/post-name/2/ . shortlink ?316
3nd part of post URL . exemple.com/post-name/3/ . as canonical URL exemple.com/post-name/3/ . shortlink ?316
etc….
Content in HTML is the same for all URLs,
Shouldn’t the sub pages canonical URLs point to the main post page? How can I achieve this? If Google was to honor the canonical tag which it tends to do, this can be an issue, even if the shorlink is the same.
You can see how the smart lists work in the live demo, for example
– https://demo.tagdiv.com/newspaper/smart-list-style-1/
While navigating trough the smart list sections an extra parameter will be added to the URL as you mention, but you will remain in the same page. I couldn’t say if this is a negative aspect of the smart list, you could use smart list style that do not use navigation if you are worried
– https://demo.tagdiv.com/newspaper/smart-list-style-2/
Hi again Simon,
I do see how the smart lists work, and I need to say that in some cases once you tasted them you do not want to stop using them. In my case, I’m using it on my only post 🙂 what a great writer 😀
I’m an SEO and such a situation is kind of problematic when it comes to indexing a post properly. I’m not sure the use of the wordpress shortlink wtually has any impact here.
I’m no coder, do you know if it would be possible to modify the samrt list php file in order to make the subpages canonical tags (/2/, /3/, …) point to the main post URL instead?
That would definitively be a great addition to anyone making use of the smart lists.
The post I’m talking about is here www. how-to .io / on-page-seo/
Above 3K words, not using the smart lists would greatly reduce the user experience.
Hi I think I’m on the right way but I’m not sure, while trying to modify the canonicals that are generated on the smart lists it seems that the code is generated in the
wp-content/themes/Newspaper/includes/wp_booster/td_wp_booster_functions.php around line 519
But I’m stuck here….
Hello howto,
Please notice that our smart lists have a fairly complex code and everything you want to change from there you should edit the smart lists files. So, if you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!
Thanks for the message!
Hi Catalin,
That’s what I’m noticing 🙂 I’m still trying to find the answer by myself because I like challenge and this is a one post website I’m talking about at the moment, but I planning to buy 2 more licences for other websites, and I might have to find someone to make some custom tweaks, if you have a name I’ll gladly take a note of it in case I should need it.
Just to let others know,
Installing Yoast and setting up a custom canonical tag for the posts fixes this issue. I really did not want to install any 3rd party plugin for that but as it fixes the canonical issue on itemlist generated URLs I guess it will do the trick until I find a capable developper.
Regards