Hi there.
Are you using a plugin for nested multi sites? Or is this happening with the standard WordPress MultiSite installation?
If you’re using a plugin, please link to it, if possible.
There is a .htaccess modification that I can suggest, but it would probably be useful if you are using a plugin such as Nested Multi Sites, or WP Multi Network.
I use a standard WordPress MultiSite Installation.
I dont use a plugin for MultiSite.
What does the 404 look like?
Is it styled like a WordPress 404 or a more generic server one?
Try this .htaccss file configuration.
# BEGIN WordPress
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]
# END WordPress
http://codex.wordpress.org/Multisite_Network_Administration#.htaccess_and_Mod_Rewrite
If the above doesn’t work, try changing this line.
RewriteBase /
To This.
RewriteBase /wordpress/
Marc, that’s the old .htaccess. He doesn’t need the ms files stuff.
http://codex.wordpress.org/htaccess
His was fine.
In another test site, i have the same problem. This is the base URL
http://envivo.eafit.edu.co/memoriaempresarial
And this is a example for the multisites url:
http://envivo.eafit.edu.co/memoriaempresarial/isa
http://envivo.eafit.edu.co/memoriaempresarial/isagen
RewriteEngine On
RewriteBase /memoriaempresarial/
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]
And the mod_rewrite is working again (you can see here http://envivo.eafit.edu.co/memoriaempresarial/test.php )
And this is the configuration in httpd.confβ
<Directory />
Options FollowSymLinks ExecCGI Indexes
AllowOverride All
Order deny,allow
Deny from all
Satisfy all
</Directory>
in my apache directory i have httpd.conf and similars, for example virtualhttpd.conf, serverhttpd.conf.
=( any know what is my problem?
Sorry about the wrong “.htaccess” file earlier. I wasn’t looking closely enough π
@popeosorio, try this httpd.conf file configuration.
<Directory /Directory/of/Website/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
Hi @marc Thankyou for your answer.
I try put that in the:
C:\Program Files\Apache Software Foundation\Apache2.2\confβ\httpd.conf
Using:
<Directory "C:\www\memoriaempresarial\">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
and
<Directory C:\www\memoriaempresarial\>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
and
<Directory \memoriaempresarial\>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
but dont work π
What host are you using to host your website?
Also, what do your apache error logs say?
I own my physical hosts but this with GUI .
Is a windows server 2003
And this is te log about the url:
[Wed Feb 04 09:47:49 2015] [error] [client 200.12.176.11] File does not exist: C:/www/memoriaempresarial/isa
[Wed Feb 04 09:47:49 2015] [error] [client 200.12.176.11] File does not exist: C:/www/memoriaempresarial/isa
[Wed Feb 04 11:00:45 2015] [error] [client 200.12.176.20] File does not exist: C:/www/memoriaempresarial/isa, referer: https://wordpress.org/support/topic/error-404-not-found-43?replies=10
[Wed Feb 04 11:00:45 2015] [error] [client 200.12.176.20] File does not exist: C:/www/memoriaempresarial/isagen, referer: https://wordpress.org/support/topic/error-404-not-found-43?replies=10
The log contain more similar errors about “File does not exist”
Are you on a Windows server?
Yes, Is a windows server 2003