I set up a second page under the subdomain http://ovi.inview.ch
Did you create a site like wordpress.simonschaller.ch/name or name.wordpress.simonschaller.ch and then map it to ovi.inview.ch?
Please post your .htaccess file.
none of them…
under Network-Settings, both of the sites have the path “/”
Is this the problem?
When i add a new site with the path “/ovi/” then I always have the path in the URL:
http: // ovi.inview.ch/ovi/somepage/ (link disabled)
i have the default .htaccess like shown after setting up the network:
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]
When i add a new site with the path “/ovi/” then I always have the path in the URL…
Yeah, that’s how multisite works.
Primary Network Domain: domain.com
Site 1: domain.com/site1
Site 2: domain.com/site2
OR, if you select sub-domain setup:
Site 1: site1.domain.com
Site 2: site2.domain.com
If your primary domain is “wordpress.simonschaller.ch” then you can add a site like “wordpress.simonschaller.ch/site1” and then map that to “ovi.inview.ch” with http://wordpress.org/plugins/wordpress-mu-domain-mapping/.
So there’s no way around, that the URL finally looks like:
ovi.inview.ch/site1/somepage
with this setup? Even if it’s another domain/subdomain
I thought that multisite would be a possibility to only have one installation of WP on my hosting and have a few different sites hosted. But when this shows up in the URL, that’s no way for me… 🙂
Thanks for your help!
Simon
If the primary domain of the network is “wordpress.simonschaller.ch” then you cannot add a site and have the URL be “ovi.inview.ch/site1/somepage.” If you want that then the primary domain of the network must be “ovi.inview.ch.”
The other solution would be to map your domains.
If your primary domain is “wordpress.simonschaller.ch” then you can add a site like “wordpress.simonschaller.ch/site1” and then map that to “ovi.inview.ch” with http://wordpress.org/plugins/wordpress-mu-domain-mapping/.
I solved my problem. I had to change the line in wp-config.php
define(‘SUBDOMAIN_INSTALL’, false);
to “true”
now, domain mapping works as expected and the permalinks too.
thanks, simon 🙂