Doubts about how to migrate WordPress from local to online server using Search and Replace Tool script

What you need to do is simple. Place the file in the root of the website. Access this file via web browser. For example. type – www.yoursite.com/searchreplacedb2.php In the page, enter your database details, including username and password. Also, specify your localhost http address, which in most cases is localhost For example, in my testing … Read more

Migration Question

You can read this article about migration in codex. That’s a good start. When migrating there are no special tricks, you just have to upload your files to new location and change some datas in your DB to tell WordPress your website has a new location. Be cautious with those 3 wp options tables which … Read more

Moving Site From Development to Production

If you have access to Cpanel this is what I do. Ensure you have up to date backups of EVERYTHING before attempting to make changes to the database. First if WordPress is installed on your production environment upload your theme files. (sounds like you have done this already) Second go to Cpanel on your Development … Read more

How do I make a copy of WordPress to other folder

If you want to move wordpress you should this: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory I guess you want to create a development environment, and because you never edit core files of WordPress you don’t have to copy WordPress itself because the only thing you are changing is the theme folder. And you don’t want to install WordPress a second … Read more

import (migration) user database to wp-users

get all data from DB1( non-wp-database ) and save to an $array. Use this wordpress code inside your functions.php for insert users into DB2 ( wordpress database). function cxg_wp_insert_user() { foreach ( $array as $arr ) { $user_data = array( ‘ID’ => ”, ‘user_pass’ => wp_generate_password(), ‘user_login’ => $loginName, ‘user_nicename’ => $nicename, ‘user_url’ => ”, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)