I read the article about forcing the http to https and I added the code it said to add to my .htaccess file and my site stopped working… here are the contents of my .htaccess file…
You may want to remove that second RewriteEngine On from the file. Whenever that line is run, any rewrite rules set previously are cleared. This is a useful feature in some cases (e.g. when you’re installing another script in a subdirectory). But in this case, it also removes the rewrite rules of your own software.
for some reason now it went back to directing to http instead so I redirected it using the redirect now it is pointing to https but the content is showing the too many redirect error, any ides how to fix this?
Do not use the redirects tool to redirect to your own domains. It will just create a redirect loop. Remove the redirect you added through the tool and don’t touch the tool again.
Looking at your .htaccess code, maybe you need to move the .htaccess code for the HTTPS redirect above the existing rewrite rules. So just below the last </FilesMatch> line. Your current .htaccess rules may capture the request before it matches the HTTPS code.
now it seems to direct to https but now I get no content and the error says " |Message:|SQLSTATE[HY000] [2002] Connection refused|
| — | — |
|File:|/home/vol9_5/epizy.com/epiz_25485944/collabplanet.online/htdocs/ow_core/database.php| "
well currently none of my site is showing so its on every page all the time right now, https://collabplanet.online is the link if it would help to see the problem im talking about
For me it throws an ERR_TOO_MANY_REDIRECTS error. Please remove all of your redirect codes from the “Redirects” section of the Control Panel, and then correct your .htaccess file to have these rules instead:
i made sure there werent any redirects in the control panel and changed the .htaccess code but nothing seems to have changed on my site. I still get that same error
I did some testing on your account, and even when I remove all .htaccess related code, your site appears to enforce non-HTTPS URLs on your site. Can you please check the configuration of your website to see if it has any way to configure HTTPS or website URLs? Because enforcing HTTPS in your .htaccess file won’t get you anywhere if your website code then enforces HTTP.
I believed I fixed the ssl issue but im getting an erro that says it cant find the master page when I try to visit the site. Any idea whats causing this?
I checked your site, but I see a login page without any errors.
And “master page” sounds like it would be a function of the website software you’re using. So you may want to search the web for error message with the name of the software.