• 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=’https://bazaar.lalesso.com/index.php?rss=true&action=product_list&type=rss’/>&#8221; 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

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Validating wp_head();’ is closed to new replies.