I have my drupal site in a subfolder instead of at the document root. When I click the "RSS" button at the bottom of the page, i get sent to "/rss.xml" instead of "/subfolder/rss.xml"

Line 88 of wilderness/page.tpl.php:

<a href="<?php echo $base_url; ?>/rss.xml" class="rss-tag-icon" title="RSS"></a>

This is wrong. I believe it should be:

<a href="<?php echo $base_path; ?>rss.xml" class="rss-tag-icon" title="RSS"></a>

Seems to make it work for me.

Comments

pokadan’s picture

Assigned: pokadan » Unassigned
Status: Needs review » Active

<a href="<?php echo $base_path; ?>rss.xml" class="rss-tag-icon" title="RSS"></a>

is probably best for both cases (drupal in webroot or subfolder)

pokadan’s picture

Assigned: Unassigned » pokadan
Status: Active » Needs review
pokadan’s picture

Assigned: Unassigned » pokadan
Status: Active » Fixed

committed to dev

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.