I would like to make my URL friendly on . htaccess

Asked

Viewed 63 times

0

Hello, I am trying in several ways trying to make my URL more friendly but I am not able to leave, she is like this:

http://meusite.com/single-product.php?aff_ext=1000&categoria=77&produto=548829

I’d like to leave her like this:

http://meusite.com/single-product.php/sansung-galaxy-s6-4g

With the above example I would like to take out all those Gets and switch to the product name, but to get the product description page I need the Gets. I need something to camouflage the URL only in the user’s browser

  • But in this case I will have several categories and several products if I go to make 1 for each one would not have as

1 answer

1

for what you want apache settings in your .htaccess are the smallest difficulties you will have, in recommend the development of a small MVC system.

For this I recommend the following link: Creating a PHP 5 mini-framework with MVC

Credits to our colleague Matheus Moura, who in this series of videos teaches very well, I hope to have helped.

  • Thank you Leandro was very helpful, God bless you!!!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.