Login problems on multisite installation with different domains
Simply add this line of code to wp-config.php near your Multisite config settings. define(‘COOKIE_DOMAIN’,FALSE);
Simply add this line of code to wp-config.php near your Multisite config settings. define(‘COOKIE_DOMAIN’,FALSE);
Yes, multisite is not what you need here. I would try to map all subdomains on the same wordpress install, and then customize the template via the current URL. In the wp-config.php you then use the current URL as base url: define(‘WP_HOME’, ‘http://’ . $_SERVER[‘HTTP_HOST’]); define(‘WP_SITEURL’, ‘http://’ . $_SERVER[‘HTTP_HOST’]); You can also do different themes … Read more
Redirect to localhost after installing Multisite on server
Multisite, Subdomain, shared NFS directory Linux HELP
Redefine cookie domain for subdomains
Have you copied and modified the specified lines from your wp-config.php from old site to the new site? The code should look something like this define( ‘MULTISITE’, true ); define( ‘SUBDOMAIN_INSTALL’, true ); $base=”https://wordpress.stackexchange.com/”; define( ‘DOMAIN_CURRENT_SITE’, ‘yourdomain.com’ ); define( ‘PATH_CURRENT_SITE’, “https://wordpress.stackexchange.com/” ); define( ‘SITE_ID_CURRENT_SITE’, 1 ); define( ‘BLOG_ID_CURRENT_SITE’, 1 );
You will need to modify some values directly in the database in order to change the url of your primary domain. The values in the following tables needs to be modified: wp_options, wp_site, wp_sitemeta, wp_blogs and wp_#_options Try this link it has all the steps involved in detail
How to configure sub-domain for images on Debian Apache VPS?
If you use the main domain .htaccess file when people go onto the page you want to display on the sub domain it will change the url link to dev.mysite.com I am not sure if that is the best approach but if you want to do it that way you would have to use the … Read more
Problems were due to the OWASP ModSecurity rules enabled on the server and causing false positives. Disabled, solved. Not a new problem. Also answered here.