How to redirect non-www to www url using htaccess?

ForumCategory: WordPress Discussion & TroubleshootHow to redirect non-www to www url using htaccess?
Mohammad Athar Staff asked 2 years ago
1 Answers
Best Answer
Fajal Shah answered 2 years ago
In essence you want to make sure this starts at the DNS level by setting up your CNAME and A records correctly, then you need to push it through your .htaccess file and down into your canonicals. If your records are setup correctly in these various places, Google will pick up your preferred vision