Skip to content

General FAQ's and Common Issues

jamesozzie edited this page Aug 29, 2018 · 2 revisions

First please read the AMP Project’s [frequently asked questions](https://www.ampproject.org/support/faqs/).

Common Issues

How do I customize the AMP output for my site?

If you’re using ["Native AMP" or "Paired Mode"](https://github.com/Automattic/amp-wp/wiki/Adding-Theme-Support), this will generally apply any changes you make in the Customizer. When using [Legacy Templating](https://github.com/Automattic/amp-wp/wiki/Legacy-Templating-And-Customization), in your Customizer’s "AMP" panel, you can edit the "Header Text Color," "Header Background & Link Color," and "Color Scheme."

What embed and shortcode support is there?

Check out the wiki page on [Native WordPress Embed And Shortcode Support](https://github.com/Automattic/amp-wp/wiki/Native-WordPress-Embed-And-Shortcode-Support).

What about analytics?

Many plugins are adding AMP support already. If you handling analytics yourself, please see the wiki page about [Analytics](https://github.com/Automattic/amp-wp/wiki/Analytics).

Google Webmaster Tools is reporting validation errors for my site. How do I fix them?

The best place to start is to open a new discussion in the [support forum](https://wordpress.org/support/plugin/amp) with details on what the specific validation error is.

Help! My AMP URL redirects me to my non-AMP page!

Solution: Check to make sure the plugin is activated—often times, this is caused by not activating the plugin itself, which causes the /amp/ at the end of your pages to redirect to the normal page. Turn that plugin on, and Presto! This issue is solved!

Google’s AMP Validator says “A value for the image field is required.”

Solution: Add a featured image to your post. To show the card at the top of search results, it’s important to include a featured image for Google to consider a post “valid”.

What if I don’t have a featured image for each post?

We’d recommend creating a generic image to use with each post for optimized viewing. That will make your post appear more attractive on Google itself without requiring you to find a new, unique image; featured images are currently necessary for Google to index your AMP-powered pages, so if you have one to include in every post, that will not only resolve this issue, but it will also help with SEO!

The AMP plugin currently creates metadata for the featured image for you, which is why it’s so important to have one.

I am getting a loading error on my AMP posts—​the background seems to load, but the rest of the page (including images) isn’t loading quickly or at all. What’s wrong?

Most likely, [another plugin may be interfering](https://github.com/Automattic/amp-wp/wiki/Compatibility-Issues) with your AMP posts—​if you’ve installed a few new plugins, try deactivating them one at a time to see if that makes a difference. Certain settings can interfere with the loading of the page, so once you narrow it down, try adjusting the settings and extensions as well on other plugins. That can help!

How can I remove default schema markup added by the plugin?

You can remove default schema markup like this:

remove_action( 'amp_post_template_head', 'amp_post_template_add_schemaorg_metadata' );

Help! My question wasn’t answered in the above.

Check out the [AMP help forums here](https://wordpress.org/support/plugin/amp). :) You might find your question has already been answered, or you can post a new one.

Clone this wiki locally