Markus
Markus

Reputation: 1557

WordPress - Changed directory and images do not appear

I changed the folder that my WordPress installation was in.

However, this worked fine, except now all my images are not showing up.

The problem is that each post has the full url of the image in it. (not my doing, this seems to be the default setting)

Is there a tool or a quick fix available for this?

Upvotes: 0

Views: 346

Answers (2)

Till
Till

Reputation: 22406

There is a Update URLs plugin for Wordpress to help you with that. Hope that helps!

Upvotes: 3

Matthew Scharley
Matthew Scharley

Reputation: 132374

You need to update your settings to reflect the directory change on the settings page in your admin section.

Edit:

Since it seems to be a problem in the posts themselves, you'll probably have to write a quick fixme script that runs through your post table searches for '="/' or something similar and updates any hardcoded links.

Upvotes: 2

Related Questions