Highlighted

ssl and 301redirect for idiots like me

New Here ,
Jan 03, 2019

Copy link to clipboard

Copied

I purchased and activated and ssl certificate for my site.  They said I had one more step:

"

301 Redirect

To complete the SSL certificate process another step is required. The secure SSL requires a 301 redirect which creates an encrypted connection between the visitor and your site.

Can you tell me how to do that, while assuming the last solid coding I did was in APL back in the 70's?

Thank you.

peace

pgm

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

Does your web host give you a c-Panel to work with?  Often that's where you make changes to the server's .htaccess file.

How to edit your .htaccess

TOPICS
Learn Dreamweaver

Views

201

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

ssl and 301redirect for idiots like me

New Here ,
Jan 03, 2019

Copy link to clipboard

Copied

I purchased and activated and ssl certificate for my site.  They said I had one more step:

"

301 Redirect

To complete the SSL certificate process another step is required. The secure SSL requires a 301 redirect which creates an encrypted connection between the visitor and your site.

Can you tell me how to do that, while assuming the last solid coding I did was in APL back in the 70's?

Thank you.

peace

pgm

Adobe Community Professional
Correct answer by Nancy OShea | Adobe Community Professional

Does your web host give you a c-Panel to work with?  Often that's where you make changes to the server's .htaccess file.

How to edit your .htaccess

TOPICS
Learn Dreamweaver

Views

202

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jan 03, 2019 0
Adobe Community Professional ,
Jan 03, 2019

Copy link to clipboard

Copied

It probably means to set up a 301 redirect in htaccess file to make sure if a non https request is made its redirected to https

RewriteCond %{HTTPS} !on

RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301]

Let me know if you need more help

Paul-M, ACP

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 03, 2019 0
Adobe Community Professional ,
Jan 03, 2019

Copy link to clipboard

Copied

Even better is probably to make sure all requests are on https and www with something like this:

#FORCE HTTPS AND WWW.

RewriteCond %{HTTPS} off [OR]

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

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

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

It will help prevent canonical issues with www. and non www URLs

Paul-M, ACP

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 03, 2019 1
Adobe Community Professional ,
Jan 04, 2019

Copy link to clipboard

Copied

Does your web host give you a c-Panel to work with?  Often that's where you make changes to the server's .htaccess file.

How to edit your .htaccess

Nancy O'Shea, ACP
Alt-Web Design & Publishing

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 04, 2019 0
Adobe Community Professional ,
Jan 04, 2019

Copy link to clipboard

Copied

It may be an idea to find out what type of server that you are dealing with. The other two replies assume that you are hosting your site on an Apache server, but if it happens to be a Windows server, you will need to make the changes in web.config. If the server is an NGINX box, the changes will have to be made in the Plesk Panel as per


Ben

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 04, 2019 0