• Resolved brantz88

    (@brantz88)


    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

    (@brantz88)

    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

    (@brantz88)

    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

    (@brantz88)

    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:

    https://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

    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.

    Thread Starter brantz88

    (@brantz88)

    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.