Home > Technical & Creative Skills > Programming, Servers & Scripts

Iframing a domain - how to get the url in the browser to match the iframed domain? (2)


12-02-2015 12:26 PM #1 karim0028 (Member)
Iframing a domain - how to get the url in the browser to match the iframed domain?

Hi,

I have a domain

baseframe.com

baseframe.com only hosts a php file that iframes lets say ebay.com

ie. you open baseframe.com and you see ebay.com

Is there a way to get the path to match my baseframe domain?

ie. if within the iframe you go to

ebay.com/product1/index.html

the url would show

baseframe.com/product1/index.html

Whats the best way to do this?

I've tried using

<base target="_blank" />

but it doesnt seem to do anything...


12-02-2015 02:05 PM #2 moneym (Member)

You don't have control over the site (ebay.com for example) that you are iframing. It's not possible.


Home > Technical & Creative Skills > Programming, Servers & Scripts