• Resolved raynergray

    (@raynergray)


    The Yes and No buttons are automatically redirecting to a secured HTTPS URL instead of the desired basic unsecured HTTP address.

    Is there any way to change this?

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @raynergray,

    Not seen this before, do you run any of the site over HTTPS?

    Thanks
    Phil

    Thread Starter raynergray

    (@raynergray)

    Hi Phil,

    I’m using a Let’s Encrypt certificate, it’s meant to be only active for the wordpress login and administration. I am using “define(‘FORCE_SSL_ADMIN’, true);” in my wp-config file.

    Thanks for taking a look!

    Thread Starter raynergray

    (@raynergray)

    EDIT: I’ve noticed that if I remove “define(‘FORCE_SSL_ADMIN’, true);” the age gate will redirect properly to the unsecured URL. I need admin access to be secured however, so this is not an option.

    • This reply was modified 6 years, 6 months ago by raynergray.
    Plugin Author Phil

    (@philsbury)

    Hi @raynergray,

    Essentially when you submit the form it goes to admin so when it redirects back it gets the HTTPS from the admin url. Changing this could be done but will require some code updates.

    However, why not serve the whole site over HTTPS? Google seems to prefer this.

    Alternatively, you could switch to the Javascript version in the advanced tab and that way there’ll be no redirects at all.

    If neither of those are good for you I can look at adding an option to redirect to plain HTTP.

    Thanks
    Phil

    Thread Starter raynergray

    (@raynergray)

    Thanks @philsbury,

    I’m going to try running the whole site over HTTPS as per your suggestion.

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HTTPS redirect’ is closed to new replies.