You are here: Re: Multi language site with PHP, mysql and cookies - how about search engines? « PHP Programming Language « IT news, forums, messages
Re: Multi language site with PHP, mysql and cookies - how about search engines?

Posted by Erwin Moller on 04/10/07 12:16

CAH wrote:

>> With mod_rewrite.
>>
>> With that you can setup Apache to do this:
>> 1) incoming URL:www.site.com/en/page1.php
>> towww.site.com/page1.php?lang=en
>>
>> You can set up your own rules (using regular expression).
>>
>> In that way you do not have to really create all these pages, but they
>> become virtual.
>> You only have to make page1.php pick up the $_GET["lang"] and make
>> decisions for your query based on that.
>
> Excellent advice, can Google register that one uses mod_rewrite, or is
> it none the wiser? Can search engines have something agains this
> solution?
>
> Best regards
> Cah

Hi,

Searchengine don't know about any url-rewriting taking place.
From a searchengine's point of view:
1) Ask some URL (www.example.com)
2) read all the hyperlinks
3) follow a hyperlink, eg: www.example.com/en/page1.php
4) Server responds with the HTML.
etc

The fact that the server in step 3 using URL rewriting (and actually uses
www.example.com/page1.php?lang=en) is completely unknown to the searchbot.
It is completely unknown to ANY client.
It is just something between you and your friend Apache. ;-)

Regards,
Erwin Moller

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация