ThemeLib logo
  • Home
  • Blogger
    • Blogger Templates
    • Blogger Tutorials
    • Blogger Widgets
  • Wordpress
    • Wordpress Themes
    • Wordpress Plugins
    • Wordpress Tutorials
  • Money Makers
  • About
  • Contact
  • Advertise
Home » Blogging Tips, Wordpress Tutorials

Create robots.txt file for better SEO

This entry was posted by nhc on Monday, July 7th, 2008 at 6:18 pm. It is filed under Blogging Tips, Wordpress Tutorials and tagged with blogging, robots.txt, search engine optimization, seo.

SEO - Search Engine Optimization

It has been a half month since ThemeLib.com was created, not a long time, huh ?. Today, I decided to test how is my site in two popular Search Engines : Google and Yahoo.

Here is the result :

  • Google: get 48 results returned with keywords http://themelib.com
  • Yahoo: get 35 results returned with keywords http://themelib.com

All of the results in Google is fine. They indexed my posts, my tags, my keywords, … But wait, there are some problems with my site in Yahoo.

Create robots.txt file for better SEO

Create robots.txt file for better SEO

Create robots.txt file for better SEO

Yahoo indexed my wp-login page and download links !!! How did it happed, huh ? If you have knowledge on SEO (Search Engine Optimization), these results are not good, really. After examining ThemeLib.com a few minutes, I realized that I have not created a Robots.txt file yet !!! Oh man, how can I forget it? :shock:

Introduction

The robots.txt file is used to instruct search engine robots about what pages on your website should be crawled and consequently indexed. Most websites have files and folders that are not relevant for search engines (like images, download links, admin files, …) therefore creating a robots.txt file can actually improve your website indexation.

How to Create a Robots.txt file

A robots.txt is just a simple text file that can be created with any text editor such as Notepad. If you are using Wordpress, a sample robots.txt file would be :

User-agent: *
Disallow: /wp-
Disallow: /feed/
Disallow: /trackback/
Disallow: /download/

“User-agent: *” means that all the search engine (Google, Yahoo, MSN and so on) should use those instructions to crawl your website.

“Disallow: /wp-” will make sure that the search engines will not crawl the Wordpress files. This line will exclude all files and foldes starting with “wp-” from the indexation, avoiding duplicated content and admin files. Similar to Disallow: /feed/, Disallow: /trackback/, …

After you created the robots.txt file just upload it to your root directory and DONE!

Further reading

Here are some articles that may useful for you if you want to read more about SEO and Robots.txt

  • Controlling how search engines access and index your website
  • Googlebot
  • Inside Google Sitemaps: Using a robots.txt file

Conclusion

You should always verify your site in Search Engine like Google, Yahoo to see if there are any problems with the indexing. Hope you do not make a mistake like me.

  • E-mail this story to a friend!
  • Print this article!
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Technorati
  • Mixx

You've read the post. What's next?

If you like this post then please consider subscribing to our RSS feed. You can also subscribe by email to receive free updates directly in your inbox.

Want to know what am I doing? Follow me on Twitter!

Did you miss any of these related posts?

  • Setting Up the Blogger Commenting System (Basics)
  • Is Your Blog Underrated?
  • How does your blog look like in Internet Explorer ?
  • Favourite Links - August 11, 2008

7 Responses to "Create robots.txt file for better SEO"

  1. Tom says:

    Great post. Thanks for the info. It’s a tough job learning all this SEO stuff.

    Reply to this comment »
    July 23, 2008 at 10:49 PM
  2. Aragao says:

    Seo is really very good and difficult (to start) to learn, to optimize the site, I understand, is need many studies related to that!

    Now I ask you, the template I am using and you convert is optimized with Seo? If not, some assistance x)

    thanks!

    Reply to this comment »
    July 24, 2008 at 1:14 AM
    • nhc1987 says:

      MOST of SEO techniques depend on you, not the theme ;)

      You can search on internet about SEO, lots of Blogger have written about it.

      Reply to this comment »
      July 24, 2008 at 3:15 AM
  3. John says:

    Whats the most important with SEO?The title? I really need work on SEO lol.

    Reply to this comment »
    September 7, 2008 at 4:25 PM
    • Arun Basil Lal says: Subscribed to comments

      Hello John,

      Title is important on SEO, but not the most important. In proper SEO, the key things are:
      * Title
      * Keyword Density (Percentage of the keyword in the total post)
      * Image parameters like Image title, Alternate text etc
      * Non indexing of duplicate contetn on tag pages etc.
      * Proper links (nofollow for non relevant links)
      * First 160 characters must describe the post. plus proper description tag etc.

      Use the All in one SEo pack, its comprehensive + Google Sitemap Generator plugin
      That should do. My friend, Mani is a professional SEO expert. His blog dailyseoblog.com has lots of tips.

      Hope you find the info useful.
      Arun.

      Reply to this comment »
      December 15, 2008 at 5:44 PM
  4. Arun Basil Lal says: Subscribed to comments

    There is another easy way for those who dont like to edit code directly, Use the Google-Sitemap Generator plugin. There is an option to create Robots.txt file. The file redirects the google bot to the sitemap and sitemap will have only the relevant links.

    with this plugin, my contents are indexed within 36-48 hours.
    Hope that helps someone.
    Arun

    Reply to this comment »
    December 15, 2008 at 5:43 PM
  5. Jade says:

    This is a great source of info. I am hoping to improve my seo on my sites too. I will be hanging out in your site alot the coming days.

    Reply to this comment »
    January 1, 2009 at 4:23 AM

