I am using laravel 5.2 and I have search form which pass GET parameter, so in url its like
http://ift.tt/2eaNhXj
so search result is shown with such ugly url, I want to make this url seo friendly, I don't want to use post method.
Is there any .htaccess code that can help to make seo friendly url of such get parameter.
I tried this .htaccess code but doesn't work.
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?params=$1 [L,QSA]
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire