jvnvr
Forum Replies Created
-
Forum: Networking WordPress
In reply to: html's inside blogs.dir/x/files/ get downloaded after 3.7.1I’ll try that.
I did a local clean install of WP 3.7.1 for testing and noticed “blogs.dir” is now gone and media files go to “uploads/sites/x/”. No more blogs.dir from 3.7.1 up?
I also noticed there’s no ms-files.php on the clean .htaccess as you mentioned.
If I also want to serve static content along each site, where should I put it? Ideally urls like site1.com/files, site2.com/files would be nicer.Thank you
Forum: Networking WordPress
In reply to: html's inside blogs.dir/x/files/ get downloaded after 3.7.1Forum: Networking WordPress
In reply to: html's inside blogs.dir/x/files/ get downloaded after 3.7.1I’ve cleared caches, disabled w3 total cache plugin, deleted the plugin, deleted wp-content/cache folder and wp-content/w3tc folder, added
define(‘WP_CACHE’, false); to wp-config.php, following this step-by-step.
https://www.technoxpad.com/w3-total-cache-removal-tutorial/I’ve also stripped my root .htaccess to:
#tried with this line and without SetEnv no-gzip dont-vary #tried this too SetEnvIf Request_URI \.html$ no-gzip # BEGIN WordPress 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] # END WordPress
I’ve changed my theme to twenty-eleven, twenty-thirteen and then back to roots – same thing happens.
I’ve been testing mainly using Safari with Develop>Disable Caches but in FF and Chrome it’s the same too.
Opening the inspector in Safari, and opening a wordpress served page linking to the static html file, when I click the link and the file gets downloaded, I could see a warning:
“Resource interpreted as Document but transferred with MIME type image/html”
According to https://reference.sitepoint.com/html/mime-types-full that MIME type doesn’t exist.Any ideias where this might come from? Thank you.
Forum: Networking WordPress
In reply to: html's inside blogs.dir/x/files/ get downloaded after 3.7.1Disabling all plugins, the problem persists.
If I try direct linking to
https://mywebsite.com/wp-content/blogs.dir/1/files/ios.webapp/index.html it’s ok.
If I try https://mywebsite.com/files/ios.webapp/index.html it downloads the html file.Forum: Networking WordPress
In reply to: html's inside blogs.dir/x/files/ get downloaded after 3.7.1Hello,
I’m using:
Contact Form 7 (network activated)
Wordpress SEO
NextGen Gallery 2.0.33 (network activated)
Cryptex 2.0 (network activated)
Bulk Creator 1.0.1
GTMetrix 0.41
W3 Total Cache (installed but not active)