CodeIgniter Forums
301 Redirects for Old URLs - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: 301 Redirects for Old URLs (/showthread.php?tid=46009)



301 Redirects for Old URLs - El Forum - 10-14-2011

[eluser]Unknown[/eluser]
I am converting a site onto Codeigniter from being a static site, the problem i am having is that the old site had folders for the products.

eg. domain.com/BG27/

A lot of clients are iframing this content and on my new system i have a product controller with a custom route for this purpose

eg. domain.com/product/BG27/ (routed to domain.com/product/detail/BG27/)

So what I think might be best is simply doing 301 redirects from all the old product URLs to their new CI URL.

Just wondered what everyone else thought?