Archive | Tutorials RSS feed for this section

Hiding WordPress Posts from Search

Jean-Baptiste Jung has a quick little post about keeping single posts or pages out of search engines.

To achieve, first get the ID of the post you’d like to be not indexed by search engines. In this example, I assume your post id is 17. Open your header.php file and paste the following code between theandtags:

<?php if ($post->ID == 17) {
    echo '<meta name="robots" content="noindex">';
}

You can also do this in the WordPress interface. Most themes have an SEO area for these settings on each page or post. For instance, I’m using Simplicity from WooThemes on this site. Their SEO settings area looks like this:

Woothemes simplicity seo settings

If I don’t want this post to show up in search engines, I can check the options for no follow and no index.

Additionally, there are a few more steps if you truly don’t want your page to be found.

Carol links to WP Hide Post and adds a reminder to check your site map (she uses Dagon Design’s plugin).

Of course, you can do all of this by manually updating the code.

Hope you found this useful!

Embedding a YouTube Video in a WordPress Post or Page

Be sure to use the HTML tab in your editor. Then, copy the embed code from YouTube, paste, and publish. Simple is good!

Add An Image to a WordPress Post

Below is a quick tutorial on adding an image to WordPress. If you use images hosted elsewhere (Flickr, SmugMug, etc.) use the “From URL” tab in the image dialog box (figure 1).

Upload Image to WordPress from URL

Figure 1