Answer the question
In order to leave comments, you need to log in
How to implement a redirect in .htaccess?
You need to do
the following transformation
juristcomp.ru/index.php?id=3363&product_1=8495&type=3
on
juristcomp.ru/toindex.php?product=363
RewriteRule ^index.php?id=3363&tovar_1=8495&type=3$ toindex.php?product=363 [L]
Answer the question
In order to leave comments, you need to log in
I don't see the point in converting. 3363 becomes 363 for you, tovar_1 and type disappear altogether...
for conversion, at least one value is needed, which remains before and after. Or are you only interested in the transformation of this link, there cannot be other IDs?
here ... drove, updated
RewriteEngine on
RewriteRule ^toindex.php?product=363$ index.php?id=3363&tovar_1=8495&type=3 [NC]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question