Subdomain Forwarding Create Probelms With Media Query

Hello,

I have an issue with a subdomain forwarding that cause the media query to don't work properly.

I have the subdomain shop.rossanoferretti.com forwarded to the subfolder http://www.santoro-london.com/rfshopand the forward itself works correctly and home page is loaded as should be for the desktop version.

The problem is that the media query is ignored and because of this the mobile version is not loaded at all.

If you visit shop.rossanoferretti.com on mobile the desktop version is loaded

If you visit http://www.santoro-london.com/rfshopon mobile (the actual/rela address) the mobile version is loaded correctly.

My hosting provider said that the website is loaded inside an iFrame and this is the reason why the media query is not working ????

The website is under development, so some elements should be repositioned a little bit better.

Any idea how to solve the problem ?

Thank you very much !

What is your http_path in config.local.php?

What is your http_path in config.local.php?

Hello,

here is the code:

// Host and directory where software is installed on no-secure server
$config['http_host'] = 'www.santoro-london.com';
$config['http_path'] = '/rfshop';

// Host and directory where software is installed on secure server
$config['https_host'] = 'www.santoro-london.com';
$config['https_path'] = '/rfshop';

The problem was the hosting type on Plesk. By changin the hosting type from "forwarding" to "hosting" the Iframe the wrapped the site is disappeared.

Thanks anyway !

Glad you got it figured out.