简体   繁体   中英

CSS Stylesheet(s) not loading after a domain change

We recently transferred to a new off site hosted website. Due to needing to access our old site still we created an internal access only sub-domain, (ex. http://oldsite.domain.com ). The style sheets are relative paths and they worked flawlessly when we were still using http://www.domain.com .

Now under the oldsite sub-domain the CSS stylesheets will not load, or even at times randomly load partially.

Has anyone experienced this issue? If so can anyone assist in locating some steps for troubleshooting or even resolution? I've been researching this for over a week now with little luck finding how a domain change could effect the relative path css stylesheets.

Sounds like an issue with your .htaccess file. Make sure to update .htaccess with directories or anything if it has been changed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM