Skip to content

Wrong path for AMP pages #183

Open
@MatzeKitt

Description

@MatzeKitt

Currently, for AMP pages the URL gets extended by an amp/ (https://github.com/pluginkollektiv/statify/blob/develop/inc/class-statify-frontend.php#L428). However, this will result in wrong URLs since https://example.com/ will become https://example.com/amp/ in the database. The correct way would be to add an ?amp or &amp to the URL to get a valid URL, which is the AMP variant of the page.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions