Page 1 of 1

Help Needed on .htaccess

Posted: Tue Oct 24, 2006 4:55 pm
by sharugan
I have .htaccess file to redirect the user from the root to /dialogue/index.html

Code: Select all

RewriteRule ^/* /dialogue/index.php [QSA,L]
When the user clicks on the home , i need to redirect the user to /home.php

when i click on home , the uses are still redirected to /dialogue/index.html not

/home.php page.

Can any one tell me when i click on home /home.php page.i want to write the rule in htaccess file to redirect the user to /home.php page.

so finally i need .htaccess file with rewrite rule to
1)when a user hits the root, I want to redirect to /dialogue/index.html
2)When the user types /home.php i want to redirect to /home.php

Posted: Tue Oct 24, 2006 6:10 pm
by RobertGonzalez
Is the mod_rewrite module installed?

Posted: Tue Oct 24, 2006 7:00 pm
by sharugan
Yes. it is installed.

I need a help on
.htaccess file with rewrite rule to
1)when a user hits the root, I want to redirect to /dialogue/index.html
2)When the user types /home.php i want to redirect to /home.php

Thanks