Clicky

  1. Home
  2. How To
  3. How to exclude a page or post from AMP?

How to exclude a page or post from AMP?

The default AMP plugin behavior is that it will display all published posts and pages in Mobile friendly version. This will usually work fine for bloggers/webmasters, but sometimes we might want to exclude Post and Page like about, contact, our team pages from the AMP. So, in this article, We will learn how to exclude certain posts/pages from AMP.

First, make sure that you have AMP plugin’s activated on your website. If not then read

Step-By-Step Guide to Implementing AMP on WordPress

Step-By-Step Guide for How to Insert ADS between post content in AMP

Guide to E-Commerce for AMP

Excluding specific posts and pages from AMP.

  • Open the page/post you want to exclude.
  • Click on Edit Page/Post on Top of the page.

page or post

  • Scroll down below and select Hide option in “Show AMP for Current Page?” box, then Click Update

page or post

If you have any questions, then let us know in the comments section below.

Ask your Questions Directly!
If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!
Updated on August 21, 2017

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Comments

  1. Hi,

    I’ve tried to disable AMP on certain pages by switching to Amp – Hide.
    It still has the link to the AMP document in the header?

    I’ve put a web.config redirect in to blog the amp homepage for now, but would appreciate a proper fix.

    Thanks,
    Bruce.

    1. Hey Bruce,

      Thank you so much for using the AMP plugin. Yes, we’re planning a proper fix for this. We will release it very soon.

      Regards,
      Ahmed

    1. this is also my concern, I am using a “latest-post” as my front-page too, I was thinking to exclude this part as AMP Redirects my mobile-users. Please help us with this. thanks.

  2. It seems that the show AMP / hide function ONLY works (available) on default post types. All custom post types do not support this feature. Will that be fixed?

  3. Please help, how can I add non-amp posts links together amp posts links in Latest Post area of Homepage??

  4. Hi there!

    Is there a way to disable AMP on multiple pages at once?

    Thanks for your work 🙂

    1. Hi, did you find a way to do this, by any chance?

      I really need to disable it everywhere (see last comment).

      Thanks!

    2. Hey Rodrigo,

      We don;t have a control where you can select multiple pages at once, but you can use this setting http://take.ms/Bbzty to show/hide AMP on all pages, then make the changes on selected pages.

      Hope this makes sense.
      Mohammed Kaludi

  5. Hi,

    I also would like to have amp disabled on all pages and posts except for one. It’s very useful to do a soft transition: first test results of amp on one or two posts, then see if you really wanna move the whole site.

    Is there any way to disable amp everywhere, and then mark just one particular post as “Show”?

    Thanks a lot for the plugin, it’s very useful.

    1. Hey Ardian,

      We don’t have this feature yet, but what you can do is turn off page support initially and once you are satisfied with the post’s performance you can turn on page support as well.

      Hope this helps,
      Mohammed Kaludi

  6. I tried to disable the amp on homepage using the Hide/Show option on the page. It removes the meta “amphtml” from the page. But if you go mysite.com/amp , that still shows a valid amp page, which resulted in Google indexing this amp version of the homepage.
    As a temporary fix I have added a redirect to the homepage /amp to the normal home page. Is there a proper solution for this? Because I have lots of pages that I would like to not show as amp in search and I can’t add redirects for all of them.

    1. Hi Zeb Khan,

      If you don’t want to show the AMP on our homepage then go to the general setting and disable the homepage option.

      Hope this helps,

Leave a Comment