I've got a prestashop website using xpert
blog module for blog posts. The problem is that all posts' urls end up with:
.html?page_type=post
I need to avoid or hide these query string via .htaccess
. Can anybody help me out?
I've got a prestashop website using xpert
blog module for blog posts. The problem is that all posts' urls end up with:
.html?page_type=post
I need to avoid or hide these query string via .htaccess
. Can anybody help me out?
Please try this in your .htaccess:
RewriteEngine on
RewriteCond %{THE_REQUEST} \?page_type=post\sHTTP [NC]
RewriteRule ^ %{REQUEST_URI}? [L,R]