hi guyz,
I am trying to implement sef urls on my site.
i have two language en_US, nl_NL.
i dont want language parameter to appear in my url.
i have used following mod_rewrite rules and config settings
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
$config['url_rewriting'] = 'mod_rewrite';
$config['assume_mod_rewrite'] = true;
$config['internal_pretty_urls'] = false;
$config['use_hierarchy'] = true;
i am not good with .htacces files.
please help me..
thanks & regards,
mike
sef + how to remove "en_Us" from the url
Re: sef + how to remove "en_Us" from the url
You must have languages in url (is necessary for display different language page) but you can display other language param (for example en and nl only), look in howto topicmls24 wrote: I am trying to implement sef urls on my site.
i have two language en_US, nl_NL.
i dont want language parameter to appear in my url.
This not work, you must apply last row from doc/htaccess.mlemls24 wrote: i have used following mod_rewrite rules and config settings
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
This is a configuration mix .....mls24 wrote: $config['url_rewriting'] = 'mod_rewrite';
$config['assume_mod_rewrite'] = true;
$config['internal_pretty_urls'] = false;
first line is for 1.6+, 2-3 are for < 1.6
If you have 1.6 or 1.6.1 is necessary the first ONLY
Alby