Title: [Plugin: HTTPS for WordPress] Themes without get_header
Last modified: August 19, 2016

---

# [Plugin: HTTPS for WordPress] Themes without get_header

 *  Resolved [Anthony](https://wordpress.org/support/users/ajferg/)
 * (@ajferg)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-plugin-https-for-wordpress-themes-without-get_header/)
 * The redirect actions run from the ‘get_header’ hook, which not all themes have.
 * I got this working with my theme by changing that hook to use ‘template_redirect’
   instead. This also makes the redirect happen earlier in the page-load process,
   which helps avoid conflict with other plugins.
 * [http://wordpress.org/extend/plugins/wordpress-https/](http://wordpress.org/extend/plugins/wordpress-https/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-plugin-https-for-wordpress-themes-without-get_header/#post-1718155)
 * Hmm, I wasn’t aware that not all themes used get_header. That would make sense
   if the hook was in wp_head(), because I know I’ve done some themes that don’t
   use wp_head().
 * I think I had problems using template_redirect back when I was using a different
   method of redirecting other than wp_redirect (not sure why). I’ve since changed
   the plugin to use wp_redirect. I’ll be sure to get this into the next update.
   Thanks for the tip. 🙂

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: HTTPS for WordPress] Themes without get_header’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-https_bec2c9.svg)
 * [WordPress HTTPS (SSL)](https://wordpress.org/plugins/wordpress-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-https/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [mvied](https://wordpress.org/support/users/mvied/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-wordpress-https-plugin-https-for-wordpress-themes-without-get_header/#post-1718155)
 * Status: resolved