Skip to main content
9 events
when toggle format what by license comment
Mar 8, 2013 at 12:01 comment added birgire great, maybe you can just fix the empty lastBuildDate and leave the feed link in the header tag, if you don't want this w3 notice. A missing feed link should not change if your site is valid or not.
Mar 7, 2013 at 16:58 comment added Emanuel Olsson I tried it and it works pretty good! Now on the Unicorn test I dont get a red warning kind of message anymore, but instead a blue Information warning: "It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn't find one. Please enter the address of your feed to validate." Since it isnt really an error I could just ignore it, but are there a way to get rid of this one? I know it doesnt change much but I like to get to know how to fix these kind of things for the future.I used the remove_action and the fix from the link you gave into functions.php
Mar 7, 2013 at 16:39 vote accept Emanuel Olsson
Mar 7, 2013 at 10:37 comment added birgire Your feed does not validate because the <lastBuildDate></lastBuildDate> is empty. You can remove the feed from the <head> tag and then you can check this to fix the empty lastBuildDate: wordpress.stackexchange.com/questions/8310/…
Mar 7, 2013 at 4:04 comment added Emanuel Olsson Does the links has to be there because of how Wordpress is structured? And if I were to use remove_action('wp_head','feed_links',2); remove_action('wp_head','feed_links_extra',3); that would probably solve it but does that solution also generate that error because its not according to the template anymore? And if so, the best way would be to redirect it to just energyshop.se instead and keep it in the background without any real function?
Mar 7, 2013 at 2:00 history edited birgire CC BY-SA 3.0
added 3 characters in body
Mar 7, 2013 at 1:53 history edited birgire CC BY-SA 3.0
added 731 characters in body
Mar 7, 2013 at 1:47 history edited birgire CC BY-SA 3.0
added 731 characters in body
Mar 7, 2013 at 1:36 history answered birgire CC BY-SA 3.0