In nowadays’s mobile-centric world, having pages that load quick is vital for enjoyable the user. Not most effective that, but the results of sluggish web page velocity had been correlated to a decease in universal sales and an increase in web page abandonment.
Users have come to assume cellular websites to load just as quickly as their desktop counterparts. In reality, Amazon, one of the biggest on line outlets, concluded that even a one-2d lag in web page load pace accounted for a $1.6B decrease in annual sales.
Accelerated cell pages (AMPs) are quickly becoming the same old for how a fast-loading page should be built. Using a pre-render, AMPs are capable of load 15-80 percent faster than widespread mobile pages with out compromising capability. While the convenience of AMP implementation will range relying on your CMS (content management system), WordPress may be an awesome test surroundings for previewing what your AMP page would possibly seem like.
Follow this quick seven-step guide to enable AMP for WordPress.
Note: Parts of this guide expect that you have activated the Yoast SEO plugin as a part of your WordPress setup. If you haven’t, you may truly bypass the parts that reference this plugin — you could still activate AMP functionality without it — but I quite suggest this plugin in case you are severe approximately SEO for your WordPress site.
Note that best your posts — now not your pages — can be AMP-compatible with this base plugin. In order to make your pages AMP-well suited as well, you’ll need to install an additional plugin (unique underneath).
RELATED ARTICLES :
Once you have got the AMP plugin set up, you could layer on extra plugins with the intention to gain more functionality. There are several free options you can pick out from, but the ones I use all through this manual are as follows:
Glue for Yoast search engine marketing & AMP — One of the blessings to the use of this plugin is that it lets you to make pages, posts and media AMP-well suited. The Glue for Yoast plugin additionally seamlessly guarantees that the default AMP plugin is pulling in the perfect metadata. Similar to the AMP for WP plugin, it lets in for custom styling of AMP pages, and you may even choose a custom icon and change how your website’s emblem appears at the AMP web page. (Note: You ought to have the Yoast SEO plugin set up and activated in order for this to plugin to paintings.)
In order to set your pages up for Google Analytics tracking, you’ll first want to locate your monitoring ID. Log in to Google Analytics, then click on the tools icon at the lowest left to convey up the Admin panel. Once you’ve selected the ACCOUNT and PROPERTY from their respective drop-down menus, click on where is says “Tracking Info” in the PROPERTY column. From there, click on “Tracking Code” to see your monitoring ID — the ID need to begin with UA.
In this step, I’ll discuss some primary configurations for the Glue for Yoast search engine marketing plugin mentioned in Step 1. You can also pass this step if you have selected now not to install this plugin.
The endorsed configurations herein will assist you to customize the appearance and sense of your elevated cellular pages in addition to allow AMP support for a couple of content material kinds.
On the second tab, “Design,” you could customize the appearance and experience of your AMP-enabled pages. Apply CSS styling, customise content material and hyperlink shades, add a custom AMP icon and set a default image for pages that don’t have an image related to them.
Step 4: Test/validate your AMP setup
Now that we’ve created our AMP URLs, it’s essential to ensure that they’re operating well. If they are no longer configured correctly, Google will no longer display them in seek results. While this safeguards you against displaying a semi-purposeful AMP web page, it can additionally be a pain point for many site owners.
Fortunately, there are several solutions for trying out your AMP URLs. Pick multiple key pages and test the AMP versions the usage of one of the techniques underneath. As cited in step 1, you can append /amp/ to the stop of a popular URL in order to view it.
While filing your AMP web page to Google is not a demand, Google will simplest index your AMP web page if it is internally connected to or listed in the XML sitemap.
Originally posted 2017-07-04 06:20:10.