Donnerstag, März 30, 2006 

Post Source Code

to post source code with blogger you have to put in between <code></code> tags... and also encode it to html-entities which you can do here.

 

Avoid Duplicate Content

Since Google is getting confused with all these duplicate webpages they rate down pages with duplicate content. Did you register various Domain-Names that point to the same content? Then you are in danger...

To avoid the duplicate content-problem let all the secondary-pages forward to your real webpage. You can do this via the .htaccess (prefered) or an HTTP-Forwarding. You should use the permanently moved commands like:
.htaccess:
redirect permanent /index.htm http://www.polnisch-dolmetscher.net/

 

Yuchuuu... the GoogleBot was here!

With this php-code you can send yourself an eMail when Google visited your site. Tried and tested - I got my first mail after a few weeks...

<!-- Waiting for Google -->
<?php
$email = 'googlebot@outdooralex.de';
if(eregi("googlebot",$_SERVER['HTTP_USER_AGENT']))
{ mail($email, "GoogleBot was here","Google visited the xxx-page: ".$_SERVER['REQUEST_URI']); }
?>
<!-- Waiting for Google-End -->

 

Basics of SEO

  1. HTML pages (here you can trick the webserver to transform the html requests into PHP) MOD_Rewrite is the module in Apache web server. There is also a trick to use PHP in *.html-pages
  2. Have the name of the keyword/product in the name of the page
  3. Have the name of the product/important keywords as many times as possible in the page
  4. Have them also in the title of the page
  5. Have external links point to you from websites on the same theme
  6. Don't use flash
  7. Have a sitemap

Muchas Gracias Silviu!