• Resolved jillii

    (@jillii)


    Hi,

    I posted this question on github, although I’m not sure if that forum is actively managed. We love Redirection and use it on all our client sites. We’re having trouble with the HTTP -> HTTPS redirect. It seems like when the user enters the URL using HTTP, they don’t get redirected to HTTPS.

    One things that’s (maybe) important to note is that the domain has www subdomain prepended to it.

    I’m avoiding sharing any specific pages to honor the client’s privacy (but I can email you if that would be helpful).

    Thank you so much!

    Jill

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

    (@azibyaqoob)

    Hi Jill,

    Here are some troubleshooting steps you can take to resolve this:

    1. Check Redirection Rules: Ensure that you have set up a redirection rule in the Redirection plugin to redirect HTTP URLs to HTTPS. Double-check the rule to make sure it’s configured correctly and targeting the appropriate URLs.
    2. Server Configuration: Verify that your server is properly configured to handle HTTPS requests. Check your server’s configuration files (e.g., .htaccess for Apache servers) to ensure that the redirection is properly configured at the server level.
    3. WordPress Address and Site Address: Go to the WordPress dashboard, navigate to Settings > General, and ensure that both the WordPress Address (URL) and Site Address (URL) fields start with “https://”. This ensures that WordPress generates HTTPS URLs.
    4. Mixed Content: Check for mixed content issues on your website. Mixed content occurs when some resources (such as images, scripts, or stylesheets) are loaded over HTTP instead of HTTPS, causing the browser to display a warning. Use your browser’s developer tools to identify any mixed content issues and fix them.
    5. Clear Cache: If you’re using a caching plugin or server-side caching, clear the cache to ensure that the redirection rules are being applied correctly.
    6. Plugin Compatibility: Ensure that the Redirection plugin is compatible with your current version of WordPress and other plugins installed on your site. Update the plugin if a newer version is available.
    7. Test Different Browsers and Devices: Test the redirection using different browsers and devices to rule out any browser-specific issues.
    8. Check with Hosting Provider: If you’ve tried all the above steps and the issue persists, contact your hosting provider to see if there are any server-level issues preventing the redirection from working correctly.

    I hope this helps.

    Thanks

    Thread Starter jillii

    (@jillii)

    Hm, this seems like troubleshooting for when HTTPS does not work at all. It’s working, but the redirect from HTTP to HTTPS does not – visitors can still access HTTP pages if they explicitly type HTTP into the address bar.

    Let me know if that changes anything! Thanks for your help ??

    Plugin Author John Godley

    (@johnny5)

    I suspect that is a ChatGPT reply.

    The https URL does not to be set in the WordPress URL settings.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘HTTP to HTTPS redirect isn’t working’ is closed to new replies.