Is space a problem?
-
Jazzperson
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
10 years 5 months ago #3304
by Jazzperson
Hi,
I can't get the fellowing redirect to work. I don't really understand why - i supect the space and/or the questionmark the be the reason, but should't ReDJ be able to handle this?
This urls:
From:
/publication?type=Buy now
To:
/publications/buy-now.html
Any suggestions?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
10 years 5 months ago #3306
by admin
Hi,
you must escape the question mark when used as "literal". Moeover, to support literal spaces in the source URL you must use "decode URL" option. So:
From URL: ^/publication\?type=Buy now$
To URL: {scheme}://{siteurl}/publications/buy-now.html
Request only: true (checked)
Decode URL: true (checked)
Kind regards,
Luigi
The following user(s) said Thank You: Jazzperson
Please Log in or Create an account to join the conversation.
-
Jazzperson
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
10 years 5 months ago #3307
by Jazzperson
Thank you very much - i've tried different things with .htaccess and ReDJ for hours, but your suggesten works like a charm.!
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
Time to create page: 0.088 seconds