I'm trying to implement URL Redirect in sites along with dynamic parameters and this is not working.

Working scenario : with no dynamic parameter.

Below scenario works fine when this is no dynamic parameter.

enter image description here

source url :/VFPAGE Target URL :new-example.com/VFPAGE


Incoming URL: old-example.com/VFPAGE

Desired destination: new-example.com/VFPAGE


How to implement below scenario I need to pass the parameter value to destination URL?

Incoming url: old-example.com/VFPAGE?Id=<Dynamic can be different Id's each time>

Desired destination: new-example.com/VFPAGE?Id=<Dynamic can be different Id's each time>

enter image description here

The above use case is not working, is it possible to implement something like above or do we have a limitation if so can someone please point to documentation ?

  • Hi. I think you should edit your question to add clarity of what you are doing, detail of how you have tried to do it (e.g. screenshots of, or details for, your configuration) and the specific issue you are seeing in your current solution. As it stands I cannot understand what you are getting at. – Phil W Oct 19 '20 at 9:31
  • Hi Phil sorry for that let me restructure the question. 10 mins please. – vkm Oct 19 '20 at 9:56
  • 1
    Hi Phil, update the question please let me know in case this is still not clear, I'm trying to implement site url redirect with parameter. I need to pass param value to target URL but I couldn't found any documentation, if param is hardcoded then only it's working. – vkm Oct 19 '20 at 10:06
  • 1
    Much clearer now. – Phil W Oct 19 '20 at 10:08
  • 1
    Looking at the documentation "Query parameters in site URL redirects are matched exactly" so there's no way to have these statically defined redirects with dynamic query parameters. You need to leverage your own redirection mechanism instead. – Phil W Oct 19 '20 at 10:29

This is not possible with config.

Document clearly states same 'Query parameters in site URL redirects are matched exactly'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.