Thursday, 19 September 2013

CSS Stylesheet linking wrong in Wordpress across entire site

CSS Stylesheet linking wrong in Wordpress across entire site

Ok, I have a feeling I've really done it this time. I've developed a
Wordpress site locally and then transferred it to my remote server. I did
a search and replace on the database using the script.
Now, I go into my site on the remote server and the HTML is good, but the
CSS stylesheet is not linking properly.
Here is how it appears when I view source:
<link rel="stylesheet" type="text/css" media="all"
href="www.fairchildwebsolutions.com/jesusandg/wp-content/themes/Sky/style.css"
/>
Now when I click on the link in source, I am directed to this:
www.fairchildwebsolutions.com/jesusandg/www.fairchildwebsolutions.com/jesusandg/wp-content/themes/Sky/style.css
Obviously, one too many domain names in there, so the file cannot be
found. My question now is, how do I go back and do a search and replace on
this to remove the extra domain without messing things up even worse?

No comments:

Post a Comment