• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem with routes.php

#1
[eluser]rufisgumbo[/eluser]
I have a controller named <b>controllers/contact.php</b>

I want to load this controller using either of these URLS:

website.com/contact
website.com/members/contact

So I put this in routes.php:

Code:
$route['members/contact/(:any)'] = 'contact/$1';

Yet if I load /members/contact now, it just returns a 404. What am I missing?


Messages In This Thread
problem with routes.php - by El Forum - 07-17-2011, 08:40 PM
problem with routes.php - by El Forum - 07-17-2011, 08:59 PM
problem with routes.php - by El Forum - 07-17-2011, 09:21 PM
problem with routes.php - by El Forum - 07-18-2011, 08:45 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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