.htaccess done gone wrong 🙂
Make sure yours is correct for a subdirectory instance of WP Multisite.
Thread Starter
gnfb
(@gnfb)
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]
Thread Starter
gnfb
(@gnfb)
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]
Thread Starter
gnfb
(@gnfb)
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.