If you installed WordPress Multisite starting with version 3.0 to 3.4.2, you’ve got the correct .htaccess file contents.
However, if you started with a newer version (3.5 or higher)—and I’m assuming you did, if you’ve just installed WordPress Multisite recently—your .htaccess file should look like this:
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]
I’m assuming you’re using Multisite in Subfolder mode, since in your question your URL is of the form example.com/site/wp-admin. (Edit: Also I just noticed that it’s definitely Subfolder per your posted wp-config.php file.)
See the Codex page on .htaccess for details.
Related Posts:
- Site Redirecting to wp-signup.php
- Moving a WP Multisite to a subdirectory
- multisite 404 error for subdirectory
- WordPress multisite subdirectory redirect infinite loop issue
- Suppress subdirectory from WordPress Multisite primary URL
- WordPress mutisite migration
- How to disable the default WordPress redirect to non-www URLs?
- Multisite on localhost using xampp
- Error uploading files bigger than 58 MB
- Multisite Create Site not working
- MULTISITE SUB-DOMAIN JUST SHOWS INDEX OF -> CGI-BIN INSTEAD OF SHOWING SITE
- Multisite Sub domains not working
- Update WP install to WP network & it broke the DB connection
- Getting file errors in a WordPress Multisite ADMIN
- No input file specified after enabling multi site
- Multisite subdirectory blogs missing slash
- Add additional Network constants to wp-config.php dynamically
- Why is WordPress Multisite redirecting to wp-signup.php and how to fix it?
- How to hide or remove unwanted widgets on Multisite installation?
- Multisite htaccess on localhost with WP as an SVN external?
- How can I diagnose a slow WordPress admin?
- How to enable a site administrator to edit users in a WordPress network/ multisite setup?
- WordPress Multisite – Multiple subfolders for blogs
- Hide a theme on list of themes in wp-admin without editing core files
- Don’t allow access to wp-admin but allow admin-ajax requests to be fulfilled on frontend?
- Timeout While Upgrading Network in Multi-site
- Multisite wordpress and subdomain URL collisions
- Error 101 after upgrading WordPress
- Basically the opposite MultiSite URL question that most people ask
- Multisite wp-admin redirect loop
- WordPress network (multisite) /wp-admin/ redirect loop (ERR_TOO_MANY_REDIRECTS)
- Copy posts from one blog to another in multisite environment
- My subsites accidentally went from one multisite network to another. How do I change it back?
- Manipulate list of themes in wp-admin
- Why wordpress multisite redirect to wp-signup if site exists?
- Subsites in Multisite installation throwing 404 error on wp-admin in IIS 7
- how do I configure nginx for wordpress multisite, it occurs ERR_TOO_MANY_REDIRECTS
- How to set Active plugins as the default screen?
- Members area with externally-managed htaccess / htpasswd authentication?
- Why can’t I delete original user in multisite? Options for manual removal
- Multisite network admin – URL / redirect error
- Dissolve Multisite while making site #5 the main site?
- multisite custom directory
- Create rewriterules for different domains in htaccess file with WP multisite
- WordPress multisite in subdirectory, not root, and remove base folder from url
- Issue with htaccess redirection in WP Multisite
- Multisite setup help – plain domain/subsite always redirects to domain with subdir multisite
- Add additional non-rewrite .htaccess directives on multisites via mod_rewrite_rules filter
- Temp URL Redirect Loop
- Wrong Redirect/Rewrite Rules?
- Htaccess file isn’t redirecting http sub-pages to https––they display 404 error instead, tried many solutions and none work
- Some PDF files get Forbidden Access and other open normally on the same directory subsites
- URL without www redirect directly with submission page – Multiwordpress install
- Multisite Subdirectory with same domain subdomain
- Redirect old uploads after moving to multisite
- WordPress sub-domain multisite 505 error
- How to protect specific uploaded files from being accessed by non-logged-in users in WP-multisite
- URL for images folder on Multisite
- Multisite install w/ Sub domains on a subdomain
- Help with multisite redirect issues using Cherokee OR solid nginx config?
- Canonical Resource URLs Across a Multisite Network 2012?
- Redirect to another page using contact form 7? [closed]
- Site’s admin created with wpmu_create_blog accessible only on 2nd attempt
- Missing images after moving servers
- If statement in wp-config.php, is it possible?
- How do I correctly configure my AMPPS localhost to use subdomains for multisite?
- 404 not working on main site on multisite
- Changing from localhost:8888 to localhost
- Problem with new Multisite Installation
- Certain lines added to our wp-config.php file are being removed, every day
- WordPress multisite second site admin resulting in too many redirects error
- multisite 404 subfolder same name slug as site
- Rewriting request to another site
- How to make the redirects right? IP to domain name folders
- local wordpress multisite not working on AWS development server “error establishing database connection”
- WP Multi Site – configure Sub domain pointing to parent sub directory
- Can I add a rewrite rule in htaccess to remove the multisite subdirectory from the URL?
- trying to install a wordpress multisite in a subfolder and have custom subsite urls
- Events Calendar Multisite 404 for events
- WordPress Multisite: Login to all subsites at once
- How to resolve a reload loop issue in the frontend when logged in to WordPress multi-site backend admin area
- Multisite issue
- How to Add Super Admin for WordPress multi-site
- using htaccess to check for cookie on permalink then conditionall rewrite with query parameter
- Can’t access 2nd site (sub) dashboard of WordPress Multisite
- Multisite – cannot remove specific sub-menu its parent menu. All sub-menus disappear
- How to have same admin login for more than one site?
- Multisite /files/ URLs broken after server move
- Backend freezing on certain pages of a subsite
- WP Multisite .htaccess interferes with cgi-bin
- How do I enable Multisite on WP 3.7.1?
- Pages redirect me to the homepage
- How can I set up a completely separate (not multisite) WordPress installation as a subdirectory of an existing WordPress blog?
- Redirect WordPress MS to no-www version, excepting some dirs and prefixes
- Multisite website configure Domain issue
- External rewrite rules missing in htaccess – Multisite
- I’m getting a 404 NOT_FOUND CODE: ‘DEPLOYMENT NOT FOUND on wordpress multisite installation on my sub domain
- What could be changing my WP password and blocking plugins from installing?
- Wp-admin wrongly redirecting on multisite
- WordPress Multisite Sub Domains Admin Panels 404 Error