If you use a Content Management System (CMS) to serve AMP from a search result page, check the product's help pages for instructions on disabling AMP.
If you do not use a CMS and need to stop serving AMP from a search result page, choose one of the three methods detailed below. We recommend method 1 or 2 over method 3. Method 3 is an immediate way to stop serving AMP, but it displays an error to the user.
For CMS users
Check your CMS provider's help page for details on how to stop serving AMP. If you use one of the following CMS providers, click the help page link below:
If your site is hosted on a CMS domain, the CMS should redirect users to the non-AMP canonical page after AMP is disabled. If the redirect does not occur, contact your CMS provider for assistance.
Method 1: Stop serving AMP from Google Search
Use this method to remove your AMP pages from Google Search without displaying an error to the user.
- Remove the
rel="amphtml"link from the canonical page in the source code.
- Configure your server to return either an HTTP
301 Moved Permanentlyor
302 Foundresponse for the removed AMP page.
- Configure a redirect from the removed AMP page to the canonical page.
- Verify the removal of your AMP page by searching for your content using Google Search. To verify removal of a large number of AMP pages you may use Accelerated Mobile Pages (AMP) report.
Method 2: Stop serving AMP from Google Search and non-Google platforms
Use this method to remove your AMP page from Google Search and Google AMP Cache while keeping permalinks to the removed pages.
rel="amphtml"link from your canonical page's HTML source.
robots.txtfile to prevent Googlebot from discovering your AMP pages. If you cannot update your
robots.txt, you may prevent Googlebot from crawling your pages by adding a meta tag to your HTML source.
- Submit an updated sitemap through the Google Search Console or using the Webmaster Tools API that excludes your AMP pages.
- Verify the removal of your AMP page by searching for your content using Google Search. To verify removal of a large number of AMP pages, you may use Search Console AMP report.
Remove your AMP page so it is no longer accessible.
Configure your server to send an HTTP
404 Not Foundfor your removed AMP page to Google user-agents, such as Googlebot. This will ensure that Google AMP Cache does not serve stale content to other platforms.
- If you want to keep permalinks active, configure your server to send an HTTP
301 Redirectfor your removed AMP page to your canonical page.
Method 3: Stop serving AMP from Google Search as quickly as possible
Only use this method to remove your AMP page as quickly as possible from Google Search.
- Delete the AMP page from your server.
- Ensure your server returns a HTTP
404 Not Foundresponse for the deleted file.
- Repeat the last two steps for each AMP page you want to remove.
- Remove the
rel="amphtml"link from canonical page's HTML source for each AMP page you deleted in step 1.
- Ask Google to recrawl the canonical page.