ok, so i tried to install my wp blog to another host for when i sell it. so i tried installing on my own local host, everything seemed to go ok, but why i go to http://localhost/PD/wp-admin it directs to http://mysitesname.net/wp-admin should it do that? or not?
ive transferred all files etc, but all i get is errors ? whether its tryin to access the wp-admin i get Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\PD\wp-content\plugins\all-in-one-seo-pack\aioseop.class.php:4547) in C:\xampp\htdocs\PD\wp-includes\pluggable.php on line 890 Code (markup): and when i first install i, i get an error from the CPA gateway plugin?
first disable all the plugins and do all the settings as per localhost then enable the plugins... by the way why u want to install plugins on ur local installation???
because soon i will be transferring the site from a free host to a reseller account i have.. but i dont want to get it wrong when its in 'live' form... so im trying to master it on my local host to get it too work!
Type in your SQL Tab UPDATE wp_posts SET guid = REPLACE (guid,'http://www.olddomain.com','http://localhost/PD/'); Change the values at olddomain and localhost and hit enter.
Warning: require_once(/home/products/public_html/wp-admin/includes/user.php) [function.require-once]: failed to open stream: No such file or directory in /home/products/public_html/wp-admin/includes/admin.php on line 46 Fatal error: require_once() [function.require]: Failed opening required '/home/products/public_html/wp-admin/includes/user.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/products/public_html/wp-admin/includes/admin.php on line 46 ---- ive moved it too a server, because it was the same domain name it was all easy. untill i wanted to log in as admin where i got that error above ?
just put this in your wp-config define('WP_SITEURL', 'http://www.example.com'); define('WP_HOME', 'http://www.example.com'); and Now set up your blog install, with the same settings as on the old domain (if you have a caching plugin installed, delete your cache files). Install the Search and Replace plugin, and do a search and replace for your old URL's and change them with your new URL's. Once you're done, and you've checked everything works twice thats how i do it everytime. hope it helps. you dont have to login to the database much easier this way..