Notifications
Clear all

[Solved] URL parameters inserted into URL path

2 Posts
2 Users
0 Reactions
978 Views
Posts: 1
Topic starter
(@champagne)
New Member
Joined: 2 years ago

Hi, I'm trying to determine if the plugin will take URL parameters and pass them into the path of an URL (not just append as other parameters) in the iFrame.

 

For instance, I send - mydomain.com?param1&param2

 

and the iframe source is - somedomain.com/{{param1}}/xyz/{{param2}}/abc

 

If so, how would I go about doing this?

1 Reply
TinyWebGallery
Posts: 925
Admin
(@admin)
Prominent Member
Joined: 16 years ago

You can do this by using placeholders in the src parameter

https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/url-features#h49

In your case it would be:

parent: mydomain.com?param1=a&param2=b
iframe src: somedomain.com/{query-param1}/xyz/{query-param2}/abc

Result: somedomain.com/a/xyz/b/abc

Best regards, Michael

Reply