Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have recently moved my wordpress site from localhost to an apache server with plesk. Upon doing this my images are not appearing on the website despite still being in the media folder (however I cannot see them in uploads despite that being their url path). Also when I try and install plugins wordpress asks for ftp login details and even when they are correct, the install fails. I have seen a number of potential solutions online, none of which seem to be working for me! Does anyone know if this may just be a case of the hosting company changing permissions? I did change them all temporarily to 777 in ftp but that still didnt solve the issue. My woocommerce importer won't even allow me to import csvs at the moment!

Any help or ideas would be much appreciated as there seems to be one thing after another on this server move:)

Matt

share|improve this question
    
Please, add debug information to your Question (edit). Also, check this troubleshooting guide. –  brasofilo Mar 8 '13 at 11:43
add comment

1 Answer

First thing I would do:

In your wp-config.php file, hardcode your new site URL by entering

define('WP_SITEURL', 'http://www.example.com');
define('WP_HOME', 'http://www.example.com'); 

After that, have a look at the source code of your pages including images, and verify how the URLs of the the images look like. If they are wrong (relative to localhost?), you may have to run a little search/replace on your database.

share|improve this answer
    
Cheers for the reply. Since posting that however I have set permissions to 777 on some other folders and it has worked. I don't want to leave them as 777 though so would you or anyone know if there is a way around this? –  user2143915 Mar 8 '13 at 12:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.