Archived topic
Canonical tag placed on paginated pages
5 replies · Started by abdul on March 28, 2017
hi here are few changes that i was recommended to do please help me with it, how to do them
Page URL: https://www.website.com/page/2/
Existing Canonical Tag: <link rel="canonical" href="https://www.website.com/page/2/" />
Recommended Canonical Tag: <link rel="canonical" href="https://www.website.com/" />
also html error how to fix them.
http://imgur.com/a/4mN3T
The canonical URL is generated by WordPress itself - I wouldn't suggest changing it.
Those HTML errors are coming from content you've added into the website, not the theme itself. You'll want to make the suggested changes to the added HTML.
actually it showing duplicated titles and description which is bad for seo. that why i want to change.
thanks
Where's it showing the duplicate titles and description? Do you mean the meta tags in the <head> section?
If so, you most likely have a couple plugins doing the same thing, as GP leaves those elements to WordPress.
sir i want to change Canonical tag like this in page break
URL :-------.com/love-status/2/
A canonical tag is set for this page
url : --------.com/love-status/
but in generatepress theme my Canonical url show like this
localhost/blog/my-heart-is-always-your/2/
A canonical tag is set for this page
http://localhost/blog/my-heart-is-always-your/2/
please help
These are handled by WordPress - not the theme.
I suggest using Yoast SEO, as they allow you to set a custom link: https://kb.yoast.com/kb/canonical-urls-in-wordpress-seo/