TechLoverHD

Adaptable Knowledge of Technology

  • Android
  • Apps
  • Games
  • Devices
    • Phones
    • Tablets
    • Gadgets
    • Smart & HD TV
  • OS
    • Ubuntu
    • Windows
  • Tutorials
  • News
You are here: Home / Tutorials / Validating AMP HTML Pages

Validating AMP HTML Pages

4th April 2016 by TLHD

Google recently started AMP (Accelerated Mobile Pages) Project aims to instant load web pages in a mobile browser. This is an open-source project and development work running very fast. Webmasters and web admins are implementing this new piece of tech in their sites. TechLoverHD also implemented AMP as well. The last article tells how to install / add AMP on your WordPress site, this article is going to show you how to check if your AMP pages are valid. I can only help you by giving information on how to check, you need to be bit familiar with HTML & JS code in order to solve them by yourself.

After I implemented AMP on this site a while ago, I didn’t check whether they are valid or not for the first week. Then I ran a check and found out they were not valid. Going through the validation process I found the root of the problem. I was using PageSpeed module for site optimization and the module was injecting some scripts to the pages, leads to AMP validation failed. Turning the PageSpeed module off resolved the issue and now they are reporting to be valid on the AMP Validation test.

Requirements:

  • AMP enabled site
  • Google Chrome web browser

How to Check?

  1. Open a new tab in Google Chrome
  2. Insert the URL in your address bar then insert #development=1 at the end of your AMP URL. (Example https://techloverhd.com/2016/04/enable-amp-wordpress/amp/#development=1)
  3. Open Developer Tools in Google Chrome in the same window (press CTRL + SHIFT + I on Windows)

The console window will report if AMP Validation was successful. You will see “Powered by AMP ⚡ HTML – Version 1458844805881” & “AMP validation successful.” message if your AMP page is valid. The version number will change in the future and is not that much important. Otherwise, it will show you the errors. You need to fix the errors to validate your page. If you need help, check this page. Below is a screenshot of AMP validation check in Google Chrome developer tools.

AMP Validation Check

Issues & Bugs

AMP is still in its early stage and actively being developed. It may not be compatible with all your plugins or setup. If you notice any issues or find any bugs please report it to the AMP HTML GitHub Issues page.

Filed Under: Tutorials Tagged With: AMP, WordPress

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 192 other subscribers.

Follow TechLoverHD

Categories

  • Apps (101)
  • Cryptocurrency (11)
  • Devices (190)
    • Gadgets (34)
    • Smart & HD TV (13)
    • Smartphones (123)
    • Tablets (28)
  • Games (1)
  • News (76)
  • OS (73)
    • Android (54)
    • Firefox OS (2)
    • Ubuntu (8)
    • Windows (9)
  • Photography (7)
  • Tutorials (61)

Recent Posts

  • How to Send Komodo or Any Smart Chain Funds from Your Address Without Rescanning the Wallet?
  • UK Granted Huawei A Limited Role In 5G Network
  • Use Komodo’s DEXP2P Tech for Live Streaming [How-to]
  • AtomicDEX Mobile Decentralised Exchange is Out for Public Beta Testing
  • How to Check Your VerusCoin Mining Balance, Hash Power & Estimated Average Time to Mine a Block
  • Claim BTG and Convert to BCH in a Quick & Easy to Follow Guide
  • How to Claim Komodo (KMD) Reward from Ledger Nano S?
  • Lenovo ZUK Z2 – Lot of PHONE for the MONEY
  • Difference Between Samsung Galaxy A5 and Galaxy A3 2017 Model
  • Alcatel Plus 10 2in1 4G Convertible Budget Friendly Windows 10 Tablet

© Copyright 2013-020 TechLoverHD · All Rights Reserved - About Us | Contact Us | Privacy Policy | Terms of Service | DMCA Policy