Accelerated Mobile Pages (AMP) an open source mobile pages format, is a project from Google and Twitter which makes mobile pages really fast and loads the static contents instantly on mobile devices. AMP pages are similar to HTML pages except some rules and regulations. AMP pages can load on an average of 4 times faster than the non-AMP pages.
What makes AMP fast ?
- Reduced tags
- Streamlined CSS
- Designed to be heavily cached
Optimizing the blog with AMP : (Step by Step Procedure)
Creating a AMP page from scratch is not a big deal, unless you are an experienced web developer. But basic understanding of various components of a AMP page and the step by step procedure could benefit in shaping a perfect AMP web page.
Step 1: Requirement of staging website:
A perfect staging web page is necessary to test the AMP set up before deploying it on any live web page. Because when AMP is enabled on the website, it may not add any styling to the current AMP pages. Changing the styling of the AMP page is needed in order to give the perfect look and feel of the web page before making the web page live.
And also remember to remove the warnings or errors that are found in Google search console or Google Developers console and make sure the AMP pages are valid.
Step 2: Install & Activate AMP WordPress plugin:
Install and activate the AMP WordPress Plugin by clicking the Download ZIP button. Activate the downloaded plugin through the “Plugins” menu in WordPress.
When the plugin is activated, all the WordPress posts on your page will be dynamically generated as AMP versions. But the AMP pages are not set as default. And can be shown as a valid AMP page, once they are indexed. Accessing an AMP version of web page can be done by just appending “/amp/” at the end of the blog post URL. In other case it can be appended as “?amp=1”
then the AMP version of the web page will be:
This current version of AMP Plugin works on WordPress posts but not on web pages.
Step 3: Validate & Tweak:
The AMP page of the blog / web page must follow the AMP HTML Specification to become a valid AMP page. Follow the simple steps mentioned below to validate an AMP page.
- Load the AMP web page which needs to be validated in the Chrome browser.
- Right click the page and select “Inspect” from the menu that appears. By clicking it, open the Chrome developer console window.
- Click on the “console” tab.
- At the end of the AMP page URL, add the following “#development=1”.
- Then reload the web page and check for validation messages in the console window.
If the loaded page is a valid AMP, then it will result “AMP validation successful” message in the console window. Else it will send a “AMP validation had errors” message. To check and diagnose validation errors, click the URL which contains errors in the console window. It will then list the related information in order to correct the validate errors.
Step 4: Schema Markup for Validation:
A valid schema markup is important for the AMP pages. The web pages are tested for valid markup by using Google’s Structured Data Testing Tool. If there are issues with WordPress, few modifications can be made to the plugin.
To validate an AMP page through structured data testing tool, follow the steps below:
- Navigate to Google’s Structured Data Testing Tool page.
- Click “Fetch URL” link.
- Enter the URL of the AMP page in the provided text box and then select the “Fetch & Validate” button to get the Results.
- Then select the “AMP articles” from the drop down menu.
- By doing so, it results the status of the web page. If the status is “All good” specifies that the provided AMP page is valid. If not then “errors / warnings” are shown as a result.
Already existing indexed AMP pages can also be validated through Google Search Console. This can be done by navigating Search Appearance > Accelerated Mobile Pages.
Step 5: Navigating through AMP menu:
Navigate the AMP menu, and click on the “Design” tab to add styles to the AMP pages by customizing the settings. The AMP icon must be added, including the default image to the blog post, else the AMP pages are not validated.
Step 6: Save the changes:
Clicking the “Save” button could keep the changes that are made.
Sarah Clark, working in B3NET Inc.
& Search Optimal as Content Developer. B3NET is leading web design & web development company from Orange County, California, Search Optimal is the Internet Marketing division of it. Sarah is working in web, mobile & Internet marketing domain with her 8 years of experience.
Latest posts by Sarah Clark (see all)