Get redirect target url into a variable from original url - advanced

See post/thread: Get redirect target from url

This is working for me as well but I want to know to which URL the original used URL in the scenario is redirected and get this URL into a variable that I can use in a next module.

So, the question is: How to get the redirect target url into a variable from original url to be used in another module in the same scenario?

To do this, you can try using the HTTP “Resolve a target URL” module —

Resolves a chain of HTTP redirects and returns a target URL.

You might need to change the Method to “GET”, as not all websites support a HEAD connection.

e.g.:
Screenshot 2025-10-16 154808

For more information about the Resolve a target URL module and HTTP app, see the corresponding Integrations page and the Help Centre documentation.

Hope that points you in the right direction. If you have any more questions, just ask.

— @samliew

3 Likes

Tried it and working as needed/wanted/asked.

P.S. Had to change the request to GET as explained in the advanced settings.

1 Like

No problem, glad I could help you with "Get redirect target url into a variable from original url - advanced"!

1. Which was the most helpful post in this thread?

The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep this forum organised. :folded_hands:

This marks the topic as solved, so that others can:

  • save time when browsing the latest activity on the forum, and
  • quickly jump to the solution in this topic

To do this, simply click the checkbox at the bottom of the post that is the most helpful in answering your question.

a screenshot of post menu options at the bottom of each post

:link: Here’s a magic link to a list of your other “unsolved” topics: status:unsolved

2. Have you learnt something new?

Do bookmark this topic so you can easily find and return to this topic in future.

a screenshot of bookmark link at the bottom of the topic

:link: Here’s a magic link to a list of your bookmarks /my/activity/bookmarks!

3. Have a different/follow-up question? Start a new topic.

Creating a new topic for each question makes it easier for others with the same problem to search for answers. You are also more likely to receive help sooner as new topics are displayed first on the forum’s “new” page!

— @samliew