WordPress HTTPS (SSL)
[resolved] Shared SSL and permalinks problem (4 posts)

  1. skinnybloke
    Posted 3 years ago #

    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?


  2. Mike Ems
    Plugin Author

    Posted 3 years ago #

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

  3. vsip
    Posted 2 years ago #

    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

  4. Duuk
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress HTTPS (SSL)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic