Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

How to pass iframe url parameter with main domain url
https://www.tinywebgallery.com/forum/viewtopic.php?f=21&t=3988
Page 1 of 1

Author:  gagan [ 4. Dec 2015, 12:12 ]
Post subject:  How to pass iframe url parameter with main domain url

Hi,
I have installed Advanced iframe pro plugin in my wordpress. I would like to pass iframe url to domain url, for example

Domain url : www.example.com
iframe url : http://www.bbc.com/news/world-europe-35002158

I would like to make it like,

www.example.com/technology/www.bbc.com/news/world-europe-35002158

how to do this with advanced iframe pro plugin ?

Author:  TinyWebGallery [ 4. Dec 2015, 12:39 ]
Post subject:  Re: How to pass iframe url parameter with main domain url

www.example.com/technology/www.bbc.com/news/world-europe-35002158

does not exist. Therefore you will get a 404 error.

Thi is only possible with a rewrite rule in the .htaccess where you e.g. create a url to an existing page which can handle the parameter.

e.g.
www.example.com/technology/ is the page with the iframe.

www.example.com/technology/www.bbc.com/news/world-europe-35002158
is converted by .htaccess to
www.example.com/technology/?page=http%3//www.bbc.com/news/world-europe-35002158

and than you configure that page is the parameter from the url that is shown in the iframe.

See "Map parameter to url" in the administration.

Best, Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/