× Here you can get community support related to ReDJ.

help redirect and keep get parameters

  • cavemanninja
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 3 weeks ago - 8 years 3 weeks ago #5709 by cavemanninja
help redirect and keep get parameters was created by cavemanninja
Hi I'm trying to redirect from this

www.sitename.com/abc?p1=v1&p2=v2

to

www.sitename.com/xyz?p1=v1&p2=v2

I'm hopeless with regular expressions can you help.

Thanks.
Last edit: 8 years 3 weeks ago by cavemanninja.

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

  • cavemanninja
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 3 weeks ago #5710 by cavemanninja
Replied by cavemanninja on topic help redirect and keep get parameters
I followed this guide www.selfget.com/documentation/redj-joomla25/create-a-redirection-rule.html

and my from rule is

^/abc

it matches when there is no query but does not match when there is a query.

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

More
8 years 3 weeks ago #5712 by admin
Replied by admin on topic help redirect and keep get parameters
Hi,
try this rule (literally):
From URL: ^/abc
To URL: {scheme}://{siteurl}/xyz{queryfull}
Request only: true (checked)

Kind regards,
Luigi

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

Time to create page: 0.154 seconds