The MU forums have moved to WordPress.org

wp-super-cache messed up uploaded files (7 posts)

  1. mikeboy3
    Member
    Posted 16 years ago #

    Greetings, I just installed and enabled wp-super-cache on my WPMU, and all the uploaded files are now not working any more, I am sure it is a very simple problem that a more experienced user could fix in 5 seconds, but I don't know what to do.

    The install went smoothly, did all the steps in the ReadMe file, don't know what to do.

    Example:
    http://avatar.iamzaks.com/2008/01/04/episodio-313-the-firebending-masters-siendo-transmitido-en-ytv/

    The ddddyu3.jpg should be an image.

    Thanks in advance

  2. mikeboy3
    Member
    Posted 16 years ago #

    anyone, please help?

  3. mikeboy3
    Member
    Posted 16 years ago #

    please? 2 days and no answer? this is urgent

  4. lunabyte
    Member
    Posted 16 years ago #

    http://wordpress.org/support/topic/68664

    You may wish to review this thread.

  5. donncha
    Key Master
    Posted 16 years ago #

    mikeboy3 - have you tried clearing out your cache? I have wp super cache running on my test blog and uploaded files display fine.

    Best thing to do is debug it - add error_log() statements to wp-content/blogs.php to figure when it's called, or not.

    Also, check the mod_rewrite rules in the .htaccess. Make sure the file handling rule is there.

    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

  6. mikeboy3
    Member
    Posted 16 years ago #

    here is my htacess, I'm sure there must be something wrong with it, could you please take a look?

    # BEGIN WordPress
    
    	RewriteEngine On
    	RewriteBase /
    
    	RewriteCond %{QUERY_STRING} !.*s=.*
    	RewriteCond %{HTTP_COOKIE} !^.*comment_author_.*$
    	RewriteCond %{HTTP_COOKIE} !^.*wordpressuser.*$
    	RewriteCond %{HTTP_COOKIE} !^.*wp-postpass_.*$
    	RewriteCond %{HTTP:Accept-Encoding} gzip
    	RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1index.html.gz -f
    	RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1index.html.gz [L]
    
    	RewriteCond %{QUERY_STRING} !.*s=.*
    	RewriteCond %{HTTP_COOKIE} !^.*comment_author_.*$
    	RewriteCond %{HTTP_COOKIE} !^.*wordpressuser.*$
    	RewriteCond %{HTTP_COOKIE} !^.*wp-postpass_.*$
    	RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1index.html -f
    	RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1index.html [L]
    
    	RewriteCond %{REQUEST_FILENAME} !-f
    	RewriteCond %{REQUEST_FILENAME} !-d
    	RewriteRule . /index.php [L]
    
    # END WordPress
  7. mikeboy3
    Member
    Posted 16 years ago #

    I can't edit with update, but I sokved it, I was missing this part of the .htacess at the top, it does not work unless it's placed at the top.

    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

    Thank you for all your kind replies

About this Topic

  • Started 16 years ago by mikeboy3
  • Latest reply from mikeboy3