turn single domain off

Your easiest route is probably to use a plugin like Restricted Site Access (disclaimer: written by my boss) to redirect a user who isn’t logged in elsewhere, like the network home or something else. There are a few other similar plugins out there. Another option would be to take the code you say you’d put … Read more

WordPress on localhost still points to the live site

I have found the answer… well to my situation anyway. It was something related to multisite. Removing the following from wp-config.php got it to work for me. Removed define(‘WP_ALLOW_MULTISITE’, true); define( ‘MULTISITE’, true ); define( ‘SUBDOMAIN_INSTALL’, false ); $base=”https://wordpress.stackexchange.com/”; define( ‘DOMAIN_CURRENT_SITE’, ‘www.mywebsite.co.uk’ ); define( ‘PATH_CURRENT_SITE’, “https://wordpress.stackexchange.com/” ); define( ‘SITE_ID_CURRENT_SITE’, 1 ); define( ‘BLOG_ID_CURRENT_SITE’, 1 ); … Read more

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