Title: URL validation failed
Last modified: December 19, 2019

---

# URL validation failed

 *  Resolved [Globe Moving](https://wordpress.org/support/users/gmsc/)
 * (@gmsc)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/url-validation-failed/)
 * Hi,
 * While validating AMP pages I’m getting the following error.
 * URL validation failed to due to the absence of the expected JSON-containing AMP_VALIDATION
   comment after the body. This is often due to a PHP fatal error occurring. Please
   check your server’s PHP error logs; to do this you may need to enable WP_DEBUG_LOG.
 * I disabled W3-Total-Cache plugin and tried. It’s validating the AMP pages.
 * Is there any way to solve this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Furl-validation-failed%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/url-validation-failed/#post-12253523)
 * Hello [@gmsc](https://wordpress.org/support/users/gmsc/)
 * Thank you for your inquiry and I am happy to help!
    Can you please share which
   testing platform you used to test AMP pages? Thank you
 *  Thread Starter [Globe Moving](https://wordpress.org/support/users/gmsc/)
 * (@gmsc)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/url-validation-failed/#post-12253539)
 * Hi [@vmarko](https://wordpress.org/support/users/vmarko/)
 * Thanks for the response. I’ll add ?amp_validate at the end of the URL to validate
   AMP pages.
 * [https://globemoving.net/blog/things-to-remember-when-shipping-to-india/?amp_validate](https://globemoving.net/blog/things-to-remember-when-shipping-to-india/?amp_validate)
 * Thanks
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/url-validation-failed/#post-12254636)
 * Hello [@gmsc](https://wordpress.org/support/users/gmsc/)
 * It appears that the minification is enabled and it removed those comments used
   by your plugin. It’s not an amp page’s problem but a way how you validate it.
   
   Thank you
 *  Thread Starter [Globe Moving](https://wordpress.org/support/users/gmsc/)
 * (@gmsc)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/url-validation-failed/#post-12256818)
 * Thanks, [@vmarko](https://wordpress.org/support/users/vmarko/) for making me 
   understand.

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

The topic ‘URL validation failed’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [AMP validation](https://wordpress.org/support/topic-tag/amp-validation/)

 * 4 replies
 * 2 participants
 * Last reply from: [Globe Moving](https://wordpress.org/support/users/gmsc/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/url-validation-failed/#post-12256818)
 * Status: resolved