I try the script I have for CMSMS normal edition with CMSMS MLE to do URL rewriting :
RewriteEngine on
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
but now the switch between language does not work. Did you know how to do a correct rewritting with MLE?
[Solved] MLE and URL rewriting
[Solved] MLE and URL rewriting
Last edited by Anonymous on Mon Mar 09, 2009 4:10 pm, edited 1 time in total.
Re: MLE and URL rewriting
Look htaccess.txt in doc foldersynergie wrote: but now the switch between language does not work. Did you know how to do a correct rewritting with MLE?
Alby
Re: MLE and URL rewriting
perfect It is in : doc/htaccess.mlealby wrote:Look htaccess.txt in doc foldersynergie wrote: but now the switch between language does not work. Did you know how to do a correct rewritting with MLE?
Alby
Read FAQ: http://wiki.cmsmadesimple.org/index.php ... retty_URLs
From doc/htaccess.txt replace last rule:
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
with:
RewriteRule ^([^/]+)/(.*)$ index.php?page=$2&hl=$1 [QSA]