Support » Plugins and Hacks » [Resolved] Shared SSL and permalinks problem

[Resolved] Shared SSL and permalinks problem

  • Hi – I want to apply SSL to about 4 pages of my site which visitors will only see when they go through a checkout procedure.

    I have a shared SSL certificate and the SSL pages only display when I set the permalinks to be default. Otherwise I get a 404 error.

    I really want the site to display Pretty Permalinks for all pages and posts on the site, but I am willing to compromise on these 4 pages.

    Therefore, my question is, can I set all pages to be Pretty Permalinks except these 4 SSL pages, which need to be set as default pages? If so, how?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mike Ems


    No. If you want to use permalinks, you can’t use that shared SSL.

    you can try to add the following line to your functions.php

    $_SERVER[“REQUEST_URI”] = preg_replace(‘^/~username/‘, ”, $_SERVER[“REQUEST_URI”]);

    This solved the 404 error with my shared SSL host and permalinks

    vsip, where did you add those lines to your functions.php?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Shared SSL and permalinks problem’ is closed to new replies.