• Resolved Marc Woodyard

    (@rune-vantage)


    I just setup WordPress Multsite, and added five subsites. When I try to access the dashboard or public facing site, it returns a 404 error. My .htaccess file has exactly what the codex instructed me to include. I don’t have any plugins active or themes. Any suggestions?

    Thanks,
    Marc

Viewing 1 replies (of 1 total)
  • Thread Starter Marc Woodyard

    (@rune-vantage)

    Never mind. I just changed my .htaccess file from the one in the WordPress Codex to this one.

    Original:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ wp/$1 [L]
    RewriteRule . index.php [L]

    New:

    # BEGIN WordPress
    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]
    
    # END WordPress
    
    # BEGIN wtwp_cache
    # END wtwp_cache
    
    # BEGIN wtwp_security
    # END wtwp_security
Viewing 1 replies (of 1 total)
  • The topic ‘Multisite Subdirectory 404 Error’ is closed to new replies.