Title: How to force HTTPS only for AMP pages
Last modified: December 15, 2017

---

# How to force HTTPS only for AMP pages

 *  Resolved [Damn!](https://wordpress.org/support/users/greedymind/)
 * (@greedymind)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/how-to-force-https-only-for-amp-pages/)
 * 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](https://wordpress.org/support/users/williampatton/)
 * (@williampatton)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/how-to-force-https-only-for-amp-pages/#post-9785335)
 * Hey [@greedymind](https://wordpress.org/support/users/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.
 *  Thread Starter [Damn!](https://wordpress.org/support/users/greedymind/)
 * (@greedymind)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/how-to-force-https-only-for-amp-pages/#post-9785428)
 * Hello [@williampatton](https://wordpress.org/support/users/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](https://wordpress.org/support/users/williampatton/)
 * (@williampatton)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/how-to-force-https-only-for-amp-pages/#post-9785477)
 * Hi [@greedymind](https://wordpress.org/support/users/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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [williampatton](https://wordpress.org/support/users/williampatton/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/how-to-force-https-only-for-amp-pages/#post-9785477)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
