Title: Shared SSL and permalinks problem
Last modified: August 20, 2016

---

# Shared SSL and permalinks problem

 *  Resolved [skinnybloke](https://wordpress.org/support/users/skinnybloke/)
 * (@skinnybloke)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/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?
 * [http://wordpress.org/extend/plugins/wordpress-https/](http://wordpress.org/extend/plugins/wordpress-https/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [mvied](https://wordpress.org/support/users/mvied/)
 * (@mvied)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/shared-ssl-and-permalinks-problem/#post-3191007)
 * No. If you want to use permalinks, you can’t use that shared SSL.
 *  [vsip](https://wordpress.org/support/users/vsip/)
 * (@vsip)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/shared-ssl-and-permalinks-problem/#post-3191123)
 * 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
 *  [Duuk](https://wordpress.org/support/users/duuk/)
 * (@duuk)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/shared-ssl-and-permalinks-problem/#post-3191124)
 * vsip, where did you add those lines to your functions.php?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Shared SSL and permalinks problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-https_bec2c9.svg)
 * [WordPress HTTPS (SSL)](https://wordpress.org/plugins/wordpress-https/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-https/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-https/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-https/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-https/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-https/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Duuk](https://wordpress.org/support/users/duuk/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/shared-ssl-and-permalinks-problem/#post-3191124)
 * Status: resolved