Can't access the dashboard on new sites/ Multi-domains
-
Hi,
Over the past few days I’ve been fighting with Multi-site, and I’ve come across a problem. Once I new site has been created, and I try to use the dashboard function, it looks me back to the main site. I though was going crazy and figured that’s was it was supposed to do, but I now know that it’s not the case.
Additionally, I am trying to use Multi-site to link two domains together. One domain will host the forum, and the other will act as the main site for content etc. I’m using Domain Mapping currently, but is there a way to get the system to recognise users across both domains. That way users only have to register the one time, and ideally only log in once, rather than twice. I’ve been trying to get my head around it, and am a bit of a novice so any help would be appreciated.
Here’s the code that I am currently using:
WP Config:define('WP_DEBUG', false); //define( 'WP_CACHE', true ); require_once( dirname( __FILE__ ) . '/gd-config.php' ); define( 'FS_METHOD', 'direct'); define('FS_CHMOD_DIR', (0705 & ~ umask())); define('FS_CHMOD_FILE', (0604 & ~ umask())); define('MULTISITE', true); define('SUBDOMAIN_INSTALL', false); define('DOMAIN_CURRENT_SITE', 'luffit.com'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1); define( 'SUNRISE', 'on' );
.htaccess
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L] </IfModule>
I wont have any hair left if this carries on.
- The topic ‘Can't access the dashboard on new sites/ Multi-domains’ is closed to new replies.