Go Back   Netpond ™ > Webmaster Forums and Resources > Search Engine Optimisation Forum
Register FAQ Calendar Radio and TV NP Shop Search Today's Posts Mark Forums Read

Search Engine Optimisation Forum SEO discussion and information

MovieProfits
Boardtracker Webcams.com
Reply
 
LinkBack Thread Tools Display Modes
Old 05-08-2008, 11:30 AM   #1 (permalink)
french-webbie
im not here for the points it just looks like i am
 
french-webbie's Avatar
 
Join Date: Apr 2008
Location: Costa Rica
Posts: 19
Points: 95
Send a message via ICQ to french-webbie
SEO trick: multiple languages site friendly urls

I'm using this forum since about one month now, and it helped me a lot. I guess it's my turn now to help around.
So here it is: a free recipe to get better ranking when you use multilingual sites.
Enjoy!

We always try to stuff our URLs with keywords (or we should). For a classifieds section of a site, the url should contain the word 'classifieds' for example.
A too often forgotten thing is that URL should contain the matching keyword for each supported language of the website.
If you support French, 'classifieds' should be replaced by 'petites-annonces'.

Here's a trick I am using to have a friendly url in each language of a website.
Let's say you have a script named classifieds.php and you use some .htaccess rewrite rules to call it from /classifieds/en/ (hence the script name and the language code).
The language code is saved in the global $GLOBALS['lang'].

You can set up a global array for each language matching the script name to the keyword you want to show up in the URL.
$GLOBALS['links']['fr'] = array('classifieds' => 'petites-annonces');
$GLOBALS['links']['en'] = array('classifieds' => 'classifieds');

This rewrite rule in your .haccess will redirect the URLs ending by petites-annonces/fr/ to classifieds/fr/ (the script name plus its language argument).
RewriteEngine on
RewriteRule ^petites-annonces/fr/ classifieds/fr/ [L]

Now, you need to rewrite any link to the classifieds section to take into account your language:

classifieds/$GLOBALS['lang']
will become
$GLOBALS['links'][$GLOBALS['lang']]['classifieds']/$GLOBALS['lang']
Thus you will get 'classifieds/en' for your English section and 'petites-annonces/fr' for your French section.

Hoping it will help you

PS: if you want a real-life example, check the signature: the Mancko website is exactly done this way.
__________________
ICQ: 448043846

Mancko - French translation, localization
french-webbie is offline   Reply With Quote Send a private message to french-webbie
Old 05-08-2008, 12:32 PM   #2 (permalink)
PornBlogger
I see you baby.. shakin that Ass!
 
Join Date: Mar 2005
Location: Costa Rica
Posts: 444
Points: 1,120
Send a message via ICQ to PornBlogger
way to go with sharing the tips man!

pura vida mae
__________________
The "I Like" Network - www.ilikenetwork.com
- Pura Vida!
PornBlogger is online now   Reply With Quote Send a private message to PornBlogger
Old 05-09-2008, 12:46 PM   #3 (permalink)
lilpixie
UK Diva
 
lilpixie's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 2,626
Points: 991
A very handy tip now I just have to work out my keywords in other languages!

lilpixie x
__________________
lilpixie is offline   Reply With Quote Send a private message to lilpixie
Old 05-09-2008, 01:54 PM   #4 (permalink)
jalika
DayNightSex
 
Join Date: Aug 2004
Posts: 480
Points: 335
good tip french-webbie, expecting more from you.
jalika is offline   Reply With Quote Send a private message to jalika
Reply


Thread Tools
Display Modes



Netpond Resources
Resource Directory Tutorials & Articles Webmaster Tools Netpond News
 
Netpond Resources
LoveDollars SlickCash PussyCash SilverCash
Fetish Hits Cyberwurx Platinum Bucks YappoDollars
AEBN GroobyBucks FlashCa$h XMoney
Rabbits Reviews SMSMovies.net TrafficCashGold EvilAngelCash
Orgycash ETU CASH Webcams Cyberbit
EvilAngelCash
All times are GMT -4. The time now is 08:36 PM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
vBCredits v1.4 Copyright ©2007, PixelFX Studios