I just moved my host to GoDaddy, with a Linux server and Auto SSL.
GoDaddy says most websites auto redirect the unsecured website, ie theforemostmarket.com to the secure site, https://theforemostmarket.com
Does WWB provide this capability?
If not, GoDaddy says "there are some modifications you'll need to make to your .htaccess file. Adding a few lines to your .htaccess file will automatically redirect your visitors to the HTTPS version of your website."
There are a couple of scenarios they mention. It's not clear which one applies to WWB, or how to do this within WWB.
See: https://www.godaddy.com/help/redirect-m ... ttps-27870
Some advice would be appreciated. Thanks. Randy
Does GoDaddy provide Auto Redirect to SSL pages?
Re: Does GoDaddy provide Auto Redirect to SSL pages?
Redirecting http:// to https:// is done on the server via .htaccess. If you are not familiar with this, I would suggest reaching out to GoDaddy and they can enable this for you. WB has nothing to do with this functionality. This is a server issue.
- BaconFries
-
- Posts: 5799
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Does GoDaddy provide Auto Redirect to SSL pages?
Without sounding rude have you contacted GoDaddy to ask this?. Generally you purchase a SSL (Secure Socket Layer) license separately and install it on your hosting provider. GoDaddy may provide this at a extra or free but you need to contact them as this is unrelated to the use of the program. As for the redirect this is done with what is better known as a 301 redirect .htaccess file. As previously this is server/host related to which Goadby should help with on how to write and install it correctly for you.Does GoDaddy provide Auto Redirect to SSL pages?
Regarding a .htcaccess all you really need to know is at the following url you gave.
https://uk.godaddy.com/help/redirect-my ... ttps-27870
Re: Does GoDaddy provide Auto Redirect to SSL pages?
BaconFries, I also don't want to be rude, and truly appreciate your support. My posting said that I contacted GoDaddy. Furthermore, I provided their feedback, and the related web-link.
I interpret the words "YOUR WEBSITE" as WWB, something that I should do within WWB. Hope this clarification of my understanding helps.
Please look at #7 at https://www.godaddy.com/help/redirect-m ... ttps-27870
7. Select the .htaccess file, and click Edit. If you just created your .htaccess file, use the following code to set up the URL redirect to the HTTPS version of YOUR WEBSITE:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^(www\.)?coolexample\.com
RewriteRule ^(.*)$ https://www.coolexample.com/$1 [R,L]
If your .htaccess file already exists in your hosting account, do not duplicate ReWriteEngine On. Insert the lines that begin with ReWriteCond and RewriteRule directly after the already existing ReWriteEngine On.
I interpret the words "YOUR WEBSITE" as WWB, something that I should do within WWB. Hope this clarification of my understanding helps.
Please look at #7 at https://www.godaddy.com/help/redirect-m ... ttps-27870
7. Select the .htaccess file, and click Edit. If you just created your .htaccess file, use the following code to set up the URL redirect to the HTTPS version of YOUR WEBSITE:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^(www\.)?coolexample\.com
RewriteRule ^(.*)$ https://www.coolexample.com/$1 [R,L]
If your .htaccess file already exists in your hosting account, do not duplicate ReWriteEngine On. Insert the lines that begin with ReWriteCond and RewriteRule directly after the already existing ReWriteEngine On.
Re: Does GoDaddy provide Auto Redirect to SSL pages?
This is the code I use, and it seems to work well with GoDaddy (linux): it does the following:
redirects index.html to root url
redirects non-www to www
redirects http to https
redirects "page not found" to root url (this is not the best way, you should redirect to a 404.html page that has a "no index, no follow" tag on it.
Doing so deals with "duplicate content".
A repeat call into GoDaddy will make sure this will work with your specific hosting account at GoDaddy.
rewriteengine on
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} mywebsite\.com [NC]
RewriteRule ^(.*)$ https://www.mywebsite.com/$1 [R=301,L]
rewritecond %{HTTP_HOST} ^www.mywebsite.com$ [OR]
rewritecond %{HTTP_HOST} ^mywebsite.com$
rewriterule ^index\.html$ "https\:\/\/www\.mywebsite\.com\/" [R=301,L]
rewritecond %{HTTP_HOST} ^mywebsite.com$
rewriterule ^(.*)$ "https\:\/\/www\.mywebsite\.com\/$1" [R=301,L]
RewriteCond %{HTTP_HOST} ^000\.000\.00\.000
RewriteRule (.*) https://www.mywebsite.com/$1 [R=301,L]
RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
RewriteRule .* ? [F,L]
ErrorDocument 404 /index.html
AddType 'text/html; charset=UTF-8' html
redirects index.html to root url
redirects non-www to www
redirects http to https
redirects "page not found" to root url (this is not the best way, you should redirect to a 404.html page that has a "no index, no follow" tag on it.
Doing so deals with "duplicate content".
A repeat call into GoDaddy will make sure this will work with your specific hosting account at GoDaddy.
rewriteengine on
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} mywebsite\.com [NC]
RewriteRule ^(.*)$ https://www.mywebsite.com/$1 [R=301,L]
rewritecond %{HTTP_HOST} ^www.mywebsite.com$ [OR]
rewritecond %{HTTP_HOST} ^mywebsite.com$
rewriterule ^index\.html$ "https\:\/\/www\.mywebsite\.com\/" [R=301,L]
rewritecond %{HTTP_HOST} ^mywebsite.com$
rewriterule ^(.*)$ "https\:\/\/www\.mywebsite\.com\/$1" [R=301,L]
RewriteCond %{HTTP_HOST} ^000\.000\.00\.000
RewriteRule (.*) https://www.mywebsite.com/$1 [R=301,L]
RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
RewriteRule .* ? [F,L]
ErrorDocument 404 /index.html
AddType 'text/html; charset=UTF-8' html
The Website Guy - MN
Small Business Web Design
Small Business Web Design