leela Posted December 16, 2008 Share Posted December 16, 2008 Hai All, I am unable to find the solution.. Can anyone please help me My Requirement is :: My url is www.chekhra.com After logging in ..it is showing like Chekhra/modules/user/index.php?ch=viewUserAdmin Here ?ch=viewUserAdmin is the keyword where the page is redirected to that page where the code for this key will be in index.php What i need is .... My Url should show """"Chekhra/modules/user/index.php"" and onclick of menu..it shud not show any thing like Chekhra/modules/user/index.php?ch=viewUserAdmin ....means is there any Algorithm to show only index.php page and can redirect to whatever page we want... Please help me out.. THanks,Leela Quote Link to comment https://forums.phpfreaks.com/topic/137155-url-problem/ Share on other sites More sharing options...
sKunKbad Posted December 16, 2008 Share Posted December 16, 2008 You could use a rewrite rule in .htaccess: RewriteEngine On RewriteBase / RewriteRule ^Chekhra/modules/user/index.php(.*)$ http://www.chekra.com/Chekhra/modules/user/index.php? [R=301] Quote Link to comment https://forums.phpfreaks.com/topic/137155-url-problem/#findComment-716498 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.