StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   Urgent assistance needed! Error after moving website! (http://www.studiopress.com/support/showthread.php?t=9727)

fingolfin1975 06-12-2009 06:34 PM

Urgent assistance needed! Error after moving website!
 
Hello everyone,
I need urgent support on a problem I have had after moving my client's website built upon agent theme on the new web hosting service.

Everything seems to work fine after migration of all the files and settings of the db except for a thing!

When I try to upload an image from the "media" button, it starts to upload and then I get this error which I'll try to translate from Italian.

"Dir creation impossible /web/htdocs/www.c-75.net/home/wptest/wp-content/uploads/2009/06. Please verify that the root dir is writable on the server"

www.c-75.net was my old test website while now it should be www.larosaimmobiliare.com.

Where can i find the way to change the destination!?!

Please help me cause the deadline for this thing is on Monday and I really have no idea how to work it out!

Thank you in advance!
Claudio

BillStilwell 06-12-2009 07:11 PM

Re: Urgent assistance needed! Error after moving website!
 
Path on new site: /web/htdocs/www.c-75.net/home/wptest/wp-content/uploads/2009/06

- Make a backup of your WP files. Backup database also.
- move all your WordPress files into the htdocs folder
- Path on new site should look like this: /web/htdocs/wp-content/uploads/2009/06

evejackson 06-12-2009 11:22 PM

Re: Urgent assistance needed! Error after moving website!
 
Hi,

Moving a wordpress site takes a few steps because wordpress uses absolute url's.

Here's what to do:

1. Log in to your new site's phpmyadmin and to the database you're using for the new site.

2. In the sql box add this:

- UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl';

And then this:

- UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com');

And finally this:

- UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');

(In all cases replace http://www.old-domain.com and http://www.new-domain.com with your old and new site urls)

If you have a problem, let me know.

-e

beggers 06-13-2009 02:31 AM

Re: Urgent assistance needed! Error after moving website!
 
Great info. Thanks, Eve.

fingolfin1975 06-13-2009 03:52 AM

Re: Urgent assistance needed! Error after moving website!
 
Hello Eve!
Thanks for your assistance.

I've managed to fix the issue :)

Best regards,
Claudio


All times are GMT -5. The time now is 07:54 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.