A
A
agromov912020-05-27 20:11:57
Apache HTTP Server
agromov91, 2020-05-27 20:11:57

htaccess redirect?

There is a first pagination page on the site

site.ru/category?PAGEN_1=1&SIZEN_1=50

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2020-05-27
@dodo512

RewriteCond %{QUERY_STRING} (^|&)PAGEN_1=1($|&)
RewriteCond %{QUERY_STRING} (^|&)SIZEN_1=50($|&)
RewriteRule ^(.*)$ /$1? [R=301,L]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question