How to change

You should hook with the locale filter: add_filter(‘locale’, ‘my_get_locale’); function my_get_locale($locale) { if ( is_page( 2846) ) { return “en_GB”; } return $locale; }

Multisite use language code as subdirectory

Here’s a proper multisite solution: Install WordPress directly on the root of your domain mysite.de. After that, setup a multisite and chose the subdomain option (Yes, subdomain! It’s far more flexible and you can use it with subdirectories as well). WordPress will ask you to update wp-config.php and .htaccess. To the wp-config.php add the following … Read more

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