Skip to main content
amandac47699591
Participant
April 19, 2019
Answered

I have dreamweaver cs6 and need to redirect to SSL

  • April 19, 2019
  • 2 replies
  • 4999 views

Hi there - I purchased a security certificate from GoDaddy last fall and recently noticed that my website still says not secure.  I called GoDaddy and they said I need to force re-direct to SSL.  (My website appears secure when you manually type in https). 

I don't know how to do this.  When I search, I see lots of posts saying to alter my .htaccess file, but I don't think I have one of those. If I do, I don't know where it is or how to modify it.

I have a mac and am using Dreamweaver CS6 version 12.2 Build 6006.

If it's not yet obvious , I'm a small business owner and don't have a webmaster.

Thanks for your help!

This topic has been closed for replies.
Correct answer amandac47699591

In Dreamweaver, create a file called .htaccess. Copy the code that Paul-M has shown and paste it into the new document. Save and upload the document.


Called GoDaddy back for the 3rd time, they said I needed to create a web.config page, which I did and it now seems to be fixed. 

Thanks everyone!

2 replies

Participant
December 18, 2023

Hi. I am experiencing a similar issue. Could you please explain how you created a web.config page to solve this issue?

Thanks!

Nancy OShea
Community Expert
Community Expert
December 19, 2023

@zarahgspd,

Contact your hosting provider and ask them about SSL/TLS certificates.   Also ask for the best way to permanently redirect traffic from HTTP to HTTPS.  This varies by hosting plan.

 

Most reliable hosts have a panel on the server that you log-in to.  Either c-Panel, WHM or Plesk along with documentation on how to use it.

 

Hope that helps.

 

Nancy O'Shea— Product User & Community Expert
Nancy OShea
Community Expert
Community Expert
April 19, 2019

Dreamweaver has almost nothing to do with SSL/TLS certificates.  This is a server issue.   For Linux hosting plans, editing  the .htaccess file in your server's root directory is the best approach. 

What type of hosting plan do you have?

Do you use the www prefix or a non-www domain?

What operating system do you use on your computer?

Nancy O'Shea— Product User & Community Expert
amandac47699591
Participant
April 20, 2019

I called GoDaddy (twice) and they said I need to modify my html code to force a re-direct to SSL.  I'm asking how to do that.

I use www.

I have a deluxe hosting plan with GoDaddy.  Not sure what other specific answer you are looking for.

I have Mac OSMojave 10.14.4.

Legend
April 20, 2019

If its an apache web server (ask GoDaddy) then you should be able put the code below in a .htaccess file in your web root, you should be able to create a .htaccess file if one doesn't exist.

RewriteCond %{HTTPS} !on

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

That would then redirect all http:// requests to the https:// equivelant

If you wanted to force www. as well as https:// you could add something like this:

RewriteCond %{HTTPS} off [OR]

RewriteCond %{HTTP_HOST} !^www\. [NC]

RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]

RewriteRule ^ https://www.%1%{REQUEST_URI} [L,NE,R=301]

I don't know why GoDaddy would tell you to modify the html code.

Paul-M - Community Expert