Hi, My blog is http://aullah.com/ without "www.", when you type "www." it will redirect using 302. Google has somehow listed my frontpage as "www." on it's search engine, it could be because it isn't a 301. However, I read a good SEO guide I paid for and Google takes favour of either "www.", non or sometimes penalizes both and will class as duplicate content. So, I need to fix this. The guide tells me to put this code in the .htaccess RewriteCond %{HTTP_HOST} ^yoursite\.net [NC] RewriteRule ^(.*)$ http://www.yoursite.net/$1 [R=301]" Code (markup): Since my blog is http://aullah.com rather than www. do I need to flip the above code? Many thanks.
I'm not sure what you're asking- do you want your blog to be redirected to www.alluah.com, or just alluah.com?
www. and non www does not count as duplicate content, if you add the site to your Google webmaster account than you can set how the site appears in Google i.e. with www or without it Thanks
Just aullah.com, so if you go to www.aullah.com I want it to be a 301 redirect to http://aullah.com/. It does already redirect but Google has indexed my main page as "www.", I'm guessing it could be because the redirect is a 302. It doesn't? You sure? If it doesn't, then I don't need to worry about it.
Negative. As already mentioned, you can also set the default domain in your Google Webmaster's account. It's under Site Configuration->Settings->Preferred Domain.