WordPress.org

Support

Support » How-To and Troubleshooting » Force SSL and putting pages in seperate directories

Force SSL and putting pages in seperate directories

  • Hi All:

    I’m trying to use a shared SSL certificate on my website for a contact form. It’s actually a multiple page form using cforms and I will only need to secure the last page of it, but if I need to secure the whole order form then so be it.

    Because this is a shared SSL server I want to use it as little as possible and therefore do not want to force SSL the entire directory my site is located in. Is there any way to put all of the order form pages in a separate directory than the rest of the pages and posts so I can edit the .htaccess file to just force SSL on that directory? I tried using a permalink structure to make it look like /order/ was an actual directory (the parent page is ‘order’) and then putting all of the forms as children of that so the URL appeared like site.com/order/form1. I then edited the .htaccess file for the /order/ directory but it puts me in an infinite loop.

    If anyone has any suggestions I would be much obliged 🙂 Thank you!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • WordPress doesn’t use “directories”. Perhaps you could place all SSL posts in a specific category and use a rewrite for SSL on just that category?

    The problem is that I need to force the use of the SSL in the .htaccess file for that specific directory. Since 1) categories can only be used with posts, not pages and 2) the “directories” I have aren’t really directories on my FTP, I’m stuck.

    Esmi, your solution is exactly what I was thinking could work but I need to put the .htaccess file int hat “directory”. Does anyone else happen to have any suggestions? 😀

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Force SSL and putting pages in seperate directories’ is closed to new replies.
Skip to toolbar