Apache htaccess: rewrite url in different languages
Posted: Tue Jun 23, 2009 4:21 am
Is it possible to rewrite an url in different languages, so that you don't have to make separate folders or database tables with in a specific language?
Example:
This is a htaccess-rewritten url:
www.domain.com/animals/cats (originally http://www.domain.com/page.php?cat=animals&species=cats)
Let's say you want to put this url in french (for french visitors or search engine algorithms)
www.domain.com/animaux/chats
Is this possible the rename the french url without altering the original (english) url (being http://www.domain.com/page.php?cat=animals&species=cats)?
Thanks in advance.
Example:
This is a htaccess-rewritten url:
www.domain.com/animals/cats (originally http://www.domain.com/page.php?cat=animals&species=cats)
Let's say you want to put this url in french (for french visitors or search engine algorithms)
www.domain.com/animaux/chats
Is this possible the rename the french url without altering the original (english) url (being http://www.domain.com/page.php?cat=animals&species=cats)?
Thanks in advance.