+ 2
How to remove id from static urls
I'v made seo friendly url with .htaccess for example: siteName.com/posts/2 I want to change this url to siteName.com/posts/post-title-name. Who knows how it can be done P.S: get request "id" must be included Intitial url was : siteName.com/posts.php?id=1
1 Réponse
+ 3
RewriteCond %{QUERY_STRING} ^task=view$ [NC]
RewriteRule ^(.*)$ $1? [R=301,L]
https://stackoverflow.com/questions/21523311/removing-get-parameter-in-htaccess