× Here you can get community support related to ReDJ.

Redirect to a new page while keeping query string

  • Appledaily
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 9 months ago - 8 years 9 months ago #4729 by Appledaily
Hi,

I need to redirect all the pages with www.site.com/web/show-docs? to tools.site.com/library/showdocs.asp?
where each link has its own query string and it would be carried over to the new URL.
Eg,
From: www.site.com/web/show-docs?PId=00001234F&type=b&salp=1
To: tools.site.com/library/showdocs.asp?PId=00001234F&type=b&salp=1

Please advice.

Thanks!
Last edit: 8 years 9 months ago by Appledaily.

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

More
8 years 9 months ago #4731 by admin
Hi,
create the following rule (literally):
From URL: ^/web/show-docs\?
To URL: http://tools.site.com/library/showdocs.asp{queryfull}
Request only: true (checked)

Kind regards,
Luigi

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

  • Appledaily
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 9 months ago #4733 by Appledaily
Replied by Appledaily on topic Redirect to a new page while keeping query string
It works perfectly for this and my other pages! Many thanks!
Saved me lots of time!

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

More
8 years 9 months ago #4736 by admin
Great,
u're welcome!!!

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

Time to create page: 0.148 seconds