Support » Everything else WordPress » Some Header Tags

  • <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->

    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />

    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />

    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />

    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    Can I get rid of any of those? I’m trying to validate my site but the <link> and <meta> are causing problems.

Viewing 8 replies - 1 through 8 (of 8 total)
  • haha Sparky, this is like your other post. I definitely like your attitude towards minimalist, elegenat and well validated code though. lord knows how many times ive deleted entire web projects cause i flipped out cause they got slightly too messy

    if you delete the rel="whatever" then the code should validate with all that still in there… those are the links to your RSS feeds and pingbacks. if you don’t plan on sharing those, go ahead and delete those. but you should leave

    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->

    yes, i *try* to be a neat freak sometimes. although i post a thousand questions a day on these boards and i may sound stupid, but i’m better at this than most other 14-year-olds i know. =P

    i think the validator was saying i couldn’t have any meta or link tags there…. hmm. ihave to fix another php problem with my site and then i’ll try that.

    lol sparky – no one thinks you sound stupid.

    personally i think that clean code and making SURE you’re doing things properly is a great thing. i do it too, and find myself getting more and more “anal” about it as time goes on. 🙂

    you can have meta tags and link tags… though i’ve always found that when you use the “rel” part of the link tag, the validator hates it. i think that’s a new “thing” and the w3c isn’t quite sure if it likes it yet. that’s all.

    urgh.. i can’t even try to fix this bc my site is having problems that have never happened before…. >.<

    *off topic*

    do you know what this means?

    Warning: Unexpected character in input: ‘\’ (ASCII=92) state=1 in /home/[myusername]/public_html/cookiecheck.php on line 2

    Parse error: parse error, unexpected T_VARIABLE in /home/[myusername]/public_html/cookiecheck.php on line 3

    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->

    Forum posts have said this is old & no longer required. Further, I have heard that bloginfo(‘version’) creates a possible security risk if you don’t upgrade to the latest WordPress frequently (for example if you still use WP 1.5.x). Hackers would easily see that you have a version of WP with a known exploit. Because of that advice from another thread I am removing the version # from my sites.

    Anyone agree/disagree?

    Good luck w/ your blog.

    Sparky – I have no idea what that means… it appears to be affecting the file cookiecheck.php which I’ve never heard of before…

    Dgold – I suppose that yes, if you’re running an old version, it could be harmful… but what about “stats”? My idea would be to upgrade to the most recent version when it comes out, and you shouldn’t have problems.

    i’m skinning the rest of my site using php and cookies, rather than using wordpress themes. i haven’t done this for a while, but i never had problems with it before…. and wordpress isn’y affecting it.

    i usually update immediately, but if i don’t i don’t want to be hacked or anything…. i don’t reall care about stats or whatever

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Some Header Tags’ is closed to new replies.