• Home
  • New Entries
  • Popular Entries
  • Submit a Story
  • About

WordPress SEO: Optimizing Your ...</h1> </div> <div id="body_top"> <div class="lcol"> <div class="toprightpad"> <div><script type="text/javascript"><!-- google_ad_client = "pub-1530330817173778"; google_ad_width = 234; google_ad_height = 60; google_ad_format = "234x60_as"; google_ad_type = "text_image"; //2007-01-14: Webloglines - Article - Top google_ad_channel = "3653399909"; google_color_border = "0D0D0D"; google_color_bg = "0D0D0D"; google_color_link = "9EEA2F"; google_color_text = "A6A6A6"; google_color_url = "A6A6A6"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div> <!--p style="margin: 0 0 500px 0; color:white; font-size: 13px;">Often times, the <title> tag is overlooked when creating a theme. This tutorial will help you optimize the <title> tag for your specific needs.</p--> <div class="mtentry"> <!--div style="padding-bottom: 200px; width: 470px;"> <p> <script type="text/javascript"> google_ad_client = "pub-1530330817173778"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text"; //2007-08-15: Content - Top google_ad_channel = "0359998767"; google_color_border = "0D0D0D"; google_color_bg = "0D0D0D"; google_color_link = "9EEA2F"; google_color_text = "FFFFFF"; google_color_url = "9EEA2F"; </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </p> </div--> <!--div style="position: absolute; top: 0px; padding-top: 15px; width: 470px;">GoogleAds</div--> <!--p style="width: 470px; text-align:right;" id="full-story"><a href="javascript:instance.slideit()" style="font-size:10px;">View More Info</a></p--> <div id="content" style="width: 470px;"> <p><p>Often times, the <title> tag is overlooked when creating a theme. This tutorial will help you optimize the <title> tag for your specific needs.</p> <p>I’m a huge fan of optimizing my <title>, but it takes some work to do it.</p> <p>In any thing I create or modify, I always have a separate title.php file because I normally have 10-15 lines in the file for my <title>.</p> <p>Here is what I use,</p> <p><title><?php<br /> if(isset($_GET[author_name])) :<br /> $curauth = get_userdatabylogin($author_name);<br /> else :<br /> $curauth = get_userdata(intval($author));<br /> endif;<br /> if(is_home()) { echo ‘My News Site.’; }<br /> elseif(is_single()) { the_title() . ‘ - My News Site.’; }<br /> elseif(is_date()) { echo ‘Site Archives - ‘ . get_the_time(’M Y’); }<br /> elseif(is_category()) { echo single_cat_title() . ‘ News - My Site’; }<br /> elseif(is_page()) { the_title(); }<br /> elseif(is_search()) { echo ‘My News Site Search: ‘ . $s; }<br /> elseif(is_tag()) { echo single_tag_title(’My Site Tag: ‘,true); }<br /> elseif(is_author()) { echo ‘Site Author - ‘ . $curauth->display_name; }<br /> else { echo "Sorry, page not found."; }<br /> ?></title></p> <p>Then, to simple include this file in your theme, use <?php include(’title.php’); ?> where you would normally have the <title> and it will show up as planned.</p> <p>The reason I do this for my <title>’s is because the default method used in WordPress has never been satisfactory for me. Additionally, and primarily, I have seen far better SEO results because of this.<br /> </p> <p> </p> </p> <div id="full-story" style="padding: 10px 0;"> <img src="/blog/images/story.gif" border=0 /> <b>Original Source:</b><br> <a title="WordPress SEO: Optimizing Your <title>" href="http://wphacks.wordpress.com" target="_blank">http://wphacks.wordpress.com</a> </div> <p> <!-- AddThis Bookmark Post Button BEGIN --> <div><a href="http://www.addthis.com/bookmark.php?pub=irange&url=http://www.webloglines.com/blog/stuff/article/wordpress_seo_optimizing_your_title.php&title=WordPress SEO: Optimizing Your <title>" title="WordPress SEO: Optimizing Your <title>" target="_blank"><img src="http://s9.addthis.com/button1-bm.gif" width="125" height="16" border="0" alt="AddThis Social Bookmark Button" /></a></div><!-- AddThis Bookmark Post Button END --> <br> </p> <div class="posted"> Posted at 11:45:08 am | <a href="/blog/stuff/article/wordpress_seo_optimizing_your_title.php" title="WordPress SEO: Optimizing Your <title>">Permalink</a> | Posted in <a href="/blog/stuff/seo.php" title="SEO">SEO</a>   </div> <div id="inner-section"> <h3>Related Stuff</h3> <a style="padding-left:10px;" href="/blog/stuff/article/google_buzz_button_wordpress_plugin_released.php" title="Google Buzz Button Wordpress Plugin Released">Google Buzz Button Wordpress Plugin Released</a> <p style="padding-left:10px;">If you are looking for a Google Buzz button to add into your Wordpress site then we have released the first Wordpress plugin exclusively ...</p> <a style="padding-left:10px;" href="/blog/stuff/article/plug_and_play_ecommerce_with_wordpress_plugins.php" title="Plug And Play Ecommerce With Wordpress Plugins">Plug And Play Ecommerce With Wordpress Plugins</a> <p style="padding-left:10px;">Since 2003 Wordpress has slowly been gaining popularity amongst the elite of the internet, the bloggers. It is one of those few things ...</p> <a style="padding-left:10px;" href="/blog/stuff/article/add_google_search_to_your_wordpress_blog.php" title="Add Google Search to Your WordPress Blog">Add Google Search to Your WordPress Blog</a> <p style="padding-left:10px;">The native WordPress search does not return very relevant results, thus it makes a lot of sense to add Google Search into your WordPress ...</p> <a style="padding-left:10px;" href="/blog/stuff/article/add_more_sidebars_to_your_wordpress_theme.php" title="Add More Sidebars to Your WordPress Theme">Add More Sidebars to Your WordPress Theme</a> <p style="padding-left:10px;">You can add more than one sidebar section to your WordPress site. For example, with the stc-intermountain.org site, I added a whole bunch ...</p> <a style="padding-left:10px;" href="/blog/stuff/article/series_posting_in_wordpress.php" title="Series Posting in Wordpress">Series Posting in Wordpress</a> <p style="padding-left:10px;">In my functions.php file, I have some code which implements series posting. This relies on the thematic ...</p> </div> <div id="inner-section"></div> </div> <script type="text/javascript"> //var instance = new animatedcollapse("content", 850, false); </script> </div> </div> </div> <div class="mcol"> <div class="toprightpad"> <h4>Top Stuff</h4> <p><a href="/blog/stuff/article/free_blogger_templates_anime_themes.php" title="Free Blogger templates Anime Themes">Free Blogger templates Anime Themes</a></p> <p><a href="/blog/stuff/article/wordpress_guestbook_generator_plugin.php" title="Wordpress Guestbook Generator Plugin">Wordpress Guestbook Generator Plugin</a></p> <p><a href="/blog/stuff/article/_unique_ways_to_use_wordpress.php" title="48 Unique Ways To Use WordPress">48 Unique Ways To Use WordPress</a></p> <p><a href="/blog/stuff/article/geeklog.php" title="GeekLog">GeekLog</a></p> <p><a href="/blog/stuff/article/wordpress_single_post_templates.php" title="WordPress Single Post Templates">WordPress Single Post Templates</a></p> <p><a href="/blog/stuff/article/zookoda.php" title="Zookoda">Zookoda</a></p> <br /> <style> .AdUnit { font-size:12px; margin-top:4px; border:1px solid #ccc; padding:2px; width:95%; cursor:pointer; } .AdUnit a { font-weight:bold; } .AdUnit a:hover { text-decoration:underline; } .AdUnit p { margin:1px; } </style> <!--a href= "addlink.php" target="_balnk" style="font-size:11px; font-weight:bold;padding:2px">Get a Text Link Here</a--> <br /> <h4>About Webloglines</h4><p>Webloglines is a project offers a comprehensive collection of blogging services, articles, themes and plugins from around the world. Whether you're looking to promote your own blog or find blogs on various topics, this site is for you.</p><br /> </div> </div> <div class="rcol"> <form method="get" action="/blog/search.php"> <div id="search-div"> <h3>Search</h3> <div id="search"> <input id="query" name="query" size="20" > </div> </div> </form> <br /> <div id="topics"> <h3>Topics</h3> <ul><li><a href="/blog/stuff/adsense.php" title="Adsense">Adsense</a> <span style="font-size:10px;color:#999999;">(12)</span><li><a href="/blog/stuff/blogging_tips.php" title="Blogging Tips">Blogging Tips</a> <span style="font-size:10px;color:#999999;">(73)</span><li><a href="/blog/stuff/blogs_slides.php" title="Blogs Slides">Blogs Slides</a> <span style="font-size:10px;color:#999999;">(25)</span><li><a href="/blog/stuff/blogs_websites.php" title="Blogs Websites">Blogs Websites</a> <span style="font-size:10px;color:#999999;">(22)</span><li><a href="/blog/stuff/digg.php" title="Digg">Digg</a> <span style="font-size:10px;color:#999999;">(20)</span><li><a href="/blog/stuff/how_to_blog.php" title="How to Blog">How to Blog</a> <span style="font-size:10px;color:#999999;">(129)</span><li><a href="/blog/stuff/search_engines.php" title="Search Engines">Search Engines</a> <span style="font-size:10px;color:#999999;">(9)</span><li><a href="/blog/stuff/seo.php" title="SEO">SEO</a> <span style="font-size:10px;color:#999999;">(135)</span><li><a href="/blog/stuff/wordpress_plugins.php" title="WordPress Plugins">WordPress Plugins</a> <span style="font-size:10px;color:#999999;">(269)</span><li><a href="/blog/stuff/wordpress_security.php" title="WordPress Security">WordPress Security</a> <span style="font-size:10px;color:#999999;">(75)</span><li><a href="/blog/stuff/wordpress_themes.php" title="Wordpress Themes">Wordpress Themes</a> <span style="font-size:10px;color:#999999;">(99)</span><li><a href="/blog/stuff/wordpress_tips.php" title="Wordpress Tips">Wordpress Tips</a> <span style="font-size:10px;color:#999999;">(162)</span> </ul> </div><br /> </div> </div> <div id="foot" style="text-align: center"> <script type="text/javascript"><!-- google_ad_client = "pub-1530330817173778"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "image"; //2007-08-06: Image google_ad_channel = "1944998432"; google_color_border = "1C1C1C"; google_color_bg = "1C1C1C"; google_color_link = "F1853C"; google_color_text = "555555"; google_color_url = "666666"; google_ui_features = "rc:0"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> <div id="foot"> <!--div style="float:right;text-align:right;"> Powered by <a href="http://www.irange.net">IRange</a>. </div--> <div style="display:block;margin-top:4px;"> © 2006 <a href="http://www.webloglines.com">www.webloglines.com</a>. All Rights Reserved. Powered by <a href="http://www.irange.net" title="Offshore Software Development">IRange</a></div> </div> </div> <script src="http://www.irange.net/adsense/adsense.js" type="text/javascript"> </script> <script type="text/javascript"> <!-- clickaider_cid = "11c0c469-1674"; clickaider_track_links = "all"; clickaider_track_forms = "all"; // --> </script> <script type="text/javascript" src="http://hit.clickaider.com/clickaider.js"></script> <noscript> <img src="http://hit.clickaider.com/pv?c=11c0c469-1674" alt="ClickAider" border="0" width="1" height="1" /> </noscript> </body> </html>