url rewrites not working in codeigniter
Posted on 2016-11-28
I replaced an old minisite written in classic asp with a new one built on a codeigniter platform. When I tried to create 301 redirects in ii8 they weren't implemented and resulted in codeigniter 404 pages. As a workaround I just inserted an asp redirect into all the asp pages, which was kind of tedious, but it worked. I just wanted to know how this could be better accomplished either in codeigniter or by having codeigniter to recognize the url redirect rules. As an experiment I created some url redirects from asp to php pages, which worked so that's not the problem. I think it must have something to do with codeigniter routing.