change style sheet url based on requesting url
-
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 https://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 https://www.frescodesigns.com everything works fine – if it is requested by https://www.frescodesigns.com styles break…
ANy advice or guidance is appreciated.
- The topic ‘change style sheet url based on requesting url’ is closed to new replies.