yurat
Forum Replies Created
-
Forum: Plugins
In reply to: [AMP] Validation issuesthe same issue, I’ve juast changes path in code and even forget to open new issue about it
you can chabge it by adding https to the url in wp-content/plugins/amp/includes/class-amp-post-template.php
Forum: Plugins
In reply to: [AMP] /amp/ permalink not working?what is your url structure?
domain.com/?p=123 or smth else?
Forum: Plugins
In reply to: [AMP] HELP HELP – AMP pages creating dupliacte content issueand rel canonical present, but anyway…
Forum: Plugins
In reply to: [AMP] HELP HELP – AMP pages creating dupliacte content issueRussin Yandex search engine already give me more then 10 hits to amp pages not from mobile devies.
So, yes for some searchengines, it is duplicate contente, so at first time it’s good to give amp pages only to google useragent
Forum: Plugins
In reply to: [AMP] How to run functions on only AMP pages?HI. is_amp_endpoint() for example, not work in single.php, seems amp not use it, but for sure will work in functions.php of your theme. So you can use some filters and change your content from functions.php
in another way you can change some code in wp-content/plugins/amp/templates/single.php
Forum: Plugins
In reply to: [AMP] Image: False on New version 0.3.2I saw the same porble after update of Glue for Yoast SEO & AMP
if you have this plugin and yoast seo – go to SEO -> AMP and set default image or disable Glue for Yoast SEO & AMP
Forum: Plugins
In reply to: [AMP] Very odd issue with Google "Structured Data Testing Tool"as example:
no erros with https://url&am_p=1 https://developers.google.com/structured-data/testing-tool?url=http%253A%252F%252Frada2012.net.ua%252F%253Fp%253D36801%2526am_p%253D1
and you can just add & to the and of url and errors appear
smth like https://url&_p=1&
Forum: Plugins
In reply to: [AMP] Very odd issue with Google "Structured Data Testing Tool"4 Days testing and find out that it’s Google’s bug
I’m using bad permlinks with querys “?p”, so for me amp urls looks like domain.com/?p=123&=1 and finally I find out that
“Structured Data Testing Tool” always show errors for fields “logo” and “image” if url contains “&”
crazy, spend a lot of time for it
Google console also show errors.
for quick hack i’ve changed variable for amp pages in amp.php:
define( ‘AMP_QUERY_VAR’, apply_filters( ‘amp_query_var’, ‘am_p’ ) );
now my amp pages show no erros in data tool.