+ Reply to Thread
Results 1 to 10 of 18

Thread: What is the best way to publish a post in Wordpress?

Threaded View

  1. Join Date
    Jul 2007
    Location
    London, UK
    Posts
    1,604

    Quote Originally Posted by Jen View Post
    Well, you're going to have more than one page with the post content anyway - archives, tags, category pages, etc. - so it makes sense to me to do the Authority Blogger thang and prioritize the interests of your readers.
    Well, is not exactly so. You can add a meta tag on archive/tag/category pages so Search engines won't index it and avoid duplicate content, this is the line in question

    HTML Code:
    <meta name='robots' content='noindex, follow' />
    And this is how you do it in Wordpress

    PHP Code:
    <?php
        
    if((is_single() || is_category() || is_page() || is_home()) && (!is_paged())){
            
    // <!-– ok google, index me! –->
        
    }else{
            
    // <!–- google, please ignore - thanks! -–>
            
    echo "<meta name='robots' content='noindex, follow' />\n ";
        }
    ?>
    And of course, you could just remove is_home() from the if statement and then the index won't be indexed as well, but to a large extent this has highly undesirable side effects. You do want your home to be indexed and that is why is much trickier.

    But having said that, Jen is right and ultimately you must address your reader needs, because that is what is going to create a faithful reader base and more backlinks which are also good for SEO.
    Last edited by guioconnor; 23rd April 2008 at 01:27 PM.
    Cycling from London to Rochester to Raise Money to build classrooms in Malawi: Donate | Read the Blog

  2. Join Date
    Jul 2007
    Location
    Atlantic Canada
    Posts
    2,989

    Quote Originally Posted by guioconnor View Post
    Well, is not exactly so. You can add a meta tag on archive/tag/category pages so Search engines won't index it and avoid duplicate content, this is the line in question
    Gui is quite right, of course, Robert. (I've missed having our most helpful designer around here lately!) I'm sure you're a blogger who'd be comfortable with following Gui's instructions, Robert, but it just occurred to me to wonder if there could be plugins of some sort to help out newer bloggers - or even people who'd just rather not look at the inner workings of their site... Anyone know of a plugin to automate the robots.txt idea, and let a blogger pick-and-choose what pages to have crawled and indexed?

    Search engines don't always pay strict attention to our instructions about what their robots should or should not do - but at least that should be enough to keep you out of any duplicate-content penalty (in theory). And duplicate content was your original concern, after all, in wondering about whether to publish full text or summaries on the front page. We may have drifted just a tiny bit off-topic into blogger-philosophy there!

  3. Join Date
    Jul 2007
    Location
    London, UK
    Posts
    1,604

    Quote Originally Posted by Jen View Post
    Gui is quite right, of course, Robert. (I've missed having our most helpful designer around here lately!)!
    Lol, yes, I've been mostly offline because I'm 1000 Km northwest of my own online environment, but I'll be back soon, or rather, I'll bring my environment here.

    Quote Originally Posted by Jen View Post
    I'm sure you're a blogger who'd be comfortable with following Gui's instructions, Robert, but it just occurred to me to wonder if there could be plugins of some sort to help out newer bloggers!
    Now, that's an excellent idea. The snippet of code I gave on my previous post can easily be transformed into a plugin if it hadn't been done yet.

    I'm quite busy at the moment, otherwise I'd do it myself, but is an interesting challenge if someone wants to challenge him/herself to a first wordpress plugin.
    Cycling from London to Rochester to Raise Money to build classrooms in Malawi: Donate | Read the Blog

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts