301 Redirects To the Preferred Domain - How To?
- SEO |
Google says to set our preferred domain (https://support.google.com/webmasters/answer/44231).
After we do this, they recommend this:
"Once you've set your preferred domain, you may want to use a 301 redirect to redirect traffic from your non-preferred domain, so that other search engines and visitors know which version you prefer."
So, for example, my preferred domain is https://domain.com. Now I need to redirect other versions (http://, http://www., https://www.) to my preferred domain.
How can I do this? By modifying the .htaccess file or by using cPanel?
Thanks.
-
bertieallsorts -
[ 2 ] Thanks - 1 reply
{{ DiscussionBoard.errors[11171549].message }}-
zendot -
Thanks
{{ DiscussionBoard.errors[11171858].message }} -
-
-
BreezeHost -
Thanks
{{ DiscussionBoard.errors[11171919].message }} -
-
bertieallsorts -
Thanks - 1 reply
{{ DiscussionBoard.errors[11172072].message }}-
zendot -
Thanks
{{ DiscussionBoard.errors[11172580].message }} -
-
-
Maple Labs -
Thanks
{{ DiscussionBoard.errors[11172589].message }} -
-
bertieallsorts -
[ 1 ] Thanks - 1 reply
{{ DiscussionBoard.errors[11173356].message }}-
zendot -
Thanks
{{ DiscussionBoard.errors[11173612].message }} -
-
-
websetters -
[ 1 ] Thanks
{{ DiscussionBoard.errors[11173505].message }} -