D
D
Diversia2017-01-11 14:55:01
htaccess
Diversia, 2017-01-11 14:55:01

How to pass GET through htaccess?

Hello.
The user enters the page using the link:
http://reg.site.ru/?code=123abc
123abc - everyone will have their own.
The site file contains htaccess, which should redirect the request to another site:
Redirect 301 / https://site2.ru/?code=123abc
How to compose htaccess to pass code=123abc to GET?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WQP, 2017-01-11
@WQP

Through{REQUEST_URI}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question