Google is currently working on the “Accelerated Mobile Pages” or AMP project. The WordPress AMP plugin provides the technical implementation of the AMP specifications. This makes sure that your pages contain valid AMP code.
The Yoast SEO: AMP Glue plugin integrates Yoast SEO into your AMP pages. This makes sure your meta-data is implemented correctly.
Next to the technical SEO improvements, the Yoast SEO: AMP Glue plugin also provides a simple way to customize your AMP pages.
It adds rudimental styling in the form of colors and link styles, so your AMP pages can maintain the feeling your main pages have.
To change your AMP page design, go to SEO -> AMP, and look at the design tab.
- Installation Instructions
- Upload the plugin files to the
/wp-content/plugins/yoast-seo-ampdirectory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
- Go to SEO -> AMP to change your design and enable custom post types.
- You’re done.
- Upload the plugin files to the
When I have Yoast SEO plugin active, I get links to AMP pages on my site. All of these AMP links are broken. When I deactivate Yoast SEO, all these AMP page links go away.
1) How do I deactivate AMP page creation in Yoast SEO?
2) How do I get the AMP page links to work?
Awesome!!! Thanks 🙂
Great idea and solid start once you figure out how to use it
Another great Yoast product. Thanks Yoast.
Automattic’s AMP and Yoast’s Glue are two essentials plugins to enable AMP. Pages will look good and get found by google, but there is a start more than an end. You’l want to invest time and energy to:
– Enable more than the minimum of Page Tracking analytics triggers, such as events, social shares, etc.
– Integrate ad serving technology, especially if you rely on ad revenue. It’s possible, but needs extra effort by a web developer
– Have alternate strategies for non-supported features such as forms, heavily formatted posts, and page post types.
After deploying these plugins, Google’s crawlers quickly found my pages and mobile traffic (viewing AMP pages) went up and fast. And the user experience on a phone with AMP pages is fantastic.
Everything is working well, do you have any advice for product pages on e-commerce sites? With AMP running I am unable to see the ‘add to cart’ function.
I’m using WordPress/WooCommerce.
Solid start to customizing some basic AMP capabilities. With AMP likely to become a stronger ranking signal in the future, I’m looking forward to Yoast’s team continued evolution of this plugin and eventual integration into their flagship plugin.
Contributors & Developers
“Glue for Yoast SEO & AMP” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Reverts the canonical removal.
- Fix styling of design tab.
- Removed page from post-type list to avoid unwanted canonical link.
- Removed canonical feature because it is being handled by the AMP plugin.
- Removed sanitizations which are already being done by the AMP plugin.
- Added a check for Monster Insights analytics implementation and disables our implementation if present.
- Added class selector implementation for AMP 0.4.x compatibility.
- Fixes bug where AMP was only activated for the first post type in the list.
- Made sure that the function is not declared multiple times.
- Fixed underline setting that wasn’t working.
- Added screenshots to plugin page.
- Fixed bug where featured image wouldn’t be used properly anymore.
- Fixed bug where CSS in Extra CSS field could be wrongly escaped.
- Fixed bug where wrong hook was used to
add_post_type_support, causing integration issues.
- Fixed bug where post type settings wouldn’t save properly.
- Added some more escaping to color picker functionality.
- Made sure no notice is thrown on frontend when post type setting isn’t available.
- Split the plugin into several classes.
- Added a settings page, found under SEO -> AMP
- This new settings page has:
- A post types settings tab;
- A design settings tab;
- An analytics integration tab.
- Added sanitization functions that further clean up AMP output to make sure more pages pass validation.
- Added a default image (settable on the design tab) to use when a post has no image. This because the image in the JSON+LD output is required by Google.
- The plugin now automatically enables AMP GA tracking when GA by Yoast is enabled, but also allows you to add custom tracking.
- Initial version.