[SOLVED] Pretty url , cms_selflink start and mod_rewrite
Posted: Mon Dec 07, 2009 3:13 pm
Hi there,
I'm quite new to mod_rewrite so help wanted to solve my little problem !
Everything is fine with pretty urls except the link generated from :
which become a ugly link :
I think I'm using the right rule in .htaccess (this works on every other pages/links)
All I want is to have a link like :
Do you think it is possible ? (I assume yes...)
But how can I do this ? Using mod_rewrite ?
Thanks in advance !
Vincent
PS : Last thing : Thank you Alby, all the ressources from the forum are very useful (tips, howto...)
I'm quite new to mod_rewrite so help wanted to solve my little problem !
Everything is fine with pretty urls except the link generated from :
Code: Select all
{cms_selflink dir=start text="Home"}
Code: Select all
http://www.mysite.tld/?hl=en
Code: Select all
RewriteRule ^([^/]+)/(.*)$ index.php?page=$2&hl=$1 [QSA]
Code: Select all
http://www.mysite.tld/en/
But how can I do this ? Using mod_rewrite ?
Thanks in advance !
Vincent
PS : Last thing : Thank you Alby, all the ressources from the forum are very useful (tips, howto...)