php - How can I create friendly URLs with .htaccess? -
I have a hard time with .htaccess I want to create a friendly URL for the site I'm working on Are ... Actually I want to change this: http://website.com/index .php? Ctrl = pelicula & amp; Id = 0221889 http://website.com/index.php?ctrl=pelicula&id=0160399&tab=posters In: http : //website.com/pelicula/0221889/ http://website.com/pelicula/0221889/posters/ If I want it later, I would also like to know that Like how to add the title of the article at the end of the URL (I am using PHP): http://website.com/pelicula/0221889/ article-name-name / http : //website.com/pelicula/0221889/the-article-name/posters/ Note: The Stakeworfl flow method is also good for me, for example the url of this question : http://stackoverflow.com/questions/3033407/htacces-to-create-friendly-urls-help-needed But you You can put anything after the id and it will also work. By the way: http://stackoverflow.com/questions/3033407/just-anything-i-want I used some automat...