• 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 /> <a title="WordPress SEO: Optimizing Your <title>" href="http://wphacks.wordpress.com" target="_blank">View Full Story.</a> </div> <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/improving_security_in_wordpress_plugins_using_nonces.php" title="Improving security in Wordpress plugins using Nonces">Improving security in Wordpress plugins using Nonces</a> <p style="padding-left:10px;">Using a nonce (number used once) is the best way to protect your plugin against a cross-site request forgery (CSRF) hacker-attack. Nonces ...</p> <a style="padding-left:10px;" href="/blog/stuff/article/_new_wordpress_plugins.php" title="10 New WordPress Plugins">10 New WordPress Plugins</a> <p style="padding-left:10px;">This plugin enable admin to put up a splash page to show that the site is down for maintenance. Come with a timer to tell how long the site ...</p> <a style="padding-left:10px;" href="/blog/stuff/article/wordpress_forums_plugins_to_build_community.php" title="WordPress Forums Plugins To Build Community">WordPress Forums Plugins To Build Community</a> <p style="padding-left:10px;">Growing your blog beyond publishing can be done quite easily by using WordPress Forums Plugins. Community growth greatly depends on ongoing ...</p> <a style="padding-left:10px;" href="/blog/stuff/article/_annoying_wordpress_plugins_.php" title="5 Annoying WordPress Plugins ">5 Annoying WordPress Plugins </a> <p style="padding-left:10px;">Usually I attempt to share useful WordPress information but today, I thought we could have some fun with 5 of the most annoying WordPress ...</p> <a style="padding-left:10px;" href="/blog/stuff/article/new_releases_for_jquery_and_wordpress.php" title="New releases for jQuery and Wordpress">New releases for jQuery and Wordpress</a> <p style="padding-left:10px;">The jQuery Database plugin takes your HTML tables and allows you to write a query against them similar to MS- or mySQL. I haven’t had ...</p> </div> <div id="inner-section"><a id="comment" name="comments" title="Comments"></a> <div id="CommentDiv"> <h3>Be the first ... |<a href="#addcomment" title="Add your comment">Add your comment.</a></h3> </div> <a id="comment" name="addcomment" title="Add Comment"></a> <h3>Your Comment ...</h3> <p><input class="comment-input" size="30" type="text" id="nameComment">  Name (required)</p> <p><input class="comment-input" size="30" type="text" id="mailComment">  Email (required, hidden)</p> <p><input class="comment-input" size="30" type="text" id="urlComment">  Website</p> <p><textarea class="comment-input" id="txtComment" rows="7" cols="65"></textarea></p> <p><input type="button" class="butt" value="Submit" scroll="no" onClick="AddComment(1444);"></p><br /> <div class="error" id="divID"></div> </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/geeklog.php" title="GeekLog">GeekLog</a></p> <p><a href="/blog/stuff/article/zookoda.php" title="Zookoda">Zookoda</a></p> <p><a href="/blog/stuff/article/introduction_to_blogs_and_blogging.php" title="Introduction to blogs and blogging">Introduction to blogs and blogging</a></p> <p><a href="/blog/stuff/article/jumpcut.php" title="jumpcut">jumpcut</a></p> <br /> <h4>Our Partners</h4><p><a id="link" target="_blank" href="http://facebook.ajaxprojects.com" title="Facebook Applications">Facebook Applications</a></p><p><a id="link" target="_blank" href="http://www.ajaxprojects.com" title="Ajax Projects">Ajax Projects</a></p><p><a id="link" target="_blank" href="http://web2.ajaxprojects.com" title="Web 2.0 Sites">Web 2.0 Sites</a></p><p><a id="link" target="_blank" href="http://www.webloglines.com" title="Webloglines">Webloglines</a></p><p><a id="link" target="_blank" href="http://www.mindrs.com" title="Human Development Handbook">Human Development Handbook</a></p><p><a id="link" target="_blank" href="http://www.irange.net" title="Software Development Company">Software Development Company</a></p><p><a id="link" target="_blank" href="http://www.ajaxlines.com" title="Ajaxlines">Ajaxlines</a></p><p><a id="link" target="_blank" href="http://www.serooms.com" title="Ajaxlines">Stock Exchange Chat</a></p><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;">(9)</span><li><a href="/blog/stuff/blogging_tips.php" title="Blogging Tips">Blogging Tips</a> <span style="font-size:10px;color:#999999;">(59)</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;">(8)</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;">(65)</span><li><a href="/blog/stuff/search_engines.php" title="Search Engines">Search Engines</a> <span style="font-size:10px;color:#999999;">(2)</span><li><a href="/blog/stuff/seo.php" title="SEO">SEO</a> <span style="font-size:10px;color:#999999;">(40)</span><li><a href="/blog/stuff/wordpress_plugins.php" title="WordPress Plugins">WordPress Plugins</a> <span style="font-size:10px;color:#999999;">(88)</span><li><a href="/blog/stuff/wordpress_security.php" title="WordPress Security">WordPress Security</a> <span style="font-size:10px;color:#999999;">(28)</span><li><a href="/blog/stuff/wordpress_themes.php" title="Wordpress Themes">Wordpress Themes</a> <span style="font-size:10px;color:#999999;">(36)</span><li><a href="/blog/stuff/wordpress_tips.php" title="Wordpress Tips">Wordpress Tips</a> <span style="font-size:10px;color:#999999;">(56)</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>