The tutorial will show how to redirect all your traffic to you non www domain by modifying your .htaccess file.
If you are running your site on siterubix site or any other subdomain site which has the domain like: subdomain.topdomain.com, THIS TUTORIAL DOES NOTHING FOR YOU. The issue is only on top level domains like www.yoursite.com
Here are the lines you need to add to your .htaccess file shown in the video:
RewriteCond %{HTTP_HOST} !^my-domain\.com$ [NC]
RewriteRule ^(.*)$ http://my-domain.com/$1 [R=301,L]
Leave critic, comment or question below. This is my first tutorial, so all feedback is very welcomed. :)
Join the Discussion
Write something…
gmegs
Premium
I don't get this concept at all. When you sign up for a domain www.whatever.com, how would one know that we would actually get 2 domains, and that that fact alone would hurt rankings - seems that this should be brought up in the very basic courses if it is true - - I'm learning so please forgive! And when signing up for a domain, why is there not an option to turn the 2nd domain off or something? I also own another site (for seniors) I have had for a number of years that ranks about as high as it can get (regional site) - why am I doing so well then? - again, I'm just trying to learn - thanks
healthywendy
Premium
Very useful information - thank you! The video plays fine on my PC. Would you mind showing me how to do the reverse? That is redirect to www. I'm not sure that this is even necessary, but one of my sites comes up without the www. Thank you.