X
X
xuxubla2015-12-10 09:21:08
Web development
xuxubla, 2015-12-10 09:21:08

How to configure .htacces to redirect specific GET parameters to a specific page?

There is a specific page, let's say site.ru/catalog/?id=1&kolya=da
You need to redirect it to the page site.ru/catalog/victor.
RewriteRule ^(.*)catalog/?id=1&kolya=da$ /catalog/victor [QSA, R=301] doesn't work. What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xuxubla, 2015-12-10
@xuxubla

RewriteCond %{QUERY_STRING} ^filter=Y&rooms_count=187&flat_price_min=1499&flat_price_max=3102$ [NC]
RewriteRule ^catalog/$ /catalog/kvartiry-studii? [R=301,L]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question