htaccess rewrite

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
rajan
Forum Contributor
Posts: 110
Joined: Sun Aug 28, 2005 7:42 pm
Location: Lucknow, UP, India

htaccess rewrite

Post by rajan »

hi,
I am working on multilingual site. I just want to access same site using another folder like
http://mysite.com/
http://mysite.com/fr/
http://mysite.com/de

There is not seperate folder for fr, de. I will check user IP address and fetchs content according to their country if available otherwise in english.
languages are managed by admin.
There are lots of serperate file.
So can anyone tell me htaccess rule to access same site with different url through htaccess or php.
Post Reply