Multi-Site Install Going to Wrong Directory
-
Hello!
I just installed my multisite for my domain (samanthaongphoto.com). This is located in my directory under “/home/soluscio/public_html/photography/”.
When I install a new wordpress site, it installs into “/home/soluscio/public_html/new-site-name/” and then the dashboard goes to the wordpress install in “/home/soluscio/public_html/” which is for a different domain (not the main-site domain I am trying to use this for).
I followed the instructions noted in the Network Setup and installed the following in wp-config.php under “/home/soluscio/public_html/photography/”
define('MULTISITE', true); define('SUBDOMAIN_INSTALL', true); define('DOMAIN_CURRENT_SITE', 'samanthaongphoto.com'); define('PATH_CURRENT_SITE', '/'); define('SITE_ID_CURRENT_SITE', 1); define('BLOG_ID_CURRENT_SITE', 1);
And .htaccess under “/home/soluscio/public_html/photography/”
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L]
Is it possible to have the new sites installed in “/home/soluscio/public_html/photography/” which is the main-site install? Ideally, I’d like it to install in a completely different directory “/home/soluscio/public_html/photography/clients/” but may not be possible.
Thank you for your help!
Samantha
- The topic ‘Multi-Site Install Going to Wrong Directory’ is closed to new replies.