cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution

why https://example.com not redirecting to https://www.example.com ?

3 ACCEPTED SOLUTIONS
Rockstar II

@assamrecruitmen Update the following code in your site's .htaccess

 

RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [L,R=301]

Update yourdomain.com to your site's url

---

View solution in original post

Community Manager

Hi @assamrecruitmen. The instructions @justingodfrey provided will work for a Linux (cPanel) plan. Take a look at this article for other redirect methods if you don't have a Linux hosting environment. 

 

JesseW - GoDaddy | Community Manager | 24/7 support available at x.co/247support | Remember to choose a solution and give kudos.

View solution in original post

Rockstar II

@assamrecruitmen @JesseW Also, if you're using Wordpress there are multiple plugins that will do this automatically for you, I've used them myself.

---

View solution in original post

3 REPLIES 3
Rockstar II

@assamrecruitmen Update the following code in your site's .htaccess

 

RewriteEngine On
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [L,R=301]

Update yourdomain.com to your site's url

---

View solution in original post

Community Manager

Hi @assamrecruitmen. The instructions @justingodfrey provided will work for a Linux (cPanel) plan. Take a look at this article for other redirect methods if you don't have a Linux hosting environment. 

 

JesseW - GoDaddy | Community Manager | 24/7 support available at x.co/247support | Remember to choose a solution and give kudos.

View solution in original post

Rockstar II

@assamrecruitmen @JesseW Also, if you're using Wordpress there are multiple plugins that will do this automatically for you, I've used them myself.

---

View solution in original post