Make sure your 301 permanent redirect is setup
The thing is, if you don't have a 301 permanent redirect setup, your domain.com could be looked at differently than your www.domain.com. This could be detrimental to your positions in the SERP or even more.
I say "even more" because there was a prospect we did a free analysis for. We discovered that when you go to their domain.com site, it was fine, but if someone typed in [b]www.domain.com[b], the page was literally non-existent. This can really hurt you through the search engines and through customers who ended up on the wrong domain.
To prevent this from happening, you can use a .htaccess file that would tell the browser what to do when they land on either domain.com or www.domain.com.
We prefer to send www.domain.com to domain.com using a .htacess file. If you're not sure how to make that file, just create a new text file and rename it to ".htaccess". Make sure you're also able to edit the extension. If you have trouble with it, you can usually do it through your hosting cpanel via file manager.
If you have a WordPress blog, these are the codes you'd use in that file:
|
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] RewriteCond %{http_host} ^www.domain.com [nc] RewriteRule ^(.*)$ http://domain.com/$1 [r=301,nc] </IfModule> |
Here's how you do it if it's just a regular page (not a blog):
|
Options +FollowSymLinks RewriteEngine on RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L] |
Website Building Tips Blog
Adwords Code Exposed
Peter
San Francisco SEO Company Kickstart Search is a Professional SEO Company that offers free SEO webinars.
Nspire
Small Business Marketing Strategies
Web Design services