Support » Plugin: AMP » Change canonical URL in comment pagination

  • Resolved renanbessa

    (@renanbessa)


    Is there any hook, any way to change the canonical url on comments pagination pages in the AMP version?

    Scenario:
    Example link: idinheiro.local/easy-account/comment-page-4?amp#comments

    Currently, the canonical url is idinheiro.local/easy-account/comment-page-4#comments.

    What I would like is that the canonical url for these pages is pointed directly to the main url of the post, which in this example would be: idinheiro.local/easy-account/

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.