Support » Plugins » Media Temple SSL Redirect Loop

  • 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?


Viewing 6 replies - 1 through 6 (of 6 total)
  • There is a command line solution here but I am not sure if it will cause any harm to WordPress.

    @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.

    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?

    Whoops! Meant to subscribe.

    +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?


    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!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Media Temple SSL Redirect Loop’ is closed to new replies.