WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS (SSL)
Shared SSL issues with Bluehost (2 posts)

  1. Nurture
    Member
    Posted 1 year ago #

    I have been trying to set up with a shared SSL on Bluehost, using various combinations of SSL Host in General Settings to no avail. I contacted Bluehost; the response I received is below.

    Please advise?

    Thank you.

    Thank you for contacting support. The reason that your shared ssl program is not working is because of the way that SSL's resolve. When an SSL resolves it lands the user in the default directory. In our directory structure this means that it will load into the public_html folder regardless of the link that is used to get it there. This means that you will need to then use an .htaccess redirect to send the customer onto the right folder. This is just the way that SSL's resolve in a shared hosting environment. In a dedicated server environment where you have access to editing the httpd.conf file you can define where specific urls go. Editing this in a shared hosting environment breaks things and can not be done. If you have tried using the redirects and it is still not loading your site correctly I would try contacting the developer of the plugin for assistance.

    http://wordpress.org/extend/plugins/wordpress-https/

  2. itootrdotcom
    Member
    Posted 1 year ago #

    I had the same problem with a Wildcard SSL certificate and Bluehost. I emailed support so that I could get to a Level II support person and here is the response I got. This solved the problem.

    The problem with running wordpress and a wildcard certificate at the same time is that both of them have their own special .htaccess mod_rewrite rules. You can't just use both sets of rules together, it must be a hybrid of the rules to work properly.

    Luckily I have come across this specific situation before and so I know the rules you'll need. Your .htaccess has been changed to the following:

    # Use PHP5 as default
    AddHandler application/x-httpd-php5 .php
    
    # wordpress rules for maindomain.com site
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^(www\.)?maindomain.com$
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    
    # wordpress rules for subdomain.maindomain.com site
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^subdomain.maindomain.com$
    RewriteCond %{REQUEST_URI} !^/subdomain-folder-name-here/
    RewriteRule ^(.*)$ /subdomain-folder-name-here/$1
    RewriteCond %{HTTP_HOST} ^subdomain.maindomain.com$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(/)?$ subdomain-folder-name-here/index.php [L]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic