Fixing the 'AMP URL is Self-Canonical' Error in WordPress
Content
If you've received a "Referenced AMP URL is self-canonical AMP" or "Alternate page with proper canonical tag" error in Google Search Console after installing the AMP plugin, you're not alone. This is a common issue that can prevent your main content from being indexed correctly and may even cause your AMP pages to appear in desktop search results. Let's break down what this means and how to fix it.
What is the "Self-Canonical" Error?
A canonical tag (rel="canonical") tells search engines which version of a URL is the "master" copy that should be indexed. For an AMP page, this tag should always point to the standard, non-AMP version of the page.
The error occurs when the AMP page's canonical tag incorrectly points to itself (the AMP URL) instead of the original page. For example:
Incorrect (Self-Canonical):
<link rel="canonical" href="https://yoursite.com/post-title/amp/">
Correct:
<link rel="canonical" href="https://yoursite.com/post-title/">
When this happens, search engines may index the AMP version as the primary content, which is not the intended behavior.
Why Does This Happen?
Based on common user reports, this problem is frequently caused by conflicts with other plugins, most notably SEO plugins like Yoast SEO or Rank Math. These plugins can sometimes overwrite the canonical tag generated by the AMP plugin. Other potential causes include specific theme configurations or custom code that modifies link elements.
How to Troubleshoot and Fix the Issue
1. Identify the Problem
First, confirm the issue. View the source code of one of your AMP pages (e.g., yoursite.com/post-name/amp/). Search for "canonical" and check if the href attribute points to the AMP URL or the standard URL.
2. Check for Plugin Conflicts (The Most Common Fix)
The most prevalent solution from the support threads is to investigate conflicts with SEO plugins.
- Update Your Plugins: Ensure your AMP plugin and all other plugins, especially your SEO plugin, are updated to their latest versions.
- Check SEO Plugin Settings: Many modern SEO plugins have specific settings for AMP. Navigate to your SEO plugin's settings and look for an "AMP" or "Advanced" section. Ensure that the option to control canonical tags on AMP pages is disabled, allowing the AMP plugin to handle them.
- Conflict Test: Temporarily deactivate your SEO plugin (and any other plugins that modify output) and check the AMP page's source code again. If the canonical tag is now correct, you've identified the conflict. Reactivate the plugin and adjust its settings accordingly.
3. Validate Your AMP Setup
Use the AMP Validator or the "AMP Test" tool in Google Search Console to check for other validation errors on your pages. Fixing these broader issues can sometimes resolve canonical problems.
4. Re-submit to Search Console
After making corrections, use the "Validate Fix" or "Request Indexing" feature in Google Search Console for the affected URLs. It can take some time for Google to recrawl your pages and clear the errors.
Will This Hurt My SEO?
The "Alternate page with proper canonical tag" status in Search Console is often just an informational message, not an error. It indicates Google sees your AMP page as an alternate version of your canonical page, which is technically correct. The real problem is the "self-canonical" error, which can misdirect indexing. Fixing the canonical tag ensures your original content is prioritized for indexing, which is crucial for maintaining search rankings.
Important Note on Indexing
It is normal for both your AMP (.../amp/) and non-AMP URLs to be listed in Google Search Console. They are treated as two versions of the same content, not as duplicate content, so this should not negatively impact your SEO when set up correctly.
If you continue to experience issues after trying these steps, it is recommended to seek further assistance on the official 'AMP' plugin support forums, where volunteers can help diagnose more complex scenarios.
Related Support Threads Support
-
Reader Mode – AMP URL is self-canonical AMPhttps://wordpress.org/support/topic/reader-mode-amp-url-is-self-canonical-amp/
-
Self-reference AMP page as canonical = PROBLEMhttps://wordpress.org/support/topic/qelf-reference-amp-page-as-canonical-problem/
-
AMP pages indexed on Googlehttps://wordpress.org/support/topic/amp-pages-indexed-on-google/
-
Referenced AMP URL is self-canonical AMPhttps://wordpress.org/support/topic/referenced-amp-url-is-self-canonical-amp-16/
-
The site is falling in the search resultshttps://wordpress.org/support/topic/the-site-is-falling-in-the-search-results/
-
amp errorhttps://wordpress.org/support/topic/amp-error-46/
-
Rel=”alternate” for the mobilehttps://wordpress.org/support/topic/relalternate-for-the-mobile-2/
-
Alternate page with proper canonical tag issue with AMPhttps://wordpress.org/support/topic/alternate-page-with-proper-canonical-tag-issue-with-amp/
-
AMP version indexedhttps://wordpress.org/support/topic/amp-version-indexed/
-
Alternative Page with Proper canonical tag Amp issuehttps://wordpress.org/support/topic/alternative-page-with-proper-canonical-tag-amp-issue/
-
wrong canonical link in Google cache AMP pagehttps://wordpress.org/support/topic/wrong-canonical-link-in-google-cache-amp-page/
-
AMP pages not showing in Desktop results in Google Search Consolehttps://wordpress.org/support/topic/amp-pages-not-showing-in-desktop-results-in-google-search-console/
-
Display ‘hreflang’ tag on AMP pagehttps://wordpress.org/support/topic/display-hreflang-tag-on-amp-page/
-
Alternative page with proper canonical tag issues After AMP Pluginhttps://wordpress.org/support/topic/alternative-page-with-proper-canonical-tag-issues-after-amp-plugin/
-
Indexation with AMPhttps://wordpress.org/support/topic/indexation-with-amp/
-
www.google.com/amp/https://wordpress.org/support/topic/www-google-com-amp/
-
Alternate page with proper canonical taghttps://wordpress.org/support/topic/alternate-page-with-proper-canonical-tag-10/
-
Canonical ERRORS on all AMP pages as per google search console page indexinghttps://wordpress.org/support/topic/canonical-errors-on-all-amp-pages-as-per-google-search-console-page-indexing/
-
Alternative page with proper canonical taghttps://wordpress.org/support/topic/alternative-page-with-proper-canonical-tag-2/
-
Alternate Page With Proper Canonical taghttps://wordpress.org/support/topic/alternate-page-with-proper-canonical-tag-11/
-
alternate page with proper canonical tag issue with amp plugin wordpresshttps://wordpress.org/support/topic/alternate-page-with-proper-canonical-tag-issue-with-amp-plugin-wordpress/