A
A
AlexMark2017-04-26 17:44:17
PHP
AlexMark, 2017-04-26 17:44:17

How to check array in REQUEST redirect?

There is a task to make a redirect from https://www.site.ru/some/category/another/mayby/?p... to a page like https://www.site.ru/some/?position=mine , between some and the request request can be any product. folders, the main thing is that at the end there should be a specific Request request and the beginning should also be equal to some. It doesn't work at all, I've been beating my head for an hour now. I will be grateful for advice.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Ne-Lexa, 2017-04-26
@NeLexa

It's not clear what the problem is.

header("Location: /some/?position=mine");
exit;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question