SSL, Subdomain, and htaccess problem
Permalinkhttp://meals.moyermethod.com
I had Bluehost activate a Wildcard SSL to cover the subdomain. I need to be able to see the full site when I go to:
https://meals.moyermethod.com
This wasn't working so I contacted Bluehost tech support. They changed my .htaccess in public_html to this:
# Use PHP54.4 Single php.ini as default AddHandler application/x-httpd-php54s .php # BlueHost.com #.htaccess WildCard SSL RewriteEngine On RewriteCond %{HTTP_HOST} ^meals.moyermethod.com$ RewriteCond %{REQUEST_URI} !^/meals/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /subfolder/$1 RewriteCond %{HTTP_HOST} ^meals.moyermethod.com$ RewriteRule ^(/)?$ meals/index.php [L]
And they changed the .htaccess in the subdomain folder to this:
RewriteEngine on RewriteCond %{HTTP_HOST} ^moyermeals\.com$ [OR] RewriteCond %{HTTP_HOST} ^www\.moyermeals\.com$ RewriteRule ^/?$ "http\:\/\/meals\.moyermethod\.com\/" [R=301,L] # -- concrete5 urls start -- <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}/index.html !-f RewriteCond %{REQUEST_FILENAME}/index.php !-f RewriteRule . index.php [L] </IfModule> # -- concrete5 urls end --
The good news is: When I now go to
https://meals.moyermethod.com
https://moyermethod.com/link
https://meals.moyermethod.com/link
Any ideas? Thanks for the help...