Opened 11 years ago
Closed 9 years ago
#27987 closed defect (bug) (invalid)
Multisite subdirectory getting 404
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.9 |
Component: | Networks and Sites | Keywords: | close |
Focuses: | multisite | Cc: |
Description
The site is using Multisite with subdirectories and lowercase path /he as the directory.
The main site is working fine, but when I go to the subdirectory's homepage, I get a 404 error.
The Dashboard url www.site.com/he/wp-admin works but I can't see the correct Dashboard - it shows me the main site's Dashboard instead.
I tried re-saving the permalinks but it didn't help.
The domain is with www
Using WordPress version 3.9
Thank you!
Change History (14)
#4
@
11 years ago
define('DOMAIN_CURRENT_SITE', 'www.site.com');
define('PATH_CURRENT_SITE', '/');
It was an upgrade.
Thank you.
#5
@
11 years ago
Not sure if this helps or just makes things more confusing, but I am having (what looks like) the same problem. www.mysite.com/he redirects to main site, but mysite.com/he works fine (as it always has).
Mine is an upgrade, too, but this was originally (way back when) a multiuser install, upgraded consistently over time, so my wp-config does not even have DOMAIN_CURRENT_SITE or PATH_CURRENT_SITE
#6
@
11 years ago
jugoretz, see #27927 - I think the force non-www htaccess rule might help.
beccawitz - Can you look in your database under wp_site and wp_blogs. Does your domain have the www in there?
#8
@
11 years ago
@Ipstenu, in wp_blogs, the main domain has www but I see the subsite does not have www.
In wp_site, there is no www.
#9
follow-up:
↓ 10
@
11 years ago
@beccawitz - the www usage should be consistent. I would make them all use www in your case since the wp-config has www.
#10
in reply to:
↑ 9
@
11 years ago
@Ipstenu, yes it should - thank you for your help!
Replying to Ipstenu:
@beccawitz - the www usage should be consistent. I would make them all use www in your case since the wp-config has www.
#11
@
11 years ago
Hello, @beccawitz.
I had the same problem installing with Nginx. With a basic Apache configuration it's working without a problem in a subdirectory.
Sounds like the exact duplicate of #27866, except with lowercase rather than my mixed case directory pathnames.