WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS (SSL)
[resolved] www to non www redirection not working (4 posts)

  1. retroyw
    Member
    Posted 2 years ago #

    Hi Mvied, I'm using the developers version 2.0 that solves my problem accessing to the wp-admin area with a secured subdomain different than the non secured url, but I have identified something that is not very good for me.

    As you can see http://www.hollandhome.es is automatically redirected to http://hollandhome.es but if I activate your https plugin this redirection is not working.

    Any suggestion?

    Thanks in advance.

    http://wordpress.org/extend/plugins/wordpress-https/

  2. Mvied
    Member
    Plugin Author

    Posted 2 years ago #

    Hey retroyw,

    This is because the plugin disables the canonical redirect when using an SSL Host that does not match your home URL. If the canonical redirect isn't disabled, when viewing a secure page, WordPress will throw the page into a redirect loop. I suppose I could only disable the canonical redirect on secure pages. That would be fine. I'll get it into the next release.

    Thanks for the feedback,
    Mike

  3. retroyw
    Member
    Posted 2 years ago #

    Thanks a lot Mike, and congratulations for the plugin, It Rocks!

  4. nerdland
    Member
    Posted 2 years ago #

    I'm having a problem like this, too. Should this be working at this point?

    I'm trying to redirect from https://foo1.example.com/bar1 to https://foo2.example.com/bar2. They're both on the same SSL certificate, if that makes a difference, and the certificate is for *.example.com.

    It's doing some weird things, though. When I use HTTP, it works like I would expect it to. Even when it's from HTTP to HTTPS. As long as I start with HTTP, I get to my end URL, no problem.

    When I use HTTPS, it takes me to https://foo1.example.com/bar2. It takes the directory from the target URL and tries to open it on the domain from the original.

    I'm currently using the Redirection plugin to do this, (http://wordpress.org/extend/plugins/redirection/) but the same behavior happens when I hard-code the redirect into my functions file, so I'm pretty sure it isn't an issue with that plugin.

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic