Support » Networking WordPress » Point in the right direction

Viewing 5 replies - 1 through 5 (of 5 total)
  • .htaccess done gone wrong 🙂

    Make sure yours is correct for a subdirectory instance of WP Multisite.

    this is the .htaccess file in the /blogs folder

    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).*) blogs/$2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ blogs/$2 [L]
    RewriteRule . index.php [L]

    changed to this example

    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).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    and now it all works !! Fantatstic now back to the real work rather than this messy programming stuff yuck! I suppose it would help if my degree was in Computer science rather than photography and business LOL

    I studied anthropology and creative writing 😉 We come from all weird places.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Point in the right direction’ is closed to new replies.