× Here you can get community support related to ReDJ.

Transfer only a few query parameters

More
8 years 11 months ago #4574 by Henri
I am an absolute novice to redirects, please help..!!

This is the incoming link we want to redirect:
www.ncautomatisering.nl/een-vraag-aan-de-helpdesk.html?tmpl=component&option=com_content&view=article&id=15&Itemid=22
&company=Zorgwaard&computernaam="& StrClientName & objNet.ComputerName&"&email="& objuser.mail&"&name="& objuser.displayname

The url starting from http till itemid=22 should be replaced by
http://newurl/helpdesk/helpdeks-form

The parameters &company etc should be parsed to the new url

What I did, created a new redirect url
helpdesk/helpdesk-form{querybuild company,computernaam,email,name}

but this doesn't work, de querybuild is not executed but added as plain text to the new url.


Furthermore, I need ONE rule to parse all possible combination of parameters... Now each incoming link is registered as 'error' (with all individual parameters attached)

MANY THANKS. It drives me crazy!!!

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

More
8 years 11 months ago #4575 by admin
Replied by admin on topic Transfer only a few query parameters
Try this:
From URL: ^/een-vraag-aan-de-helpdesk\.html\?tmpl=component&option=com_content&view=article&id=15&Itemid=22
To URL: http://newurl/helpdesk/helpdeks-form{querybuildfull company,computernaam,email,name}
Request only: true (checked)

Regards

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

More
8 years 11 months ago #4595 by Henri
Replied by Henri on topic Transfer only a few query parameters
EXCELLENT!!! Works like a charm!

Many thanks!

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

More
8 years 11 months ago #4598 by admin
Replied by admin on topic Transfer only a few query parameters
U're welcome! :)

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

Time to create page: 0.137 seconds