![]() |
Routing problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: Routing problem (/showthread.php?tid=72506) |
Routing problem - Knutsford - 12-31-2018 I have just uploaded the code to http://pencopyediting.com plus the database again. It used to be ok then it was all deleted sometime ago while it was being used. It was https by the way but the certificate ran out so I have removed the s from the baseurl. The front page is ok but if you go to any of the other pages you get a 404. It isn't routing properly and I have no idea why. $route['default_controller'] = 'home'; $route['404_override'] = ''; $route['translate_uri_dashes'] = FALSE; $route['verify/(:any)/(:any)'] = "/home/verify/$1/$2"; is what is in config/routes.php I am stumped - any ideas please? RE: Routing problem - InsiteFX - 12-31-2018 SEE: CodeIgniter User's Guide - Regular Expressions RE: Routing problem - ciadmin - 12-31-2018 I think you have a problem with your .htaccess, since "http://pencopyediting.com/index.php/about" works fine, though "http://pencopyediting.com/about" gives a 404. RE: Routing problem - Knutsford - 12-31-2018 (12-31-2018, 09:45 AM)ciadmin Wrote: I think you have a problem with your .htaccess, since "http://pencopyediting.com/index.php/about" works fine, though "http://pencopyediting.com/about" gives a 404.Ah - I hadn't thought of http://pencopyediting.com/index.php/about . I tried a few things but not that one - thanks RE: Routing problem - Knutsford - 12-31-2018 Brilliant that has solved it - thanks |