Title: htaccess problems, image problems
Last modified: August 19, 2016

---

# htaccess problems, image problems

 *  [worldblogosphere](https://wordpress.org/support/users/worldblogosphere/)
 * (@worldblogosphere)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/htaccess-problems-image-problems/)
 * It seems the only issue I have left from the upgrade to 3.0 is that none of the
   images are showing. I have tried most if not every suggested fix I see in the
   other posts and not one of them worked.
 * I seem to have an .htaccess issue too. First off I can’t get an FTP program to
   work on this computer. I had FileZilla on my PC, but it went down some time ago
   and I am now on a laptop. So, instead I have been going through my cPanel which
   doesn’t allow me to actually see the .htaccess file. I can see the htaccess.txt
   file though. What I have been doing is saving a file with the code I want and
   then copying it as .htaccess . It is making the changes because if I put the 
   following code in it and save as .htaccess the site loads (with no images)
    RewriteEngine
   On RewriteBase /
 * #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L] #RewriteCond %{REQUEST_URI}!.*
   wp-content/plugins.* #RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?
   file=$2 [L]
 * # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
   RewriteRule ^(.+)$ $1/ [R=301,L]
 * RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d RewriteRule.–[
   L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.
   php)$ $2 [L] RewriteRule . index.php [L]
 * However, if I add ANYTHING beyond that above code the site will not load at all.
 * The only other things in the htaccess.txt file are the ANTISPAM code, the WPSuperCache
   code, and the following code at the end.
 * <IfModule mod_security.c>
    SecFilterEngine Off SecFilterScanPOST Off </IfModule
   >
 * If I try to add any of that it kills the site.
 * Any ideas out there?
    What should be the code in the .htaccess file besides the
   above?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/htaccess-problems-image-problems/#post-1573212)
 * > So, instead I have been going through my cPanel which doesn’t allow me to actually
   > see the .htaccess file.
 * In later version of cpanel, if you let the window pop up before going to the 
   file manager, there’s a”show hidden files” checkbox.
 *  Thread Starter [worldblogosphere](https://wordpress.org/support/users/worldblogosphere/)
 * (@worldblogosphere)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/htaccess-problems-image-problems/#post-1573218)
 * Thanks again Andrea.
 * I went to look for it but instead got distracted by a link for “Legacy File Manager”
   which shows the files in an entirely different way…including the hidden files
   and .htaccess file.
    I now have it working with all the extra coding in there.
 * My images however still aren’t working.
 *  [MacRamsay](https://wordpress.org/support/users/macramsay/)
 * (@macramsay)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/htaccess-problems-image-problems/#post-1573253)
 * I had the same problem and (still) have the same code in my .htaccess file but
   eventually it worked and found all the images again! I have what you have listed
   above plus the <IfModule…> bit but nothing else, i took the SuperCache code out
   temporarily to get the site working again.
 * Sorry i can’t bring anything other than that to the table, but i’m not sure i
   changed anything in the .htaccess file to make it work! The only difference is
   i have my install in a sub-directory on my server. I now have the problem of 
   the existing (and new) sub-sites can only be viewed in front end and the admin
   panel cannot be reached to edit the sub-sites… [http://wordpress.org/support/topic/420853?replies=4](http://wordpress.org/support/topic/420853?replies=4)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘htaccess problems, image problems’ is closed to new replies.

## Tags

 * [.htaccess problems](https://wordpress.org/support/topic-tag/htaccess-problems/)
 * [images not showing](https://wordpress.org/support/topic-tag/images-not-showing/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 3 replies
 * 3 participants
 * Last reply from: [MacRamsay](https://wordpress.org/support/users/macramsay/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/htaccess-problems-image-problems/#post-1573253)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
