What is routing in CodeIgniter?

Routing is a technique by which you can define your URLs according to the requirement instead of using the predefined URLs. Routes can be classified in two ways, either using Wildcards or Regular Expressions.

Wildcards
There are two types of wildcards:

:num−series containing only numbers matched.
:any−series containing only characters matched.
Regular Expression
Regular expressions are also used to redirect routes.

$route[‘blog'(a-zA-Z0-9]+)’] = ‘women/social’;
You can create your regular expression to run your URL.