Support » Fixing WordPress » How to force HTTPS only for AMP pages

  • Resolved Damn!

    (@greedymind)



    Hello,

    I would to know if it possible to force HTTPS only for AMP pages.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • williampatton

    (@williampatton)

    Hey @greedymind,

    I do not know of a plugin to force HTTPS for only the content that is not easily proxied for the AMP pages.

    I believe it would be possible with some custom code work however if you are going to the effort to secure the connections for the items which Google isn’t proxying then I would highly encourage you to go full HTTPS for the main site as well.

    It’s a lot easier (and more secure and/or beneficial to your users) to go fully HTTPS than it is to go to the effort of setting up the ability to use HTTPS and then holding it back for most of your content most of the time.

    Damn!

    (@greedymind)

    Hello @williampatton,

    Thanks for the reply. I know that makes total sense. But for some reason forcing https accross the site broke my theme’s design, and the reason I wanted to force https only to AMP pages was because of google’s restriction to only fetch iframes from secure sources and since the AMP pages doesn’t use any of my theme’s templates I thought it would be perfect. But nevermind now as I had fixed the issue that was breaking my theme. I now use https accross the site. 🙂

    Thanks.

    williampatton

    (@williampatton)

    Hi @greedymind

    I’m happy you manage you resolve the issues without needing to complicate things with the additional custom code 🙂

    Enjoy the rest of your day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to force HTTPS only for AMP pages’ is closed to new replies.