WordPress Stylesheet Missing in Safari

jsandahl

This is an interesting situation. You might have migrated your blog lately or your hosting provider moved your database somewhere and all the sudden your WordPress blog is no longer showing up in Safari. It may work fine in Chrome and Firefox, but is irritatingly missing from Safari. A check in the code reveals that your stylesheet URL has an extra space added before the relative part of the link. For some reason, this space doesn’t seem to bother the other browsers, but only Safari.

The fix is even more simple than the diagnosis. In order to fix it, you will need to get into the database and change one of the lines of the wordpress options table, where the site URL is given. In my case, there was a hidden return character, but it could have just as easily been a space after the URL. Once this space is removed, you should be well on your way to a working stylesheet, if not already there.

If you don’t have access to the database or you would rather make a more simple fix, edit the wp-header page and instead of the bloginfo() function, type in the direct link (relative link is preferred here) to the stylesheet.

What Are Your Thoughts?

Your email address will not be published. Required fields are marked *