Inexplicable stylesheet issue
-
Hi Cory! Love your Duplicator plugin and have used it several times with great success. But I’m now getting the strangest thing. I duplicated my client’s site over to a staging site for best-practices testing of updates etc. And the staging site “mostly” displays well, but is somewhat wonky in its layout and css. So I view the site in Safari with the Web Inspector, and eventually discover that… if I change the URL for the site’s stylesheet…
<link rel=”stylesheet” id=”vjff-css” href=”http://staging.vjff.org/wordpress/wp-content/themes/VJFF/style.css” type=”text/css” media=”all”>
…by taking out the “staging.” from the URL, so it reads:
<link rel=”stylesheet” id=”vjff-css” href=”http://vjff.org/wordpress/wp-content/themes/VJFF/style.css?ver=2.1.2″ type=”text/css” media=”all”>
…the site displays perfectly.
The only differences were the expected ones, i.e. links to images in the staging site point to graphics there, not the live site (similar difference to the change I made above).
Weirder still, if I manually edit my staging site’s CSS file to have the exact same content as the live site, I STILL get the wonky site display, which STILL resolves if I change the stylesheet’s URL in Web Inspector.
I’m just baffled by this one and – though I realize it’s probably not strictly a Duplicator issue – I don’t know where to turn. So I’m hoping you can suggest something…. let me know.
Thanks!
Adam
- The topic ‘Inexplicable stylesheet issue’ is closed to new replies.