U
U
uaf0x2016-08-24 14:33:07
CodeIgniter
uaf0x, 2016-08-24 14:33:07

How to remove the GET parameter when redirecting?

when I write the line
Redirect 301 /contact.php site.ru
Then, when I go to site.ru/contact.php, it redirects to the address http:/site.ru/?/contact.php
What could it be? If that framework CI3

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vitaliy Orlov, 2016-08-24
@orlov0562

1) try to specify the protocol:
2) If the problem persists, see the headers. It is possible that in addition to the Apache redirect, the framework also redirects. You will see it in the headers.

V
Viktor Taran, 2016-08-25
@shambler81

/?- at the end

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question