sharugan Posted November 1, 2006 Share Posted November 1, 2006 I have a website http://www.peoplebeep.com that runs on tomcat.When user types http://www.peoplebeep.com i want to redirect to http://www.peoplebeep.com/dialogue/index.php so i have created .htaccess in route directory under public_html dirRewriteEngine OnOptions +FollowSymLinks -Multiviews#DiscussionsRewriteRule (.*) /dialogue/index.php [QSA,L]But when the user clicks on home in index.php page i want to redirect to http://www.peoplebeep.com/home.php How do i accomblish this.Do i need to write the rule in .htaccess file under /public_html/dialogue dir?can any expert guide me Quote Link to comment https://forums.phpfreaks.com/topic/25842-help-needed-on-htaccess/ Share on other sites More sharing options...
AdRock Posted November 24, 2006 Share Posted November 24, 2006 I am a bit confused as to what you want to do.Is dialogue a real folder or a fake directory?Your rewrite rule doesn't look right anywayRewriteRule ^(.*)/$ /dialogue/index.php [QSA,L]With a little more info I may be able to help but i can't gaurentee it Quote Link to comment https://forums.phpfreaks.com/topic/25842-help-needed-on-htaccess/#findComment-129711 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.