Transfer WP from subdomain to main domain

After copying to the main-directory change the values in then wp-config.php and .htaccess files for the new localtion. Then you have to change the values in the database. You need 3 SQL-Statements, which you can execute with phpMyAdmin for example. First change the options-Table UPDATE wp_options SET option_value = replace(option_value, ‘http://www.example.com/subdir’, ‘http://www.example.com’) WHERE option_name=”home” OR … Read more

Migrating Multisite setup to a different domain

I would not recommend to change data such as usernames directly in the database, since you might break something…. Having said that I presume you have forgotten to add your new admin username to the site_admins option in your wp_sitemeta database table, therefor you won’t see the Network Menu, because your new username is not … Read more

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