How to replace underscores in codeigniter url with dashes?

The routes config found in config/routes. Php is your friend here. A simple $route'request-guide' = "request_guide" ; will do this for you.

It really depends on your intention. If you just want to change only one page this is the perfect solution indeed. $route'request-guide' = "request_guide"; But if you want to make this your website's default behavior you should extend your core Router class like this (source: Using hyphens instead of underscores in CodeIgniter) Make a new file in 'application/core' and name it 'MY_Router.

Php' Insert this code in it.

Have a look at Codeigniter's custom routing codeigniter.com/user_guide/general/routi....

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions