FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Need Help. Urgent!!





georgekalathil
hi friends.. I am in a bit of trouble. Actually I have a site and has a page rank of 3 and is 1 year old. But today when I checked the cached snapshot of the page with the google toolbar it was not showing, i.e is out of the google index. Then I searched using site:www.mydomain.com, but still the indexed pages were not showing up. But when I searched with site:mydomain.com the indexed pages started showing up. Is this a problem. If it is a problem whats the solution for it. Can we use any type of redirection...Plz help.....
Peterssidan
If www.mydomain.com and mydomain.com is the same site you will have the same content on two sites and that is something you should try to avoid in SEO. Probably you have more links to mydomain.com than www.mydomain.com and that's why google take that one instead.

To solve this you should make a 301 redirect from one of them to the other you want to use. You can do this easy using mod rewrite.
Put this code in your a file named .htaccess in your domain root folder.
Code:
RewriteEngine on

RewriteCond %{HTTP_HOST} ^mydomain.com$ [NC]
RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]
lerian
I also use the code to redirect my domain.com to www.mydomain.com
Works great.
muaazab
Probably its not a problem. If your site is still indexed with mydoman.com and page rank is still ok than you need not to worry about it.
Ni9htRider
A common problem people make when linking to their site is they use a code like this one:

Code:
<a href="http://mydomain.com">MyDomain</a>


...when they should be using a code like this one:

Code:
<a href="http://www.mydomain.com">MyDomain</a>


Do NOT forget the www in your domain.
Related topics
Reply to topic    Frihost Forum Index -> Webmaster and Internet -> SEO and Search Engines

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.