Validating wp_head(); (2 posts)

  1. leahmarb
    Posted 8 years ago #

    I am try to validate a website that has been created using word press... Im getting errors and they are all caused by wp_head(); which is in the pages. I commented out this line to see if the page would validate and it does.

    This code is building the following HTML "<link rel='alternate' type='application/rss+xml' title='WP E-Commerce Product List RSS' href='http://bazaar.lalesso.com/index.php?rss=true&action=product_list&type=rss'/>" the problem is that the & should be '& amp;' (without the space) so that it can validate.

    Does anyone know where i can edit the php that produces this code? Its simple but is producing a load of errors in the pages.

    I would be very grateful for any help. Thanks

  2. Pinoy.ca
    Posted 8 years ago #

    Open header.php in your Theme editor.

    Is there a <link rel="alternate" type="application/rss+xml" href="<?php bloginfo('rss2_url') ?>" /> somewhere? If no, then edit the existing line to match this.

Topic Closed

This topic has been closed to new replies.

About this Topic