Url rewrite help

Hi,

Can anyone please help me about following code? I am facing problem that RewriteRule TM_Clients\.html Clients3.php not works in .htaccess file. Is there any wrong with code? Please help me. this is urgent.

Options +FollowSymLinks

Options +Indexes

RewriteEngine On
RewriteBase /

RewriteRule TM_Clients\.html Clients3.php

Thanks,
Rima.

dhk,

Why are you using the RewriteBase? That’s to UNDO a mod_alias redirection which is not in evidence.

The RewriteRule seems okay (should have a Last flag but it will work without one) so I’m left to question whether you have mod_rewrite enabled? If you’re not getting 500 errors, you must have it enabled but, otherwise, test using the test in my signature’s tutorial.

Regards,

DK

Thanks DK. Now It works!!!


Rima.

:Partier:

Regards,

DK