Clicky

Validating the AMP Pages

After installing the AMP on a Website, everyone will be worried about the AMP Validations.

There are two major parts in this article one is Validation and the other is What Next?.

Let’s get down to it.

Validation

what is mean by Validation in AMP and why it is so necessary to the implementation of AMP.

As you must be having an idea about what AMP is and if now this article might help you a bit.

To have all the benefits of AMP on your site you need to follow the set of rules and regulation that AMP has set. As the AMP have lot’s of restriction with regards to the way methods or content is used such as scripts, heavy stylings etc.

Google Index the pages which are AMP Validated or it will show you where the Validation fails

If It’s Important then where and how to check the Validation of AMP? Just follow ahead!

Google WebMaster Tools (GWT / Search Console)

in GWT you’ll be having a section dedicated to AMP where it will show all the index pages and the errors if any.

GWT search cansole

In the above image, we can see the number of Indexed AMP pages and those with the errors.

GWT helps us to get the complete status of the AMP pages on our site and to lock down where the errors are.

There is one thing to keep in mind that the report you get from GWT is not current report but when Google last checked your site so it would be better to check the pages on AMP Validation sites such as Validator by ampproject and AMP Test by Google.

Once you get to know the status of AMP on your site and if there are errors then comes the following section to help you out.

What Next?

If you found out that there are errors on your AMP pages and you want to solve them to get the AMP Validated pages/site.

I’ll be showing you how to debug the AMP errors in the following paragraphs.

First, find the nature of the errors such as invalid tags, authored scripts etc it will help you to lock down from where and what is causing the issue.

Invalid css

In the above image, you can see the above part is the categorizing the type of error and below the details.

Sometimes the errors come from the code that we put while writing the page/post and mostly generated dynamically from some 3rd party plugins.

If you cannot locate where it is coming from then try deactivating some plugins and test them on the Validation tools as mentioned above.

and still, if you are not able to resolve or figure out the issue try this.

That’s it for this article!

We hope it helped you. If you have any feedback or questions, then please share them 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 April 5, 2018

    Are you still looking for a solution?

    Then fill out the below form and we will reach out to you within a few hours.

    Was this article helpful?

    Related Articles

    Comments

      1. Hi vishal singh,

        In AMP we have some rule and regulations. for example, if you are using more than 50k of CSS then it will show the error and also javaScript is not allowing in AMP and if you use it then validation error will occur.

    Leave a Comment