简体   繁体   中英

WordPress Multisite Domain Mapping plugin is not working

I am using WordPress 2.8.5 and i have installed wordpress-mu-domain-mapping.0.5.4.2.zip Plugin into the site , it is installed successfully to my WordPress site after i have activate the Plugin it is showing the error is ' The domain mapping plugin only works if the site is installed in /. This is a limitation of how virtual servers work and is very difficult to work around. ' but this plugin is working fine in WordPress Latest.

Can anyone help me to solve this Problem.

use this on wp-config.php

/* That's all, stop editing! Happy blogging. */
/* Multisite */
define( 'WP_ALLOW_MULTISITE', true );
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'localhost/wordpress');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

i think it will work wordpress is my project folder you can add like this

define('DOMAIN_CURRENT_SITE', 'localhost/project_name');

在此处输入图片说明

you will need at least wordpress 2.9.2, consider upgrading your wordpress version

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM