CodeIgniter Forums

Full Version: Custom URL routing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Hi All,

How do i route missing parameters like this?

This is the full url


However i want to route this url if it is missing 1 or 2 parameters
Please help. Thanks in advance

El Forum

Check if the parameters have values in your controller. If not, redirect to the default.

Remember you can give parameters defaults, also, if they are not present.