All in One SEO Pack
Has some Bugs (5 posts)

  1. Vahan4033
    Posted 2 years ago #

    This plugin has bug when outputting next and prev meta tags.
    if for exaple I have
    http://example/news/page/5/?id=55 page

    it displays next and prev links in meta tags with query string in it
    <link rel='next' href='http://example/news/page/6/?id=55' />
    <link rel='prev' href='http://example/news/page/4/?id=55' />
    it is wrong because it can lead to duplicate content issues in seo.

    it should output canonical urls of next and prev pages
    <link rel='next' href='http://example/news/page/6/' />
    <link rel='prev' href='http://example/news/page/4/' />

  2. Steve Mortiboy
    Support Manager at Semper Fi
    Plugin Author

    Posted 2 years ago #

    Hi Vahan4033,

    Can you tell me what your Permalink structure is? It may be difficult to achieve this for all permalink structures but we'll see what we can do. Also, can you provide your website URL.

  3. Vahan4033
    Posted 2 years ago #

    I already fixed issue in my website myself. You can look at Yoast SEO plugin which doesn't have that problem and try to replicate it in your plugin. (I did so)


  4. Vahan4033
    Posted 2 years ago #

    My permalink structure was one of the default ones. "postname"

  5. Vahan4033
    Posted 2 years ago #

    I found another bug. Wy you didn't tested next prev <link> meta tags carefully?

    For example I have blog page with pagination 1, 2, 3.....so on

    on the second page http://example.com/category/news/page/2/ I got previous main (the first) page prev link in the form of
    <link rel='prev' href='http://example.com/category/news/page/1/' />
    instead of just displaying canonical url (without trailing /page/1/ part)
    <link rel='prev' href='http://example.com/category/news/' />

    yes wordpress does 301 to canonical
    http://example.com/category/news/page/1/ -> http://example.com/category/news/

    but it is a bug. Your plugin should display canonical url.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All in One SEO Pack
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.