i'm confused about enabling pretty urls in MLE 1.6.6
i followed these instructions:
http://wiki.cmsmadesimple.org/index.php/FAQ/Installation/Pretty_URLs/de
so this is my .htaccess in the root directory (CMSMS isn't installed in a subdir):
Code: Select all
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
# RewriteCond %{REQUEST_URI} !/$
# RewriteCond %{REQUEST_URI} !\.
# RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+).htm$ index.php?page=$1 [QSA]
and this is my config.php:
Code: Select all
$config['url_rewriting'] = 'mod_rewrite';
#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '.htm';
#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy? (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = true;
#If using none of the above options, what should we be using for the query string
#variable? (ex. http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = 'page';
everything works fine, but just in the default language! as soon as i want to switch languages, the url changes from e.g.
www.mysite.de/de/home/info.htm to
www.mysite.de/en/home/info.htm ,
but the content doesn't change.
i as well tried the .htacess in the MLE/doc installation folder, but this file just contains
code which made my site stop working entirely. ???# To deny PHPs
order deny,allow
deny from all
I tried do find some solution in this forum, but so far i haven't found a solution.
Any suggestions would be welcome!
Thanks,
Sebastian