• Resolved Michael

    (@camelotcamel)


    Hi Ahmed,
    found something that looks like a bug.

    The previous and next links at the bottom of a page do not end in “?amp” but only “amp”,
    giving a 404 error. For example:
    Hi-FlyFoto 3rd page

    On the second page, the link to the start page ends in “/amp” and leads to 404:
    Hi-FlyFoto 2nd page

    On the start page these links have no “amp” at all and lead to the regular page, e.g.
    Hi-FlyFoto Startpage

    Also, something slightly different but maybe related, in blog posts “/amp” and “?amp” works in the URL of the post, on pages only “?amp”, e.g
    Hi-FlyFoto Blog page

    Thank you for looking at this

    Michael

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Michael

    (@camelotcamel)

    PS I have implemented a redirect from /amp to ?amp using the regular expression
    from \/amp to (.*)\?amp because Google Search Console does not like /amp
    This works ok, but not for the start page. There it goes 404

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hey @camelotcamel

    Can you please update the plugin, I think that should fix the issue of the next/previous issue.

    Regards,
    Ahmed

    Thread Starter Michael

    (@camelotcamel)

    Hi Ahmed,
    no, does not solve it I am afraid.
    I have disabled Post Pagination, that is ok for me,
    though it is not a real solution, of course.

    Regards
    Michael

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hey Michael @camelotcamel

    That’s strange, because it should work fine. Can you please enable it and share the url where you see the problem?

    Thread Starter Michael

    (@camelotcamel)

    Hi Ahmed
    Ok, post pagination is on.
    Please have a look at the links of my first post.
    I’d like to disable the pagination again tomorrow

    Thanks for your help

    Michael

    Thread Starter Michael

    (@camelotcamel)

    Hi

    this error still persists. I had disabled pagination and it therefore did not throw any 404s.
    With the new version however, this apparently can’t be disabled anymore.
    this leads to Google Search Console complaining again, e.g.
    https://hi-flyfoto.de/luftbilder-drohne-veranstaltungen-feste/amp
    So it would be nice, if the option to disable the pagination could return.

    thanks
    Michael

    Thread Starter Michael

    (@camelotcamel)

    Hi
    The latest update solved it. The links now work, thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error in previous/next post URL link’ is closed to new replies.