AMP compatability
-
Hello @ritughai
Thank you for contacting us, it seems you are using NewsPaper theme by tagDiv.
Most of the issues that are created by your theme can be fixed using their add-on tagDiv mobile theme
We will recommend checking their documentation for it.
We hope this helps!
@ritughai As we didn’t receive a response I’ll mark this as resolved. Feel free to open a?new support topic?if you require any further assistance.
Thanks. It got sorted on its own on the particular website that I was seeking help with.
But, it is not showing up properly on another site that I am using Amp on.
This is the staging site using Newspaper theme. When I see the mobile version in edit mode on my desktop it is perfect, but when I access it on my mobile device, I am not able to see the About Us as it should.
There must be something wrong with what I am doing and am not a developer, but am not able to locate the problem even after going through all the documentation available.
Please advise.
TIA
ampwp-f3282d91-924a-5c44-b8d1-5b7e55884332
-
This reply was modified 2 years ago by
ritughai.
Hello @ritughai
Thank you for getting back to us, You might have “kept” a validation error using AMP plugins validation tool.
The mechanism is provided to user if they prefer a feature over being AMP validation.
eg: if a page has forms that need custom javascript to function properly and if the user chooses to keep form working by marking AMP invalidation as kept instead of the page being valid.
If you kept an invalidation it makes your AMP page invalid the Google Search Console will keep reporting an invalid page and it will defeat the purpose of having AMP
The AMP plugin has a mechanism that redirects AMP pages that have validation marked as kept to the non-AMP page, with query parameters
?noamp=available
that should prevent redirecting the mobile page. but in your case, the query parameter is being stripped for the About us pageWe will recommend following actions:
- Contact your hosting provider and make sure that query parameter is not stripped off.
- Goto AMP->Validated URLs -> Look for Kept validation URL and mark it as removed
- Re-Installing AMP plugin by making sure that “Delete plugin data at uninstall” is turned ON from AMP->Settings->Other
- You can also disable mobile redirection, this won’t affect how AMP pages are served from AMP cache
We hope this is helpful!
Thanks.
I didn’t quite locate this: Goto AMP->Validated URLs -> Look for Kept validation URL and mark it as removed
I will try the reinstallation option you have suggested…and revert.
Hi Milind,
I am referring to maverickfoundation.ca this time.
It had been running fine, till yesterday when all the pages started showing:
Notice: Function amp_is_available was called?incorrectly.
amp_is_available()
(oramp_is_request()
, formerlyis_amp_endpoint()
) was called too early and so it will not work properly. WordPress is currently doing theinit
hook. Calling this function before thewp
action means it will not have access toWP_Query
and the queried object to determine if it is an AMP response, thus neither theamp_skip_post()
filter nor the AMP enabled toggle will be considered. It appears the plugin with slugjetpack
is responsible; please contact the author. Please see?Debugging in WordPress?for more information. (This message was added in version 2.0.0.) in?/var/www/wp-includes/functions.php?on line?5835Plus, I am not able to go to the Settings of Jetpack. There is an error.
When I disconnect Jetpack plugin, the error disappears.
I must say that things have been fine and operational ever since the website was launched, but not any more. Besides, I am struggling with the Podcast page as the Amp version is not visible.
Please help once again.
RG
Hello @ritughai
Can you please create a new support topic so we can handle it separately for that particular site, also please send us Support UUID so we can investigate the issue.
-
This reply was modified 2 years ago by
- The topic ‘AMP compatability’ is closed to new replies.