Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Subdomain Forwarding Create Probelms With Media Query Rate Topic   - - - - -

 
  • lparodi
  • Member
  • Trial users
  • Join Date: 08-Dec 14
  • 46 posts

Posted 08 October 2015 - 08:06 AM #1

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 !



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11454 posts

Posted 09 October 2015 - 06:15 AM #2

What is your http_path in config.local.php?

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • lparodi
  • Member
  • Trial users
  • Join Date: 08-Dec 14
  • 46 posts

Posted 09 October 2015 - 07:44 AM #3

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';



 
  • lparodi
  • Member
  • Trial users
  • Join Date: 08-Dec 14
  • 46 posts

Posted 09 October 2015 - 12:44 PM #4

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 !



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11454 posts

Posted 09 October 2015 - 05:31 PM #5

Glad you got it figured out.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.