WordPress.org

Forums

Media Temple SSL Redirect Loop (7 posts)

  1. Drew Baker
    Member
    Posted 5 years ago #

    Hey Guys,
    I'm using the amazing e-commerce plugin called Shopp. Problem is that my host (mediaTemple) has some issues with SSL. The Shopp guys have a good solution to the problem here.

    All I need to do is add this line to the if statement on line 49 of canonical.php:

    $requested_url = str_replace(':443', '', $requested_url);

    My question is, how can I accomplish this using function.php rather than hacking canonical.php? If not using function.php, then another way that is more upgrade friendly?

    Thanks!

  2. morrissam
    Member
    Posted 5 years ago #

    There is a command line solution here but I am not sure if it will cause any harm to WordPress.

    http://how.4cpus.com/wordpress-ssl-redirect-loop/

  3. tshirtfiend
    Member
    Posted 5 years ago #

    @dbaker I'm having the same problem. Did you ever get resolution? This would be a pain if this is our only option…

    I'm finding out that Media Temple is pretty crappy.

  4. David G. Johnson
    Member
    Posted 4 years ago #

    Having this issue. Have attempted the command line "fix" via SSH, but it doesn't seem to be working.

    Anyone else find a resolution to this?

  5. David G. Johnson
    Member
    Posted 4 years ago #

    Whoops! Meant to subscribe.

  6. alekone
    Member
    Posted 4 years ago #

    +1 I have the same problem.
    I'm on mediatemple
    I don't even know what code I should search in the mysql database.
    HaveAnEpiphany did you solve it?

  7. David G. Johnson
    Member
    Posted 4 years ago #

    @alekone

    Yes: I was able to get this resolved with some assistance from Media Temple tech support.

    For the record, my experience with them has been nothing but fantastic. I'm not sure what it is about their server config that causes this loop to be an issue, but their support has been really stellar.

    Here is specifically how it was resolved: The MediaTemple community wiki has a page addressing this issue. I attempted to use this fix, which refers to a solution posted here.

    However, when I ran this fix via SSH on my server at Media Temple, it wasn't resolved.

    When support tackled it for me, though, they ran that command in the WordPress folder (the folder containing the actual WordPress files). For my domain, I had configured WordPress to "answer" at the root, but had the files tucked away in a separate folder. So... when they ran the same command in the actual WordPress folder, the issue was resolved.

    It's been stable and functioning well ever since.

    Hope this helps!

Topic Closed

This topic has been closed to new replies.

About this Topic