AMP HTML Tag problem

Posted in: Newspaper
Post count: 23

Hello,

For my website: https://www.povesteata.eu/ i receive today this message from google Search Console:

Erorile pot împiedica afișarea paginii sau funcției dvs. în rezultatele Căutării Google. Pe site-ul dvs. au fost descoperite următoarele erori:

AMP HTML Tag has an invalid layout specified by its attributes.
An AMP component ‘script’ tag is present, but unused.

Any ideea how i can fix that ?

Post count: 35449

Hello!

Please make sure that you do not have a plugin conflict with untested plugins, please deactivate all non theme, also if you are using child theme, clear all cache and try again.

Let me know the results!
Thank you!

Post count: 23

Hello,

I have desactivate all the plugin, I activate again and all run good now.
I realy don’t know what was the problem.

Now, the test it’s OK!

Now i have another proble. I rely don’t know where i must put the code for show me the GDPR, because on the desktop version it’s work but on the mobile version ot work.

Any ideea?

Post count: 35449

Hi,

I checked your website and I see that you have a cache problem, the mobile theme version is how on the desktop, we recommend to use the WP Super Cache Plugin

If your code for GDPR need to be set between <head></head> tags then you can set the code in mobile theme analytics http://prntscr.com/omerj7 or in mobile http://prntscr.com/omerqq if this is not working you can try some plugins for GDPR.

Thank you!

Post count: 23

Hello,

For the GDPR code it’s work now.

For WP Super Cache Plugin, i can’s install it because u use allready the WP-Rooket Pro version plugin and i will generate one conflict.

I will share the problem with WP-Roket support because i must to know exact what it’s the problem.

Many regards.

Post count: 23

Hy again,

I test my website on google chrome incognito and i see that the desktop version it’s like on mobile vrsion!
can you test also: http://www.povesteata.eu

Many regards

Post count: 18283

Hello !

Usually the issue about mobile version beign rendered on desktop is due to cache. Please make sure to use a cache plugin ( we do recommend using WP Super Cache: https://tagdiv.com/wp-super-cache-plugin-install-and-configure/ )

Let me know if this was helpfull !

Thank you !

Post count: 23

Ah, OK, i understend!
How i said before, i can’t install it because it’s in conflict with wp-roket plugin.
OK, i have share the problem with wp-roket support.

Many regards

Post count: 18283

Hello !

You can try the option a user sugested: WP Rocket > Settings > File Optimization > CSS FILES > Uncheck Optimize CSS Delivery.

If this doesn’t work see what WP Rocket support sugests.

Thank you !

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.