wanze / SeoMaestro

🧙‍♂️A ProcessWire module helping you to manage SEO related tasks like a boss.
MIT License
34 stars 9 forks source link

Canonical url default #29

Open mminglis opened 3 years ago

mminglis commented 3 years ago

Hey there Wanze.

I am wondering if the the default canonical url should be set by https://processwire.com/api/ref/wire-input/canonical-url/

I have had issues with this module and paginated pages. Specifically pages linked to from eg /posts/page2 aren't being indexed because /posts/page2 is canonicalised to posts/ by default.

This is a clear and up to guide to best practices around pagination: https://ahrefs.com/blog/rel-prev-next-pagination/

Basically if paginated pages have different content and you don't have a view all page then they should be canonicalised to themselves.