- Joined
- Nov 11, 2022
- Messages
- 2
- Reaction score
- 0
I need to do a simple static single redirection from one page to another. The problem is that the URL of the page to be redirected or of both pages contain specials characters ("?", "%", "$" etc.).
I have do this redirection here:
from
confindustria.vr.it/confindustria/verona/board.nsf/pages/lavoro?opendocument
to
verona-www.neispa.com/hub/confindustria/verona/gate.nsf/homema?openform&restricttocategory=Lavoro%20e%20previdenza
I thought it was enough just to do like this:
But I see it doesn't work.
What should I do?
I have do this redirection here:
from
confindustria.vr.it/confindustria/verona/board.nsf/pages/lavoro?opendocument
to
verona-www.neispa.com/hub/confindustria/verona/gate.nsf/homema?openform&restricttocategory=Lavoro%20e%20previdenza
I thought it was enough just to do like this:
Code:
RewriteCond %{THE_REQUEST} ^confindustria/verona/board.nsf/pages/lavoro$
RewriteCond %{QUERY_STRING} ^opendocument$
RewriteRule ^(.*)$ https://verona-www.neispa.com/hub/confindustria/verona/gate.nsf/homema?openform&restricttocategory=Lavoro%20e%20previdenza [R=301,L]
But I see it doesn't work.
What should I do?