× Here you can get community support related to ReDJ.

Is space a problem?

  • Jazzperson
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 5 months ago #3304 by Jazzperson
Is space a problem? was created 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.

More
9 years 5 months ago #3306 by admin
Replied by admin on topic Is space a problem?
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
  • New Member
More
9 years 5 months ago #3307 by Jazzperson
Replied by Jazzperson on topic Is space a problem?
Thank you very much - i've tried different things with .htaccess and ReDJ for hours, but your suggesten works like a charm.! :D

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #3308 by admin
Replied by admin on topic Is space a problem?
U're welcome. ;)

Please Log in or Create an account to join the conversation.

Time to create page: 0.096 seconds