Title: AgeGate not directing to https
Last modified: February 12, 2021

---

# AgeGate not directing to https

 *  [mnlghtrose](https://wordpress.org/support/users/mnlghtrose/)
 * (@mnlghtrose)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/agegate-not-directing-to-https/)
 * Good morning,
 * When clicking ‘yes’ on the AgeGate pop-up, it is not directing to https on my
   site. I cannot find where to tell it to direct to the secure site in the settings.
   All internal links with WP are set to https, so I’m not sure where to fix it 
   for AgeGate. What am I missing?
 * Thank you kindly.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Phil](https://wordpress.org/support/users/philsbury/)
 * (@philsbury)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/agegate-not-directing-to-https/#post-14042117)
 * Hi [@mnlghtrose](https://wordpress.org/support/users/mnlghtrose/),
 * Check the options table in the database for the `site_url` and `home_url` and
   make sure they are also set to `https`. If they are not defined as a constant
   in WP Config you can also check in Settings -> General. If that’s greyed out,
   it’ll have to be the database route.
 * If they are already https, let me know.
 * Thanks
    Phil
 *  Thread Starter [mnlghtrose](https://wordpress.org/support/users/mnlghtrose/)
 * (@mnlghtrose)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/agegate-not-directing-to-https/#post-14042230)
 * Both Site>General and the database home_url and site_url are set to https. I 
   appreciate your quick response.
 *  Plugin Author [Phil](https://wordpress.org/support/users/philsbury/)
 * (@philsbury)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/agegate-not-directing-to-https/#post-14042240)
 * Thanks [@mnlghtrose](https://wordpress.org/support/users/mnlghtrose/),
 * Do you have a url I can see?
 * I’ll do a bit of local testing too.
 * Thanks
    Phil
 *  Thread Starter [mnlghtrose](https://wordpress.org/support/users/mnlghtrose/)
 * (@mnlghtrose)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/agegate-not-directing-to-https/#post-14042269)
 * Please note that my site is not safe for work, which is why I use the AgeGate.
 * [https://mischaeliot.com/](https://mischaeliot.com/)
 *  Plugin Author [Phil](https://wordpress.org/support/users/philsbury/)
 * (@philsbury)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/agegate-not-directing-to-https/#post-14042328)
 * Hi [@mnlghtrose](https://wordpress.org/support/users/mnlghtrose/),
 * All seems to work ok – and you’re using the javascript age gate which doesn’t
   do any redirection (except when you click “no” in your set up).
 * Could you be seeing a cached version somehow?
 * Thanks
    Phil
 *  Thread Starter [mnlghtrose](https://wordpress.org/support/users/mnlghtrose/)
 * (@mnlghtrose)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/agegate-not-directing-to-https/#post-14042562)
 * It’s possible… I’ll use a clean browser and get back to you.
 * Thank you again for being so quick!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘AgeGate not directing to https’ is closed to new replies.

 * ![](https://ps.w.org/age-gate/assets/icon-256x256.png?rev=2783003)
 * [Age Gate](https://wordpress.org/plugins/age-gate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/age-gate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/age-gate/)
 * [Active Topics](https://wordpress.org/support/plugin/age-gate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/age-gate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/age-gate/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)

 * 6 replies
 * 2 participants
 * Last reply from: [mnlghtrose](https://wordpress.org/support/users/mnlghtrose/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/agegate-not-directing-to-https/#post-14042562)
 * Status: not resolved