R
R
Roman2015-08-31 12:25:11
htaccess
Roman, 2015-08-31 12:25:11

How to make a redirect with two GETs?

RewriteRule ^a/([az,0-9,-]+)?$/?$ /games.php?id=$1&url=$2 [L,QSA]
Doesn't work like that, how would it be right?)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
ShamblerR, 2015-09-25
@ShamblerR

RewriteCond %{QUERY_STRING} ^первый$
RewriteCond %{QUERY_STRING} ^второй$
RewriteRule (.*) http://site.ru/%1%2 [QSA,R=301,L]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question