Help Needed on .htaccess

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
sharugan
Forum Newbie
Posts: 4
Joined: Tue Oct 24, 2006 4:25 pm

Help Needed on .htaccess

Post 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
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Is the mod_rewrite module installed?
sharugan
Forum Newbie
Posts: 4
Joined: Tue Oct 24, 2006 4:25 pm

Post 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
Post Reply