Basic index($variable) question for creating a site like www.mysite.com/username |
[eluser]AlanW[/eluser]
Thank you all! [quote author="siptik" date="1352754725"]try this: Code: $route[‘default_controller’] = “main”; I added this: $route['(:any)'] = "main/index/$1"; to my routes config file. The www.mysite.com/username is now recognized by public function index ($username){ } BUT my other controllers such as www.mysite.com/notitications (controller is notifications.php ) are now not functioning. I finally get it - the site now thinks that there is only one page - not my plan. Is there some way to again recognize the the other controllers? |
Welcome Guest, Not a member yet? Register Sign In |