Support » Plugin: AMP » How to redirect ?amp to non-amp after deactivation

  • Resolved Lori

    (@delphine)


    Hey there!

    I’ve changed my mind about AMP for certain pages and want to disable AMP for them. I know I can toggle off the AMP in the page/post editor, but am not sure how to create 301 redirects so that the ?amp versions get sent to the non-amp versions. I’d like to put them in my .htaccess file

    Thanks in advance,
    Lori

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pascal Birchler

    (@swissspidy)

    Hi there,

    There’s no need to add any redirects. If AMP is disabled for specific posts and you add ?amp to the URL, it will redirect you to the canonical, non-AMP version.
    Even without a redirect, because of the way the canonical and the AMP version are linking to each other, there would be no 404s or anything, as the parameter would be simply ignored and you’d get the canonical version, without any duplicate content issues.

    Thanks very much, Pascal! So just to be abundantly clear, I can just deactivate AMP in the post edit box, and don’t need to do any redirects or other measures just to keep the SEO so my non-amp pages will keep their rankings?
    Oh, and btw, the plugin is working great for me — thanks for making it available to us! It’s just a few pages where I think I should deactivate it based on my Analytics.

    Plugin Author Pascal Birchler

    (@swissspidy)

    > So just to be abundantly clear, I can just deactivate AMP in the post edit box, and don’t need to do any redirects or other measures just to keep the SEO so my non-amp pages will keep their rankings?

    That is correct, yes. And if for some reason you see different behavior, please do follow-up here in the forums.

    Also, while you’re here, please consider leaving a review of the plugin 🙂

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