Welcome Guest, Not a member yet? Register   Sign In
override the router somehow?
#1

[eluser]superfake123[/eluser]
ok so I'm trying to figure out how to make my AJAX site a little more SEO friendly so I need certain links, if a controller does not exist, then have it convert from index.php/contact to index.php/#!/contact etc? Is this possible? I have a few controllers that I do not need forwarded to /#!/ so those must be checked against controllers first before trying to forward to /#!/

Thanks...
#2

[eluser]InsiteFX[/eluser]
index.php is CodeIgniters front controller.

1) You could extend the Router class.

2) CodeIgniter Users Guide - URI Routing
#3

[eluser]Stefan Hueg[/eluser]
[quote author="InsiteFX" date="1335521744"]index.php is CodeIgniters front controller.[/quote]
Technically index.php is a bootstrap.

You will find further information on CodeIgniter's URLs here:
http://ellislab.com/codeigniter/user-gui.../urls.html




Theme © iAndrew 2016 - Forum software by © MyBB