Page 1 of 1

.htaccess help me pls

Posted: Fri Oct 27, 2006 12:03 am
by sharugan
I need a help on
.htaccess file with rewrite rule to
1)when a user hits my site, I want to redirect to /dialogue/index.html
2)When the user types /home.php i want to redirect to /home.php

How to accomblish in .htaccess file.
Help would be appreciated.

Thanks

Posted: Fri Oct 27, 2006 9:56 am
by pickle
Searching Google will give you lots of results for .htaccess redirects. I suggest you do that, as my example will not necessarily be 100% accurate:

This assumes your index page is an html page. Change 'index.html' to whatever you actually have.

Code: Select all

Redirect index.html /dialogue/index.html
Your second question makes no sense to me as it appears both pages are actually the same page. I'm assuming that's just a typo?

Posted: Fri Oct 27, 2006 10:53 am
by feyd
Sharugan, you already have a topic on this. There's no need for another one. Locked.