• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.