When I put this line to .htaccess-file, everything else works well but the news:
RewriteRule ^([^/]+)/(.*)$ index.php?page=$2&hl=$1 [QSA]
The news are still showing like this:
http://www.domain.com/index.php?mact=Ne ... d=61&hl=fi
Thanks for your help!
How to get MLE News work with pretty urls?
Re: How to get MLE News work with pretty urls?
That rule works with http://www.domain.com/index.php?page=xxx&hl=yyy onlyhulio wrote: When I put this line to .htaccess-file, everything else works well but the news:
RewriteRule ^([^/]+)/(.*)$ index.php?page=$2&hl=$1 [QSA]
The news are still showing like this:
http://www.domain.com/index.php?mact=Ne ... d=61&hl=fi
Look in http://wiki.cmsmadesimple.org/index.php ... stallation
and change in accord with MLE
Alby
Re: How to get MLE News work with pretty urls?
Sorry, can't really get it work.
The url, I'm trying to convert goes:
http://www.domain.com/index.php?mact=Ne ... d=61&hl=fi
Pls, give me ur help. Thanks!
The url, I'm trying to convert goes:
http://www.domain.com/index.php?mact=Ne ... d=61&hl=fi
Pls, give me ur help. Thanks!
Re: How to get MLE News work with pretty urls?
I'm also having problems with mle, news and pretty urls.
My .htaccess has:
RewriteRule ^(.+)/(.+)$ index.php?hl=$1&page=$2 [QSA]
to rewrite .../es/news/11/117/title-of-news-item/ to index.php?hl=es&page=news/11/117/title-of-news-item/
The pretty urls fails (404) but manually changing it to what it should rewrite to works.
Ideas?
Thanks
amanda
My .htaccess has:
RewriteRule ^(.+)/(.+)$ index.php?hl=$1&page=$2 [QSA]
to rewrite .../es/news/11/117/title-of-news-item/ to index.php?hl=es&page=news/11/117/title-of-news-item/
The pretty urls fails (404) but manually changing it to what it should rewrite to works.
Ideas?
Thanks
amanda
Re: How to get MLE News work with pretty urls?
Success!
And then I found this forum post http://forum.cmsmadesimple.org/index.ph ... #msg174529
There is a htaccess.mle file in /doc of the MLE package which indicates :
>
And then I found this forum post http://forum.cmsmadesimple.org/index.ph ... #msg174529
There is a htaccess.mle file in /doc of the MLE package which indicates :
>