comediaz
07-12-2007, 11:17 AM
Hi,
I have the my htaccess on the main root directory
/public_htmL/mywebsite/
The problem is that the rewriterule doesn't work.
my .htacess:
RewriteEngine on
RewriteBase /
RewriteRule "^([a-z]{1}[\w_\-]+[a-z]{1})$" "/index.php?action=$1" [L]
That should match for example http://www.mywebsite.com/about-us and convert it to http://www.mywebsite.com/index.php?action=about-us. Locally is working the problem is online....
Can you please tell me if I need to enable this on php.ini or what I have to do for the rewrite work in each website individually?
Thanks
I have the my htaccess on the main root directory
/public_htmL/mywebsite/
The problem is that the rewriterule doesn't work.
my .htacess:
RewriteEngine on
RewriteBase /
RewriteRule "^([a-z]{1}[\w_\-]+[a-z]{1})$" "/index.php?action=$1" [L]
That should match for example http://www.mywebsite.com/about-us and convert it to http://www.mywebsite.com/index.php?action=about-us. Locally is working the problem is online....
Can you please tell me if I need to enable this on php.ini or what I have to do for the rewrite work in each website individually?
Thanks