Leave a comment

Click here to cancel reply.

RSS feed

Feedburner RSS feed
Most articles on this site are related to blogger templates, wordpress themes, blog design, tips, tricks, and plenty of fun :)

Grab the feed or enter your email address to get the party started! It is FREE.

Search our archives

Categories

  • Blogger Hacks
  • Blogger Templates
  • Blogger Tutorials
  • Blogger Widgets
  • Blogging Tips
  • Favourite Links
  • Google News
  • Make Money Online
  • Personal
  • Reviews
  • Site News
  • Web Stuff
  • Wordpress News
  • Wordpress Plugins
  • Wordpress Themes
  • Wordpress Tutorials

Archives

  • January 2009 (2)
  • December 2008 (17)
  • November 2008 (15)
  • October 2008 (15)
  • September 2008 (11)
  • August 2008 (26)
  • July 2008 (27)
  • June 2008 (16)

Entrecard Blog

Featured Links

  • Joomla Templates
  • Domain Name Registration
  • Slightly mordant
  • Your links here, $10/month

Top Commentators

  • Alex (3)
  • Typhoon (3)
  • brooks (2)
  • Jacques Seoman (2)
  • Make Money (2)

Recent Posts

  • Revolution Themes Became Paid Themes with GPL License!
  • eGamer Wordpress Theme for Video Game Bloggers
  • Google Pagerank Update December 2008 - ThemeLib is now PR6!
  • Viewport Wordpress Theme from Smashing Magazine
  • 50+ “your ad here” 125×125 banners
  • Merry Christmas Everybody!
  • Simple Text Premium Wordpress Theme
  • Wordpress Theme Reviews and Ratings at ThemesPreview
  • How to Find Spam Blogs Republish Your RSS Feeds and Make Good Use Of It
  • Woo Themes Christmas Special - Buy One and Get Three Free!

Popular Posts

  • Arthemia magazine blogger template (290)
  • Google PageRank update September 2008 - My blog got PR5 (108)
  • Maggo magazine blogger template (80)
  • Personal Mag magazine blogger template (66)
  • Astro colorful blogger template (62)
  • White Space blogger template (60)
  • Google Pagerank Update December 2008 - ThemeLib is now PR6! (57)
  • SunRays dark blogger template (40)
  • Windows Vista blogger template (39)
  • Rebel magazine blogger template (38)
  • Revolution Themes Now Available to Download - FREE (37)
  • Link love to Top Commentators :) (36)

Recent Comments

  • Typhoon:nhc posted this news almost a month back.I think you should subscribe to his fe
  • brooks:I am so proud that Google is giving such high PR's to websites
  • brooks:Being a gaming buff, I am so happy that wordpress has come up with this amazing
  • nhc:Search for the code below and change it. body { font-family: Century gothi
  • nhc:You can link to your favorite posts, blog's labels or something you like. It do
  • nhc:I'm sure you did something wrong with the template
  • nhc:Thanks. I'm dreaming of a PR7 too :
  • Yoginder:Thats a very good achievement. All the best and get a P7 or more :
Copyright
Links
© 2008 - 2009 ThemeLib. Some Rights Reserved. Arthemia Theme by MichaelJubel - Enhanced by ThemeLib
About Us | Contact Us | Advertise With Us | Hire Us | Terms of Service | Privacy Policies | RSS Feed | Email Subscription | Sitemap | Log In