cannot find the URL of a secondary site (sub directory multisite installation)
-
Hello all.
I have started by installing WP (single site) on a local linux/apach2, on localhost, and it works fine (I have put WP in /var/www/html/mysite as my webroot is /var/www/html and I connect with https://localhost/mysite)…
And then I tried to switch to a multisite installation…
I checked that mod_rewrite of apache2 was on (ok) and then started to follow the process: adding the define( ‘WP_ALLOW_MULTISITE’, true ) in wp-config.php, and next, adding the other lines in .htaccess and in wp-config when asked, etc..
After this, I could create a subsite (with the name “mma”) in the sites administration (ok), but when I click on the subsite administration, I get
The requested URL /mysite/mma/wp-admin/ was not found on this server.
I have done it several times…carefully…but it fails…
…
My only clue so far : I understand that in my case, my multi-site installation is obligatorily a “ sub-directory” one (and not a sub-domain one) because the index.php is not directly in the webroot but in the directory /var/www/html/mysiste/ and consequently, the sub-sites will be accessed by directory naming like https://localhost/mysite/subsite (right ?)…I have read in the codex (“Restrictions”) that multi-site with “sub-directory” mode was not working on a local server named “localhost” and that it would be necessary to use an alias (set up in /etc/hosts): I have also tried this but it failed…
Some help would be greatly appreciated…Thank you in advance.
Pierre
- The topic ‘cannot find the URL of a secondary site (sub directory multisite installation)’ is closed to new replies.