finally my WP is ready with shoutbox theme and i'm very happy about it!
So im facing now some major issues since 3 days with moving the site. The story is, i installed
the WP in a subdirectory of my website: http://www.example.com/examplewp The main website at
present has already another website installed, so it's not an empty site.
The goal is to transfer whatever is at http://www.example.com/examplewp to: http://www.example.com
Now here's the thing. sounds like an easy task hah? That's what i thought, peace of cake. So
I hired a tech guy to do the job. The result was that the WP theme was totally messed up Totally!
Plus all widgets and settings were gone. So as a result of that i had to restore my old website again because
i couldn/t be live with such a messed up site. Second time, my hosting company did the transfer. Same issues
happened although less severe. Again, i had to restore my old website from backup.
So...i was wondering if any of you have any advice on this. I also browsed the net and found some scripts
like WP TWIN and BackupCreator. I understand that moving WP is easy when moving to an empty website,
but i have a very complex website running presently. Im trying to find someone to do it for me cause im not a techie
and by now im so scared to touch anything so not to mess up anything. Any help or advice please I really appreciate.
moving my wp - advice please3 posts from 3 voices
the easiest way is to use tools like http://wordpress.org/extend/plugins/search-and-replace/ to search & replace all occurencies of your subdirectory with your main url/domain. Then move all files to the right folder. Basically it's an easy task but I can imagine that some paths, etc. are hardcoded or in seperate option tables - it get's tricky then.
I have mine running off my old site using this syntax:
I'm not sure but it sounds like you have two problems.
1. Redirecting the url of your old site to point at the new one.
2. Not transferring your new WP site correctly to your old hosting server.
If you move the position of your WP site you have to change all the urls inside the files of the old location to the urls of the new location. That means change every instance of http://example.com/examplewp/... to http://newlocation.com/... before you move the site.
You have to change these urls in three places:
1. The wp-config.php file
2. The mysql database file
(You do this using phpmyadmin in your host admin area. Export the database info related to the old site as a database file (.sql). Then change the urls using find/replace in a text editing program. Then import that new database file into the phpmyadmin area of the NEW site)
3. The custom css file if you have any links in there.
Do you still want your old site to run, or do you want to replace it completely with the new WP one? Because if you don't want the old one, the easiest thing is just to delete all the files in the html folder (except the .htacess file) and set the WP site up there with all the correct urls in place (ie http://example.com/...) and then create a new database to import your wp database settings into.
Hope that helps you some.
You must log in to post.