Changing paths to images in Wordpress

Posted by Jon Winstanley on Stack Overflow See other posts from Stack Overflow or by Jon Winstanley
Published on 2010-03-18T07:30:42Z Indexed on 2010/03/18 13:41 UTC
Read the original article Hit count: 386

Filed under:
|
|

I recently moved a friends blog onto his new web hosts but unfortunately the images are not working.

This is due to the old host having the following path for images:

http://www.example.com/blog/wp-content/uploads/2009/07/imagename.jpg

The new host uses a different layout and has this path for the file:

http://www.example.com/wp-content/uploads/2009/07/imagename.jpg

'Blog' has been removed.

Does anyone know the easiest way to fix this issue?

© Stack Overflow or respective owner

Related posts about Wordpress

Related posts about .htaccess