What’s in your .htaccess then? π
Also did you read, and follow the directions, here? http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Multisite
Thread Starter
ColinD
(@colind)
It’s the default .htaccess:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded ο¬les
RewriteRule ^([_0-9a-zA-Z-]+/)?ο¬les/(.+) wp-includes/ms-ο¬les.php?ο¬le=$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]
I did read those directions. I did fiddle with .htaccess and wp-config. Let me investigate what’s going on with ms-files.php. Thanks for the pointer.
Thread Starter
ColinD
(@colind)
Yeah, not hitting wp-includes/ms-files.php
If i edit it to have a fatal php error and request
http://www.example.com/subblog22/files/2012/10/FunnyImage.jpg
I just get a regular 404 but if the request were being redirected as I think this line is intended:
RewriteRule ^([_0-9a-zA-Z-]+/)?ο¬les/(.+) wp-includes/ms-ο¬les.php?ο¬le=$2 [L]
I should get a WSOD.
Any suggestions on where to look next? I thought my .htaccess was working otherwise. Permalinks work, etc.
Thanks again for all your help.
I just get a regular 404 but if the request were being redirected as I think this line is intended
What do you mean a ‘regular’ 404?
Is it a plain white page that says ‘404 – file not found’ ? Or is it formatted like a WP pretty 404 page?
Thread Starter
ColinD
(@colind)
I mean a nicely formatted WP 404. Sorry for the confusion.
It matters π Okay, check your httpd.conf and make sure that AllowOverride is set to All or Options All
Thread Starter
ColinD
(@colind)
Yes, AllowOverride is set to all. (MAMP Pro on a local machine; I did check the MAMP httpd.conf)
Other .htaccess directives work as expected.
Localhost is important to know sometimes, FYI. If you can’t guess, accurate information about your environment is king.
Localhost obviates a couple things. When you did your ‘DB Shenanigans’ I’m resuming you manually edited a mess of things to change your URLs? When you did so, did you ALSO run a search/replace on the entire DB using the interconnectit script?
http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Multisite
Thread Starter
ColinD
(@colind)
I did do a bit of manual tinkering and I also used the BackupBuddy search & replace tool rather than the one you linked to but it too handles serialized php data.
My current hunch is back at the .htaccess level since if that were working as I think its supposed to, writing a fatal error into ms-files.php should give me a WSOD whenever there’s a request for /files/ and that’s not happening. But I’m barely literate in .htaccess.
BackupBuddy’s search and replace doesn’t, unless they changed something, search and replace the NETWORK tables. Per site, yes, shared no. So try the tool we look too, just for a laugh since your .htaccess looks fine: http://codex.wordpress.org/htaccess