![]() Professional SEO - Israel |
|
|||||||||||
Webpages from my site are displayed without a title or a descriptionA common situation in Google is when pages appear in search results with the page's URL instead of its title, no description text is displayed, nor a link to the page's cache version. This type of a search result will look like:
www.seoisrael.co.il/page.htm
similar pages You can see that this result does not contain the link to the cache that is displayed in regular results. First, in order to calm down all of you that are stressed by this situation, this display is not a result of a Google penalty. Even the Google pages themselves are displayed in this format (perform a search for "site:www.gooogle.com" in order to see for yourselves). This event can occur for several reasons:
When you encounter this problem, you should check your robots.txt file. If the file is in order, all there is left to do is wait for Google's robot's next scan. Duality of the site with "www" and without "www"In Google's eyes, your site with "www" and without "www" is actually regarded as two separate sites (although Google puts much effort into recognizing that these are still the same website). In order to avoid a situation where your page is listed twice (and then Google randomly removes one of the copies), you should make sure that pages that have no "www" are automatically directed to the pages with "www" (or vice versa). There are several ways to perform this direction:
The first option is clear - contact your service provider and ask him to perform the direction. The second option requires adding code to the htaccess file on your site:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^domain.com RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L] The third option is by inserting code to your ASP or PHP pages. ASP code example:
if lcase(request.servervariables("HTTP_HOST")) = "domain.co.il" then
Response.Status="301 Moved Permanently" Response.AddHeader "Location", "http://www.domain.co.il/" end if This code performs a scan of the origin domain. In case this domain is domain.co.il, a permamnt redirection to www.domain.co.il is performed. This redirection should be performed before other writing on the page, meaning before the HTML and HEAD tags. At the end of the redirection you should make sure that it is actually executed, and that it is permanent and not a temporary redirection. You should also make sure that the redirection does not refer all pages to the homepage: An example of a wrong redirection: An example of a good redirection:
|
||||||||||||
|
||||||||||||
|
||||||||||||
|
© 2004-2008 All rights reserved, SEO Israel Technologies Ltd. |
||||||||||||