Title: Error code: AMP_NOT_REQUESTED
Last modified: September 30, 2021

---

# Error code: AMP_NOT_REQUESTED

 *  Resolved [Hal](https://wordpress.org/support/users/halburgissnet/)
 * (@halburgissnet)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-code-amp_not_requested/)
 * Full error: `URL validation failed. Error code: AMP_NOT_REQUESTED. The requested
   URL is not an AMP page.`
 * I have searched the forum for this and got no results.
 * Background: This plugin has been working fine for over a year now. We started
   getting errors in google search console 3 days ago, which also is the date we
   upgraded WP and all plugins (5.8.1 and 2.1.4 for AMP). We can’t find any urls
   that will validate now. All seem broken.
 * There is also this error in the sidebar:
 *     ```
       Stale results
       Plugins have been updated since these results were obtained. Please recheck.
       ```
   
 * Hitting the recheck button does nothing and page reloads with same errors, which
   are numerous.
 * During the upgrade we added an anti-spam plugin: honeypot. Disabling that and
   clearing supercache and rechecking does not change anything. There are no console
   errors or server log errors.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-code-amp_not_requested%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-code-amp_not_requested/#post-14925433)
 * Hello [@halburgissnet](https://wordpress.org/support/users/halburgissnet/)
 * Thank you for the support topic, As we checked your site it seems to be serving
   non-AMP pages on URL with `?amp` query parameter.
 * Can you please disable your cache plugin and check if the [AMP test](https://search.google.com/test/amp)
   validates.
 * Additionally, please send your site health information using [this](https://docs.google.com/forms/d/1JTQmphDlk9YgHpDoFRbHXpkDqv8-QmzTT7MDR4AstyQ/)
   form so we can investigate the issue further.
 *  Thread Starter [Hal](https://wordpress.org/support/users/halburgissnet/)
 * (@halburgissnet)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-code-amp_not_requested/#post-14925858)
 * Validation results with cache disabled:
 *     ```
       Non-AMP submitted
       This page isn't an AMP. However, it references the following URL as its AMP version:
       https://www.methodsmachine.com/blog/methods-machine-tools-and-yasda-unveil-high-precision-5-axis-machining-center/?amp
       ```
   
 * Thanks. As I said, this was working fine until recently.
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-code-amp_not_requested/#post-14927779)
 * Hello [@halburgissnet](https://wordpress.org/support/users/halburgissnet/)
 * Thank you for the site info, We tried to replicate your setup but were unable
   to do so as there are some commercial/ custom developed plugins and themes on
   your site which we don’t have, themes and plugins developed specifically by DBS
   Interactive are out of our reach.
 * To narrow down further, could you use the [Health Check & Troubleshooting plugin](https://wordpress.org/plugins/health-check/)
   and enable [its troubleshooting mode](https://make.wordpress.org/support/handbook/appendix/troubleshooting-using-the-health-check/#troubleshooting).
   This mode disables active plugins and switches to a default theme safely since
   it only affects the experience of the logged-in user.
 * – Please [enable the AMP plugin](https://jmp.sh/Zc5YLI9) and let me know if the
   issue is present.
    – Enabling plugins and your theme one by one in this mode 
   may help pinpoint if something else is involved. – Note you can [disable troubleshooting mode](https://jmp.sh/uErQi8t)
   from the plugins page.
 *  Thread Starter [Hal](https://wordpress.org/support/users/halburgissnet/)
 * (@halburgissnet)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-code-amp_not_requested/#post-14929829)
 * Unfortunately there is no ftp on this server which seems to be required, and 
   I can’t get permissions to add it. We haven’t used it in years. Is there another
   option? thx
 *  [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-code-amp_not_requested/#post-14936270)
 * FTP access for your site isn’t required for the Health Check & Troubleshooting
   plugin. You should be able to find the plugin in the WordPress plugin repository_(
   Plugins > Add New > Health Check & Troubleshooting > Search)_.
 * Let me know if you’re unable to locate or install it.
 *  Thread Starter [Hal](https://wordpress.org/support/users/halburgissnet/)
 * (@halburgissnet)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-code-amp_not_requested/#post-14936764)
 * The plugin installs and activates just fine, but clicking on anything that says“
   troubleshooting” will say …
 * `To perform the requested action, WordPress needs to access your web server. 
   Please enter your FTP credentials to proceed. If you do not remember your credentials,
   you should contact your web host.`
 * I do not see a way around that.
 *  [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/error-code-amp_not_requested/#post-14939476)
 * Thanks for the update. From what I gather this message can appear if your WordPress
   site does not have required write permission, in your cases with the wp-content
   or plugins folder.
 * Rather than troubleshooting this for the sake of activating another plugin can
   you try and use the AMP plugins [suppression feature](https://i.imgur.com/as27CDV.png)
   to suppress your caching and other plugins before checking once more (_AMP > 
   Settings > Plugin Suppression_)?
 *  Thread Starter [Hal](https://wordpress.org/support/users/halburgissnet/)
 * (@halburgissnet)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/error-code-amp_not_requested/#post-14940477)
 * Well, that ftp error reminded me of another plugin which had instructions to 
   get around that requiremnt …
 * define( ‘FS_METHOD’, ‘direct’ );
    define( ‘FS_CHMOD_DIR’, 0775 ); define( ‘FS_CHMOD_FILE’,
   0664 );
 * FYI …
 * which did allow Troubleshooting mode. Disabling Theme did not help and disabling
   all the other plugins did not help either. Same error message.
 * And suppressing all plugins in Settings did not help either. Still getting the“
   stale results” stuff which is weird too. I’ve also tried disabling/enabling AMP
   plugin.
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/error-code-amp_not_requested/#post-14942808)
 * Hello [@halburgissnet](https://wordpress.org/support/users/halburgissnet/)
 * I will recommend contacting your hosting provider and correct file permissions,
   so we can further investigate your issue.
 *  Thread Starter [Hal](https://wordpress.org/support/users/halburgissnet/)
 * (@halburgissnet)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/error-code-amp_not_requested/#post-14943801)
 * This is self hosted, we can change them to anything we want (within reason). 
   But they are no different now than before the upgrade that seems like it started
   this problem. What needs to change?
 *  Plugin Support [Milind More](https://wordpress.org/support/users/milindmore22/)
 * (@milindmore22)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/error-code-amp_not_requested/#post-14944129)
 * Hello [@halburgissnet](https://wordpress.org/support/users/halburgissnet/)
 * Can you please verify if there are any rules you have added OR added by another
   plugin that ignores query parameters `?amp`
 * The query parameter for search is working as expected `?s=hello`
 * Additionally can you please switch Paired URL structure to default `?amp=1` or
   path suffix `/amp/` in AMP plugin settings.
 *  Thread Starter [Hal](https://wordpress.org/support/users/halburgissnet/)
 * (@halburgissnet)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/error-code-amp_not_requested/#post-14944373)
 * The search ?s=test works fine. Unless the upgrade to WP changed something, there
   is nothing we did intentionally to mess with this.
 * ?amp=1 does not work …. but … get ready … /amp/ does!!!!! Wow. Thanks. Still 
   curious why / how it broke.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Error code: AMP_NOT_REQUESTED’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 12 replies
 * 3 participants
 * Last reply from: [Hal](https://wordpress.org/support/users/halburgissnet/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/error-code-amp_not_requested/#post-14944373)
 * Status: resolved