• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
url rewrite problem

#1
[eluser]RpR[/eluser]
Hi,

I am facing this problem.

I have a controller called welcome.php which is called as the index page.
Thanks to the url rewrite I have a clean url like this:
Code:
http://localhost/cvp/
instead of
Code:
http://localhost/cvp/index.php

Now when I add another function (Like test) in welcome.php the url is
Code:
http://localhost/cvp/welcome/test/

Is there a way to remove the welcome to?

My current htaccess file is:
Code:
RewriteEngine on
RewriteBase /cvp/
RewriteCond $1 !^(index\.php|img|js|css|favicon\.ico|robots\.txt)
RewriteRule ^(.*)$ /cvp/index.php/$1 [L]

Thanks for any input.


Messages In This Thread
url rewrite problem - by El Forum - 08-26-2008, 06:10 AM
url rewrite problem - by El Forum - 08-26-2008, 08:24 AM
url rewrite problem - by El Forum - 08-26-2008, 08:42 AM
url rewrite problem - by El Forum - 08-26-2008, 08:45 AM
url rewrite problem - by El Forum - 08-26-2008, 08:59 AM
url rewrite problem - by El Forum - 08-26-2008, 09:21 AM
url rewrite problem - by El Forum - 08-26-2008, 09:26 AM
url rewrite problem - by El Forum - 08-26-2008, 09:31 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.