An htaccess file was NOT found in your blogs.dir uploads folder

Home Forums BulletProof Security Pro An htaccess file was NOT found in your blogs.dir uploads folder

This topic contains 1 reply, has 1 voice, and was last updated by  AITpro Admin 5 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12186

    AITpro Admin
    Keymaster

    Email Question:

    …One thing though it says the below writing however I am not sure which directory blogs.dir is, I would create it but I am not sure exactly where to put it.

    Kind regards

    ERROR: An htaccess file was NOT found in your blogs.dir uploads folder.
    The /blogs.dir/.htaccess file is created automatically unless your Server type requires that you create this file manually. If you need to create the blogs.dir Uploads Folder BulletProof Mode manually you can do this on the Security Modes page.

    #12187

    AITpro Admin
    Keymaster

    I will need to double check the BPS Pro code and check to see if a WordPress version check is being done BPS is creating the UAEG .htaccess file correctly based on the WP Version.  I will post an update back here after checking that.

    UPDATE:  Code correction/addition will be included in BPS Pro 8.2

    Current Security Status inpage check
    if ( is_multisite() && is_super_admin() ) {
    
    Code change Security Status inpage check in BPS Pro 8.2
    if ( is_multisite() && is_super_admin() && is_dir( ABSPATH . UPLOADBLOGSDIR ) ) {

    If you installed a Network/Multisite for the first time with WordPress 3.5+ then the uploads folder is now /wp-content/uploads/ and the blogs.dir uploads folder is no longer needed or used anymore.

    If you installed a Network/Multisite for the first time with WordPress 3.0 – 3.4.2 then the blogs.dir uploads folder is still needed and used.

    http://codex.wordpress.org/Multisite_Network_Administration#.htaccess_and_Mod_Rewrite

    Uploaded File Path

    Your first site on a fresh install will put uploaded files in the traditional location of /wp-content/uploads/, however all subsequentsites on your network will be in the /wp-content/uploads/sites/ folder, in their own subfolder based on the site number, designated by the database. These files will be accessible via that URL.

    This is a change from Multisite 3.0-3.4.2, where images of subsites were stored in /wp-content/blogs.dir/ and were shown in http://example.com/files/  and http://example.com/sitename/files  and so on. If you started with a Multisite install older than 3.5, it isnot an error if your images show with the URL of /files/.

    Regardless of WP version, these locations cannot be changed by site admins. Only the network admin can make changes on the site settings page. It is not reccomended that you change these without understanding how both the ms-files.php works in conjunction with your .htaccess, as it can easily become non-functional. If the /files/ urls aren’t working, it’s indicative of a misconfigured .htaccess or httpd.conf file on your server.

    Related Network/Multisite Topics
    http://forum.ait-pro.com/forums/topic/blogs-dir-htaccess-and-pro-tools-curl/
    http://forum.ait-pro.com/forums/topic/multisite-install-images-not-working/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.