Support » Plugin: All in One SEO Pack » Has some Bugs

  • 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/’ />

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Steve Mortiboy

    (@wpsmort)

    Support Manager at Semper Fi

    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.

    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)

    Cheers!

    My permalink structure was one of the default ones. “postname”

    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
    http://example.com/category/news/

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Has some Bugs’ is closed to new replies.