A
A
acspro2015-04-01 12:49:11
Nginx
acspro, 2015-04-01 12:49:11

How to redirect to .htaccess with GET parameters?

Seoshniki set the task.
From the address dip24.ru/blog/soveti-5yaterkina/?start=35 to the
address
dip24.ru/blog/soveti-5yaterkina ?start=35$ /blog/soveti-5yaterkina/ [R=301,NC,L] From the software on the server is to return nginx statics to the backend - apache.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valery Ryaboshapko, 2015-04-01
@acspro

You have nginx as a front-end, so you need to do the redirect with its forces. The rewrite rules are almost identical, see the documentation for details . But, on the other hand, I'm not sure that he can process variables from GET, so you may have to write a script.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question