And you’re on IIS, so you need to set up the web.config file to work with pretty permalinks.
I’m not running IIS, I’m running Apache on CentOS.
I understand that the links *should* be different, but that’s why I created this post in the forum. Default install of multi-site on WordPress 3.2 breaks permalinks. They simply don’t work correctly.
After installing Multi-site, when I click on a link for a blog post, it throws the Not Found error. So obviously something is wrong.
What’s in your .htaccess?
I just spun up a test site without any issues.
Weird,
RewriteEngine On
RewriteBase /site1/
RewriteRule ^index\.php$ – [L]
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [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).*) $1 [L]
RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
Why is RewriteBase /site1/ in there?
Unless you installed WordPress in the physical FOLDER named site1, it SHOULD be
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [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).*) $1 [L]
RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
I literally copied the code from the Settings > Network Setup during the installation process and pasted into the .htaccess file.
In other words I didn’t change anything and I didn’t have an .htaccess file previously because this was a test.
On the filesystem, the blog is installed at:
/var/www/html/site1/
If you installed it at /var/www/html/site1/, then your sites will be domain.com/site1/site2/.
From my experiences, each instance of WP is installed at the web root:
/var/www/html
Thus
/var/www/html/site1/
/var/www/html/site2/
The dashboard for each instance is:
http://site.com/site1/wp-admin
http://site.com/site2/wp-admin
That’s not how MultiSite works.
Install at /var/www/html
Site #1: site.com
Site #2: site.com/site2
And so on and so forth.
There’s only ONE install of WP and it’s in /html, so the domain starts at site.com. If you installed in /var/www/html/site1 then your URL starts at site.com/site1
But you don’t ever reinstall in /site2
Yes, but if you installed it from /site1/ and it looks liek you did because that;s the base valeu – then URLs are built from that
Remember with multisite, you won’t have physical folders called /site1/ etc. It will be the install in /var/www/html where you enable multisite.
*sigh* thanks for trying to help. I suppose I’m not explaining things thoroughly enough. That’s my fault. I’m rushing through my responses.
Yeah, a rewind may be in order here 🙂
So okay.
1) Where on your server is your wp-config.php file?
2) When you set up multisite, you used subfolders, correct?