Hi there.
I have dragged the contents of a blog folder in a subdomain to the blog folder in the live domain.
The data is working, as it's showing content, but wp-admin doesn't work, and no styling is working. It's like CSS is removed.
But it is there, I can see it in the FTP folder.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /blog/wp-content/themes/lovecraft/style.css was not found on this server.</p>
<hr>
<address>Apache Server at beta.domainname.co.uk Port 80</address>
</body></html>
I don't know why it's still looking for beta. Any ideas?
WordPress: styling has all gone....
Moderator: General Moderators
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
WordPress: styling has all gone....
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: WordPress: styling has all gone....
Could it be because we had an old Blog in that blog folder. I deleted it and now it's confused it - is there some method to change that beta, so it points to the right place? I'm sure it's something in the core of it that's not sure. Rather than be binning it and starting over, be good to be able to fix it.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: WordPress: styling has all gone....
WP stores full URLs in the database. Check WP_HOME and WP_SITEURL values in your wp-config.php. If they're not there, add them.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: WordPress: styling has all gone....
No they are not in wp-config.php.
How do I code that in there please?
How do I code that in there please?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: WordPress: styling has all gone....
Code: Select all
define('WP_HOME', 'http://yoursite.com');
define('WP_SITEURL', 'http://yoursite.com');-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: WordPress: styling has all gone....
Got it - but now the images at the top don't show. But they are in there...... Trying to suss out why.
It's the images that are still looking for the BETA portion of the URL.
Is that in the database somewhere, or elsewhere?
It's the images that are still looking for the BETA portion of the URL.
Is that in the database somewhere, or elsewhere?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: WordPress: styling has all gone....
It's ok, I've sorted it. The main image had a beta in the URL.
The other few ones were correctly URLd but still didn't work. Jsut removed and started those again.
thanks for your guidance.
The other few ones were correctly URLd but still didn't work. Jsut removed and started those again.
thanks for your guidance.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.