0

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?

1

1 Answer 1

0

Please try this in your .htaccess:

RewriteEngine on
RewriteCond %{THE_REQUEST} \?page_type=post\sHTTP [NC]
RewriteRule ^ %{REQUEST_URI}? [L,R]
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.