I have the following rule:

RewriteRule ^farm-products/([A-Za-z0-9-]+)/([0-9]+)/([A-Za-z0-9-]+)/([0-9]+)/([0-9]+)/?$ products.php?$1&page=$2&what=$3&t=$4&cat=$5

The user sees:


Is it possible to hide from the URL the query parameters?

I want to show only:


1 Answer 1


It depends on your CMS that you are using.

However, most likely the answer is that you cannot do that easily at least. The CMS would need to be modified to do the category / product lookups using the their titles instead of identifiers. This might take quite some effort.

You need to discuss this issue with your CMS developer.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.