Welcome Guest, Not a member yet? Register   Sign In
.htaccess
#1
Smile 

How can i rewrite my posts url in codeigniter?

I have this url

http://blog.codigero.com/blog/pelicula/45

But i want to change the 45 number for my post title example

http://blog.codigero.com/blog/pelicula/movie-title

My categories olso

http://blog.codigero.com/blog/categoria/12

to

http://blog.codigero.com/blog/categoria/accion

thanks
Reply
#2

you can use slug instead of id https://www.codeigniter.com/user_guide/t...ction.html
Reply




Theme © iAndrew 2016 - Forum software by © MyBB