In the code for page.tpl.php, you display the rss icon with the following code.
<li><a href="<?php print $front_page; ?>/rss.xml"><img src="<?php print base_path() . drupal_get_path('theme', 'lexi_responsive_theme') . '/images/rss.png'; ?>" alt="RSS Feed"/></a></li>

When you click on the link, it goes to the website "/rss.xml" which obviously isn't even a valid web address.

My fix was:

<li><a href="/rss.xml"><img src="<?php print base_path() . drupal_get_path('theme', 'lexi_responsive_theme') . '/images/rss.png'; ?>" alt="RSS Feed"/></a></li>

Removing: <?php print $front_page; ?> appears to have resolved the issue.

Comments

zymphonies-dev’s picture

Status: Active » Closed (fixed)

Hello,

If you remove <?php print $front_page; ?> RSS path should not work.

so you can make it ( just removed back backslash before rss.xml path )

<li><a href="<?php print $front_page; ?>rss.xml"><img src="<?php print base_path() . drupal_get_path('theme', 'lexi_responsive_theme') . '/images/rss.png'; ?>" alt="RSS Feed"/></a></li>

It will work fine.

Thanks