Title: Permalinks &#038; sidebar.php image problem
Last modified: August 18, 2016

---

# Permalinks & sidebar.php image problem

 *  Resolved [brantz88](https://wordpress.org/support/users/brantz88/)
 * (@brantz88)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/permalinks-038-sidebarphp-image-problem/)
 * I’m using WordPress 2.0.2 and created an image for RSS feeds to each category
   in the sidebar.php file.
 * Here is the code in the sidebar.php file:
    wp_list_cats(‘sort_column=name&optioncount
   =1&hierarchical=0& feed_image=wp-content/themes/default/images/rss_sm2.png’);
 * This was working fine for all category pages but as soon as I turned on Permalinks
   the images are broken on all the category pages except for the main page.
 * Here is what I’m using for Permalinks:
 * /%year%/%monthnum%/%day%/%postname%/
 * Is there something I can add to the sidebar.php image path or to the .htaccess
   file that will correct this problem?
 * Thanks in advance,
 * Doug

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

 *  Thread Starter [brantz88](https://wordpress.org/support/users/brantz88/)
 * (@brantz88)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/permalinks-038-sidebarphp-image-problem/#post-377083)
 * Here is what the .htaccess file looks like – thought that might help.
 * `<files ".htaccess">
    order allow,deny deny from all </files> # BEGIN WordPress
   <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wordpress/ RewriteCond%{
   REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wordpress/
   index.php [L] </IfModule>
 * # END WordPress
 *  Thread Starter [brantz88](https://wordpress.org/support/users/brantz88/)
 * (@brantz88)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/permalinks-038-sidebarphp-image-problem/#post-377250)
 * If the information has been posted before can someone point me in the right direction?
   I’ve been searching and can’t find the answer to this question.
 * Thanks,
    Doug
 *  Thread Starter [brantz88](https://wordpress.org/support/users/brantz88/)
 * (@brantz88)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/permalinks-038-sidebarphp-image-problem/#post-377265)
 * Do I need to let wordpress rebuild the .htaccess file?
 * Any help on this would be great – anyone?
 * You can see what is happening at:
 * [http://faa.appstate.edu/wordpress](http://faa.appstate.edu/wordpress)
 * You see the rss feed icon after each category on the sidebar and when you click
   on a category link it takes you to the correct page but the sidebar rss icons
   show up as red X.
 * After turning on the permalinks the image directory path seems to be lost because
   its adding items like category to the path and the rss image icons can’t be found–
   but everything else is working fine.
 * TIA – Doug
 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/permalinks-038-sidebarphp-image-problem/#post-377267)
 * You’re not getting much response likely because this is a new one! Or is new 
   to me at any rate.
 * Regarding this bit:
    `wp_list_cats('sort_column=name&optioncount=1&hierarchical
   =0& feed_image=wp-content/themes/default/images/rss_sm2.png');
 * What happens if you provide a full URL for feed_image?
 * When you change permalinks, does everything _else_ work when you try different
   permalinks settings? There’s some good troubleshooting stuff on [Using_Permalinks](http://codex.wordpress.org/Using_Permalinks).
 *  Thread Starter [brantz88](https://wordpress.org/support/users/brantz88/)
 * (@brantz88)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/permalinks-038-sidebarphp-image-problem/#post-377273)
 * Adding the full URL for feed_image seemed to fix it.
 * Thanks,
    Doug

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

The topic ‘Permalinks & sidebar.php image problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [brantz88](https://wordpress.org/support/users/brantz88/)
 * Last activity: [20 years, 1 month ago](https://wordpress.org/support/topic/permalinks-038-sidebarphp-image-problem/#post-377273)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
