manojkumar77
New member
Hi All
One of my site is nationalcreditorganization.com and it is a secured site.
I do wanna redirect all of its domain format to "https"
It works fine for every format for non-www format of the site, but does not work for www format.
.htaccess goes like this:
rewriteengine on
Options +FollowSymLinks
ErrorDocument 404 /404error.php
rewritecond %{HTTP_HOST} ^nationalcreditorganization.com$ [NC]
rewriterule ^(.*)$ https://www.nationalcreditorganization.com/$1 [R=301,L]
rewritecond %{THE_REQUEST} ^.*/index.php
rewriterule ^(.*)index.php$ https://www.nationalcreditorganization.com/$1 [R=301,L]
how to make redirect www format of my site to https without affecting my current process of redirect
Any new idea, apart from above codes, implementing the whole concept would also be welcomed....
thanks in advance
One of my site is nationalcreditorganization.com and it is a secured site.
I do wanna redirect all of its domain format to "https"
It works fine for every format for non-www format of the site, but does not work for www format.
.htaccess goes like this:
rewriteengine on
Options +FollowSymLinks
ErrorDocument 404 /404error.php
rewritecond %{HTTP_HOST} ^nationalcreditorganization.com$ [NC]
rewriterule ^(.*)$ https://www.nationalcreditorganization.com/$1 [R=301,L]
rewritecond %{THE_REQUEST} ^.*/index.php
rewriterule ^(.*)index.php$ https://www.nationalcreditorganization.com/$1 [R=301,L]
how to make redirect www format of my site to https without affecting my current process of redirect
Any new idea, apart from above codes, implementing the whole concept would also be welcomed....
thanks in advance