B4 upgrading to 3.8, i was able to change the path in the media settings config. to remove dates from this path. I no longer see that available in media -> settings.
Is this config still available in 3.8? Has it been moved or do I have to do something drastic (like change config or something which I’d rather not do).
]]>Here’s what I’ve done:
1) Update wordpress before move from 3.4.2 –> 3.5.2 (ALL WORKING FINE)
2) Move to new server – blogs are working as expected (able to set up new ones fine), however, the paths to subdomain images are broken (i.e. I can upload images fine – but they are showing as broken at the front end and in the media library)
MY CHECKS
1) htaccess is as follows:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule . index.php [L]
</IfModule>
# END WordPress
2) The URL to images is as anticipated – i.e. blog.domain/files/y/m/d/imageurl
3) Checked under Network Admin > Sites > [site] Settings to check the path to the actual blogs.dir folder is ok (where # is no. of blog)
wp-content/blogs.dir/#/files
****
My backups for the site show htaccess as above. I’m not sure why the generated Network Setup htaccess code is as follows. I’ve tried substituting this code – and it makes no difference, though.
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [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)$ $1 [L]
RewriteRule . index.php [L]
Once more… any help, much much appreciated. Mel
]]>I have set up XAMPP on windows xp. I have multisite (subfolders enable) test environment set up. All good except for the fact that non-primary site images appear in the following directory (I have used site 2 as an example)
C:\xampp\htdocs\mysite\wp-content\uploads\sites\2\20134
I have created a folder
C:\xampp\htdocs\mysite\wp-content\blog.dir
but it is empty! No images show up there?
Could you please advise on best practice? Thank you for your support.
]]>I am trying to find out if and how I can change the upload folder for one of my subsites. I am using wordpress network and I have two sites: the main site and one other in a sub-folder.
I would like to change the upload folder for the sub-site so all the uploads are stored in this location: https://domain-name.com/downlooads
I have been searching for a solution but have found nothing yet. I came across this solution and thought this might help: https://www.ads-software.com/support/topic/change-upload-directory-in-multisite
But I am not sure what paths to use :s
Is it possible to chnage the upload folder for a sub-site?
Thanks guys
]]>On my site, community.techearup.com/magazine/ (in a multisite environment), I am not seeing the media files (pictures) stored in wp-content/blog.dir. The files are there when I click on “Edit” in the Media folder (I see them and can edit them); but they do not save, no thumbnails and don’t show up on the site. When I go into cPanel, I can see the files are there.
This occurred tonight after activating BulletProof Security plugin.
Any ideas? I’m assuming there’s a reference somewhere that. Either than or the plugin is setting on it somehow.
]]>Assuming I have setup 10 sub-domains, eg, a.ddd.com, b.ddd.com, c.ddd.com etc. (in random order) and resulting 10 folders labeled 1, 2, 3…. etc in the blog.dirs folder.
How can I easily identify which folder is belonging to which sub-domain? eg, folder “1” is belong to the “e.ddd.com” and folder “2 is belong to the “a.ddd.com” ?
Thanks.
]]>snip>Hello. I was about to post a similar problem, so I’ll add it to this thread. Unfortunately, I wasn’t able to connect the dots from the previous posts.
I’m running WP 3.0 upgraded from the most recent release of WP MU (subdomains). I have Buddypress installed, and I’ve been prepping a blog prototype here.
Just recently, I’ve encountered problems uploading media. I have been active in the command-line editing to change permissions and ownership of uploaded plugin zip files in trouble-shooting mode and I’m sure I did a chown -R to my user:group for /wp-content/. I ran across an old blog post on the need to have the /wp-content/blogs.dir directory owned by ‘nobody’ instead of the admin user, which I have changed as a fix. I’ve also changed permissions from 755 to 775. I still seem to have a permissions/ownership issue: The uploaded file could not be moved to …/wp-content/blogs.dir/2/files/2010/07
I’m concerned I have an htaccess issue. My uploaded filed script is:
# uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
The whole permissions/ownership thing is the bain of my WordPress existence. Thanks for any assistance forthcoming!
<snip
Recommendation from @ipstenu:
Schaeffer -This too should probably be a separate topic You shouldn’t need to have the wp-content/blogs.dir folder owned by nobody, your normal account should be just fine for this. Try putting the permissions to 777 for all folders in blogs.dir.
I changed the ownership back to my user/group, and permissions to 777. I can upload media now, however, is this a security hole? What should the permissions be set to?
]]>