• Resolved eber219

    (@eber219)


    Hello, thank you for creating this great plugin. Two days ago, I enabled the option of AMP redirection on the AMP for WP plugin, which redirects all mobile visitors to the AMP pages of my site (/amp).

    But then I saw that your plugin is not working on those AMP pages. Do you know why that is happening?

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Okoth1

    (@okoth1)

    Hi,

    The whole point of AMP is to only allow a subset of web technologies to stop your page being slow.

    Javascript is often the cause of slow websites and so AMP pages do not allow them (except for the AMP scripts themselves).

    The plugin uses javascript, so it won’t work on AMP. I still need to see if it would work if I put the script in an iframe. Maybe in the future it will be possible to use javascripts in AMP.

    Thread Starter eber219

    (@eber219)

    OK, thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not working on AMP pages’ is closed to new replies.