Path_Current_Site Problem?
-
I set up a multisite on a temp url on a VPS a few months ago. The url looked like this:
https://vps11639.inmotionhosting.com/~mxcced5/When I switched it to the new URL this weekend the name changed to mxcc.edu but the /~mxcced5/. I was able fix this on the main site but my sub sites still need the ~mxcced5 to function. Example mxcc.edu/~mxcced5/catalog (I can get to it from mxcc.edu/catalog but that’s because I set up a redirect). Whenever i try to set up a new site it has the mxcc.edu/~mxcced5/newsite path going on. They should just be mxcc.edu/newsite.
I would just get rid of the multisite all together but I’m using different plugins and themes on different sites so it makes sense to keep the multisite going.
This is what my wp-config file looks like after the migration:
define( ‘WP_ALLOW_MULTISITE’, true );define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, false);
define(‘DOMAIN_CURRENT_SITE’, ‘www.mxcc.edu’);
define(‘PATH_CURRENT_SITE’, ‘/~mxcced5/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);I’ve tried switching define(‘PATH_CURRENT_SITE’, to ‘/’ or leaving it blank or taking it out altogether but (not surprisingly) that just gives an error connecting to database when I go to the main site. I’m not sure where to go or what to do. Does anyone have any suggestions? I’d really appreciate that.
- The topic ‘Path_Current_Site Problem?’ is closed to new replies.