How to fix mime-type and (after disabling nosniff) 404 errors for css and js files in staging site

I found there were two problems causing this: There is some kind of server caching I apparently don’t manage. I cleared that by adding a query to the URL (like staging.site.org/?a=b) and some things started being served, but many were still giving 404s. There was a rewrite rule in .htaccess designed to prevent hotlinking things … Read more

How to stage a redesigned site on a new webhost while the original site is still live? [closed]

SO FINALLY to my question: Is this indeed a brilliant solution, or is there a real possibility it will it cause me major problems like broken links and database corruption in the future? You will find that new content created refers to the new URL, even after you remove the config statements, and old content … Read more