Notifications
Clear all

[Solved] URL parameters inserted into URL path

2 Posts
2 Users
0 Likes
458 Views
Posts: 1
Topic starter
(@champagne)
New Member
Joined: 1 year 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: 874
Admin
(@admin)
Prominent Member
Joined: 15 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