Hi DP, I need a help, I have registered a domain and web hosting on GoDaddy, but I don't know how to redirect www.domain.com to domain.com, I'm not using any CMS because my website doesn't need it. If someone can give me an advice I'll be very grateful. Regards.
There are several 2 types of redirection, 301 (or the so called permanent redirection) and 302 (temporary redirection). 301 redirection is more SEO friendly, but harder to implement. In contrast to 301, 302 is easier but not SEO friendly. My advice is to use 301 if you're going to redirect it for lifetime, so search engine will index only one (either with www or without www). for 302 redirection, you can refer to this page : http://www.internetofficer.com/seo/302-redirect/ for 301 , http://www.webconfs.com/how-to-redirect-a-webpage.php Hope that helps.
If you have Cpanel then this can be very easy and the user wont actually know that the site has been redirected. I posted a method on another thread yesterday: You can use that above or log into your cpanel, go down to Domains and click on Redirect, select the domain. Redirect to: http://name.com then select "Redirect with or without www. " This will redirect www.name.com to http://name.com , or http://name.com to http://name.com although there is no difference. it makes no differences if its with http:// or not , its both the same
It is simple canonical issue. Just add canonical tag in the <head> of your site. The tag looks like this: <link rel="canonical" href="http://mysite.com"/>