• Resolved Anoop Vaish

    (@techuhelp)


    i am getting this error The attribute ‘href’ in tag ‘link rel=stylesheet for amp-story-1.0 css’ is set to the invalid value ‘/assets/vendor/googleapis/css2?display=swap&family=Laila%3Awght%40600%3B700’.

    all my webstories page become invalid due to this error

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi @techuhelp thanks Thanks for opening the topic and sorry to hear you are having troubles with your stories. Please could you provide your Site Health Information privately via this form so I can perform some checks on my side to see if anything stands out.

    Thread Starter Anoop Vaish

    (@techuhelp)

    i have filled the form please check

    @techuhelp thanks a lot for the information. I can see a few plugins you have active that we have seen conflicts with in the past so it would be helpful if you could try temporarily deactivating these first to check if any are causing a conflict. Could you try temporarily deactivating the following plugins and checking your story in an Incognito window after deactivating each.

    1. Accelerated Mobile Pages
    2. WP Rocket
    3. Rank Math SEO

    Let me know if the AMP validation error clears after deactivating any of these.

    Thread Starter Anoop Vaish

    (@techuhelp)

    I HAVE TRIED BUT NOT WORKED

    @techuhelp thanks for trying this and sorry to hear you didn’t find the cause. Could I please ask if you are using any of the following features within the WP Rocket plugin:

    • Preload > Preload Fonts
    • File optimization > Minify CSS files

    It would also be helpful if you were able to export and share your WP Rocket settings so that we can test these against some stories to see if any settings could be causing the issue. You can get this by going to Settings > WP Rocket > Tools > Export settings. You can share the file via a Google Drive link.

    Thread Starter Anoop Vaish

    (@techuhelp)

    Iam using exclude option for web stories. Wp rocket settings

    @techuhelp I am doing some testing on my side but while I do, could you check if you switch off the Minify CSS files setting and check your stories once more does this make any difference for you?

    @techuhelp Did you switch off the Minify CSS files option and if so did it make any difference for you?

    Thread Starter Anoop Vaish

    (@techuhelp)

    That error coming from cloudflare. And solved by cloud flare

    Thread Starter Anoop Vaish

    (@techuhelp)

    Thanks for helping me

    @techuhelp You’re welcome and glad to hear you found the cause and got the solution from Cloudflare.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘The attribute ‘href’ in tag ‘link rel=style’ is closed to new replies.