Website Redirecting:non-www to www redirect using htaccess while not working properly

0
116

Sometime we need to redirect website for good SEO friendly. Different reason website/domain will not work properly to redirect https-WWW to https-non-WWW. That situation you should follow very carefully what happen there.

You can use some code do which I used in the .htaccess and worked properly when put them.

This is the rewrite code now: