Skip to content

URL pagination issue when highlight is present #19

Description

@ZeGoose95

Hello,

I run mybb v1.8.39 with plugin "Google SEO (Updated for PHP 8) (1.8.6)".

A user have reported an issue. After a search, with the "highlight" param in the query, the pagination links are not OK: there are two '?' in the URL.

Obtained link:
https://website/SEO-URL-OF-SUBJECT?page=2?highlight=SEARCHED_KEYWORD

Should be:
https://website/SEO-URL-OF-SUBJECT?page=2&highlight=SEARCHED_KEYWORD

Real example: https://www.japancar.fr/forum/Sujet-ACTU-HONDA?highlight=honda (then, see the pagination links on the page)

Not sure if the issue come from mybb 1.8.39 or the Google SEO plugin, but I assume should be more on plugin side.
I have the same content for my htaccess file than the one in the repo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions