CodeIgniter Forums
Switched servers - redirection not working? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: Switched servers - redirection not working? (/thread-34235.html)



Switched servers - redirection not working? - El Forum - 09-23-2010

[eluser]GeXus[/eluser]
I'm switching an app in CI over to a new server, everything works so far, except for some reason no matter what URL I go to, it shows the home page. So for example

http://www.domain.com/content/something/view

Will show that URL in the browser, but the view it's showing isn't the correct one or it's not routing properly...

Is there something I'm missing?


Switched servers - redirection not working? - El Forum - 09-23-2010

[eluser]n0xie[/eluser]
Did you enable mod_rewrite?
Did you copy the .htaccess file?
Maybe the URI_PROTOCOL you used before doesn't work on this server?