Title: Mod_ReWrite problem&#8230;.
Last modified: August 19, 2016

---

# Mod_ReWrite problem….

 *  [sidney56](https://wordpress.org/support/users/sidney56/)
 * (@sidney56)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/mod_rewrite-problem-1/)
 * I thought I had this problem figured out, but evidently not. I am having problem
   getting my images to show with the script that I have running on my wp blog. 
   The script calls for the mod-rewrite to be enabled, however, the images will 
   not show when it is enabled and when I click on one of the links, I get a 404
   error. If I disable the mod-rewrite, the images will show, but I still get a 
   404 when I click on the links. I have included the .htaccess file in case someone
   would be so kind as to take a look at this for me:
 * > RewriteEngine On
   >  RewriteBase /
   > RewriteRule sitemap.html sitemap.php
   >  RewriteRule sitemap-([0-9]*).html sitemap.
   > php?page_number=$1 RewriteRule ^(.*).html$ results.php?page_keyword=$1 RewriteRule
   > ^images/e/(.*)$ [http://thumbs.ebaystatic.com/pict/$1](http://thumbs.ebaystatic.com/pict/$1)[
   > R,L]
   > RewriteCond %{REQUEST_FILENAME} !-f
   >  RewriteCond %{REQUEST_FILENAME} !-d RewriteRule./
   > index.php [L]
 * [http://www.onlinebusinesscentersite.com](http://www.onlinebusinesscentersite.com)
   
   Thank you in advance

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

 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 5 months ago](https://wordpress.org/support/topic/mod_rewrite-problem-1/#post-671400)
 * This rule is your problem:
    `RewriteRule ^images/e/(.*)$ http://thumbs.ebaystatic.
   com/pict/$1 [R,L]`
 * It does not appear to actually be working.
 * This URL:
    [http://onlinebusinesscentersite.com/images/e/300184559324_0.jpg](http://onlinebusinesscentersite.com/images/e/300184559324_0.jpg)
 * Should redirect to here:
    [http://thumbs.ebaystatic.com/pict/300184559324_0.jpg](http://thumbs.ebaystatic.com/pict/300184559324_0.jpg)
 * But it doesn’t, as you can see by clicking those links.
 * So, I would say that that needs a closer look at it.
 *  Thread Starter [sidney56](https://wordpress.org/support/users/sidney56/)
 * (@sidney56)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/mod_rewrite-problem-1/#post-671402)
 * Thanks Otto42 for your reply. I’m a novice when it comes to this type of problem,
   and I have searched the forum for similar problems, but none seem to help. Could
   you direct me as to where I should be looking please. thx
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [18 years, 5 months ago](https://wordpress.org/support/topic/mod_rewrite-problem-1/#post-671403)
 * If I knew that, I would tell you. As far as I can see, that code should work.
   I don’t know why it doesn’t.

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

The topic ‘Mod_ReWrite problem….’ is closed to new replies.

## Tags

 * [images](https://wordpress.org/support/topic-tag/images/)
 * [mod-rewrite](https://wordpress.org/support/topic-tag/mod-rewrite/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/mod_rewrite-problem-1/#post-671403)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
