Forums

change style sheet url based on requesting url (1 post)

  1. frescova
    Member
    Posted 2 years ago #

    I have several domains pointing to my main domain, including an "https"

    when all of my pointing domains request my site everything works great, but when the request is made via the https domain the stylesheet (and other supporting files js, etc.) don't load.

    Is there any way to set it up so that when the request is made from the https domain that the references to the style sheet and js files are appended to include the https domain instead of the default domain?

    i.e.

    My site is at http://www.frescova.com

    Now and then a request will come from https://www.frescodesigns.com - frescodesigns.com is a pointer to frescova.com - If the site is requested by http://www.frescodesigns.com everything works fine - if it is requested by https://www.frescodesigns.com styles break...

    ANy advice or guidance is appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.