<?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>WordPress and Wishlist Member plugin and theme &#187; Wordpress Tips</title>
	<atom:link href="http://hecode.com/category/wp-tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://hecode.com</link>
	<description>WordPress Professional Solutions - Wishlist Member advanced -  – SEO Consulting Services - Plugins and WP Theme</description>
	<lastBuildDate>Wed, 10 Aug 2011 04:05:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How to downgrade WordPress? Or install older WordPress on new version by keeping same settings?</title>
		<link>http://hecode.com/how-to-downgrade-wordpress/</link>
		<comments>http://hecode.com/how-to-downgrade-wordpress/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 05:02:11 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[most wanted]]></category>

		<guid isPermaLink="false">http://hecode.com/?p=132</guid>
		<description><![CDATA[Although having latest WordPress is good idea, but sometime you may wish to back to earlier version of WordPress installation after upgrading your WordPress. This can happen when your plugins do not work with new version of  WordPress and your site is depend to that plugins. Good news is downgrading Latest Version of WordPress to [...]]]></description>
			<content:encoded><![CDATA[<p>Although having latest WordPress is good idea, but sometime you may wish to back to earlier version of WordPress installation after upgrading your WordPress. This can happen when your plugins do not work with new version of  WordPress and your site is depend to that plugins.</p>
<p>Good news is downgrading Latest Version of WordPress to a older version of WordPress  is very  easy task and that same as upgrading a WordPress to newer version but in reverse way.</p>
<p>Here I going to share my experience with you, how you can install older WordPress on newest version of WordPress. let say installing WordPress 3.0.0 on WordPress Version 3.2.1 without losing  current WordPress setting and data.  Save your time and avoid headache and enjoy reading this most wanted WordPress tip!<br />
<span id="more-132"></span></p>
<ol>
<li>First make full back up of your site.  Including your WordPress folders and database. You are reading this becase you missed to backup your WordPress before upgrade. Its good practice to backup your WordPress before upgrade or downgrade. You need to have access to your site control panel. Using a ftp program such as Filezilla you can make a copy of all files to your computer. By using a ftp program such as PhpMyAdmin you can  backup  your WordPress database. Also most control panel have a function that let you to backup everything just by one click.</li>
<li>Deactivate all active plugins.  Login to WordPress admin area and go to plugins section. Select active plugins and deactivate them. Pretty easy. First time I was afraid to lose my plugins and WordPress settings if I downgrade My WordPress . I write down  all settings of my plugins. It took almost 2 hours.  Good news is you can skip this part! don&#8217;t worry you have a full backup. right? ( I hope so!). then you have a option to restore your site to previews state and make a snapshot of setting of bad plugins if needed. Its safe to deactivate your plugin before downgrade. but it can be just fine if you do not do.</li>
<li>Delete wp-admin and wp-includes folder. ( make sure no plugin use this folders to save something).<br />
( update: I know its little scary to delete these folders. but you can always get these folders back from your backup or you can get a copy of it be extracting latest WordPress zip file. Also  I found another easy and faster way. Some Ftp software such as filezilla allow you to drag and drop folder to another location. Simply create a folder with name  _oldWP and select wp-admin and wp-includes and drag it to _oldWP folder. This is much faster than deleting these folders and same time it allow you to have them at _oldWP folder)</li>
<li>get the old version of wordpress that you need from<a href="http://wordpress.org/download/release-archive/"> wordpress.org release-archive</a><br />
at the writing time of this post, most people like to downgrade from wordpress Version 3.2.1 to wordpress Version 3.1.0! that is because most famous  plugin such as light box! are not ready to get power of latest WordPress yet.</li>
<li>unzip your desired version of WordPress and overwrite all files to your website by using ftp program. ( this will copy wp-admin and wp-includes to your ftp as well)</li>
<li>Go to your site admin area. This time you won&#8217;t see WordPress admin login page. Instead  you will notice a message that say wordpress need to upgrade current wordpress to new one!!. do not worry. It just shy to say it is actually downgrading but it know how to its job to downgrade your WordPress = )</li>
<li>login to admin area again (and activate all plugins you need).<br />
WordPress even tell you what plugin were active before downgrade, So you can activate all of them in one step.</li>
</ol>
<p>Everything will be fine and you can enjoy old WordPress installation on new on WordPress like you never did a upgrade.I tried to write as much as details I could.  Please share this post, If you found it useful.</p>
<p>If for any reason you are still afraid to do this scary task.  <a href="/contact">let me know to do it for you.</a> You will need to let me know what is your WordPress admin login details and your ftp login details. Please note this service is not free and it will cost you  50$ that you can pay after successful downgrade using PayPal. I will back up your site first and I take a movie of downgrading process that will show you how I downgrade your site. So next time you can do it your self.</p>
]]></content:encoded>
			<wfw:commentRss>http://hecode.com/how-to-downgrade-wordpress/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>How to automatically update my WordPress footer Copyright Date using PHP?</title>
		<link>http://hecode.com/how-to-automatically-update-my-wordpress-footer-copyright-date-using-php/</link>
		<comments>http://hecode.com/how-to-automatically-update-my-wordpress-footer-copyright-date-using-php/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 22:06:17 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>

		<guid isPermaLink="false">http://hecode.com/?p=568</guid>
		<description><![CDATA[The New Year is coming, There are always some simple task that we missed to do. Some time simple things can be missed for years. One good example is your site copyright date.I noticed while now is 2010 but my site footer date still displayed 2009 and this may remain for 2011 or even 2012. [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://hecode.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushPhp.js"></script>
<p>The New Year is coming, There are always some simple task that we missed to do. Some time simple things can be missed for years. One good example is your site copyright date.I noticed  while now is 2010 but my site footer date still displayed 2009 and this may remain for 2011 or even 2012.  You know not only HeCode. you also can code!  let see how to fix this forever.</p>
<p><span id="more-568"></span></p>
<p>by using following simple PHP code, your Copyright date will change every year. Add this code once to your WordPress footer and enjoy rest of your life:) </p>
<pre class="brush: php">&amp;#169; Copyright &lt;?php
$from = 2009;
$now = date('Y');
if ($from == $now)
echo $now;
else
echo &quot;$from - $now&quot;; 
?&gt; YourSite.com</pre>
<p>Make sure to edit  $from and set it to the year that your site was launched.  Final year is automatically calculated using PHP’s date() function. but it you just created your site. It will display one date.</p>
<p>Do you want to see an example? Then have a look to my site footer. You will love it!</p>
]]></content:encoded>
			<wfw:commentRss>http://hecode.com/how-to-automatically-update-my-wordpress-footer-copyright-date-using-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to move all wordpress posts from old author to another user without deleting old member?</title>
		<link>http://hecode.com/how-to-move-all-wordpress-posts-from-old-author-to-new-author/</link>
		<comments>http://hecode.com/how-to-move-all-wordpress-posts-from-old-author-to-new-author/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 20:24:53 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Wordpress Tips]]></category>

		<guid isPermaLink="false">http://hecode.com/?p=503</guid>
		<description><![CDATA[Most of us start to write posts by default admin user. Then  we may have more author. or maybe you have lots of posts under a author but now you wish to move them to another author without deleting the old author?  here is tips how you can do it. You can do this with [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://hecode.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushPhp.js"></script>
<p>Most of us start to write posts by default admin user. Then  we may have more author. or maybe you have lots of posts under a author but now you wish to move them to another author without deleting the old author?  here is tips how you can do it.<span id="more-503"></span></p>
<p>You can do this with two way.</p>
<p>A) <strong>Moving post to new author by deleting old author:</strong></p>
<p>at user section of  WordPress admin area, find old author and Delete old author. then WordPress will ask you who you want to assign the posts that was belong to old author. Pretty simple, but you will lose old author user.</p>
<p>If you like keep old author user but move all post of old author to new one. then try following solution:</p>
<p>B)<strong> Moving post to new author without deleting old author:</strong></p>
<p>First we need find old author id. You find it by holding mouse on old author username at user section in WordPress admin area</p>
<p>You also can do it via phpmyadmin by using following sql</p>
<pre class="javascript" title="code"> SELECT ID  FROM wp_users where `display_name`='old_author_name'
</pre>
<p>same you can find ID of new author.</p>
<p>Now we  move all post from old author to new author . here is the sql code</p>
<pre class="javascript" title="code"> UPDATE wp_posts SET `post_author`='new_auhtor_id' WHERE
`post_author`='old_author_id'
</pre>
<p>There are no plugin to do above. If you enjoined it tweet it!</p>
]]></content:encoded>
			<wfw:commentRss>http://hecode.com/how-to-move-all-wordpress-posts-from-old-author-to-new-author/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a full WordPress backup and restore or sync it with local website</title>
		<link>http://hecode.com/how-to-create-a-full-wordpress-backup-and-restore-and-sync-them-with-localhost/</link>
		<comments>http://hecode.com/how-to-create-a-full-wordpress-backup-and-restore-and-sync-them-with-localhost/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 15:16:33 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[Best WordPress Plugins]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://hecode.com/?p=397</guid>
		<description><![CDATA[I backup my wordpress once a month. I recommend  you backup your wordpress  too. You won&#8217;t regret  having backup, instead  you will be happy when thing go wrong. There will be always a option to go back. for most having a backup and restore is scary task. but if you do it several time it [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://hecode.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushPhp.js"></script>
<p>I backup my wordpress once a month. I recommend  you backup your wordpress  too. You won&#8217;t regret  having backup, instead  you will be happy when thing go wrong. There will be always a option to go back. for most having a backup and restore is scary task. but if you do it several time it become habit. I want to explain how you even can make it fun and enjoy having full WordPress backup!</p>
<p><span id="more-397"></span></p>
<p>Most important part of your wordpress to have a backup of them is wordpress database and wp-content folder.</p>
<p>you need to make sure you included above in your backup. other section are not much important becase you can always download wordpress core files from wordpress website. or regenerate wp-config and .htaccess  file.</p>
<p>However to mike life easy is best, we create one backup and include all files on server.</p>
<h2>Doing full backup of live website</h2>
<h3>Making backup of database:</h3>
<p>Make a database backup using <a href="http://wordpress.org/extend/plugins/wp-dbmanager/" target="_blank">wp-dbmanager wordpress plugin</a> &lt;&#8211; good for beginners</p>
<p>other good alternative are <a href="http://wordpress.org/extend/plugins/wp-phpmyadmin/" target="_blank">WP-phpMyAdmin</a> &lt;&#8211;  Good for professionals!</p>
<h3>Making  backup of files:</h3>
<p>Copy your wordpress files  by using a ftp program such as free ftp <a href="http://filezilla-project.org/download.php" target="_blank">filezilla</a></p>
<h2>Restoring from full backup to online website</h2>
<h3>Restore database from a backup</h3>
<p>by using phpmyadmin you can transfer your backup database to online database.</p>
<p>do not worry. there is nothing to lost. because you already have a backup. you may need remove database if you did not checked &#8220;ADD DROP TABLE / VIEW / PROCEDURE / FUNCTION&#8221; when you did database export.</p>
<h4>Restore files from backup to server</h4>
<p>This section is easy. again by using ftp program you can copy back or upload all files to your server.</p>
<hr />
<h3>Note:  You can restore your backup to another website too. This way your second website become exact clone of first website. To clone your WordPress to another Domain you need to</h3>
<ul>
<li>change wp-config file with new database name, user and password.</li>
<li>Change value of siteurl and home  of wp-option table in database to  new website URL ( using php my admin in new website. or using a text editor and replace the value inside sql file before restoring the database.</li>
</ul>
<hr />You can use above solution to make backup and restore of any wordpress website.</p>
<h2>How sync my online wordpress with local  wordpress?</h2>
<p>As coder the way I do is like this. I sync my online database to my local database. I zip my my online files and after transfer to local storage I extract them in local domain. zipped files are much smaller and copying one file from in much faster and safer  than copy all server files one by one.</p>
<p>To make life easier my local domain and database are same as online domain and database. so I no need change wp-config or database site and home value. So my online website will be 100% exact clone.</p>
<p>Working on exact clone at localhost is very fast and fun. It&#8217;s like you have tomorrow internet speed. I sync from server to local one time at end of the month. during month I work at local wordpress. If I were happy with result I transfer them to online wordpress site.</p>
<p>You may want to read my previous post on<a href="/simple-way-to-backup-clone-sync-online-wordpress-website-to-local-development-website-by-using-ssh/"> Simple way to backup your online wordpress website and clone or sync it to local development website by using SSH</a></p>
<p>Do you have better or easier solution? Please share it with rest of the world in comments.<br />
I hope you enjoyed. If  still you need my assistante , I&#8217;ll be <a href="/contact">happy to help you</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://hecode.com/how-to-create-a-full-wordpress-backup-and-restore-and-sync-them-with-localhost/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>How to increase php wordpress memory limit</title>
		<link>http://hecode.com/how-to-increase-php-wordpress-memory-limit/</link>
		<comments>http://hecode.com/how-to-increase-php-wordpress-memory-limit/#comments</comments>
		<pubDate>Sun, 04 Apr 2010 07:03:43 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://hecode.com/?p=213</guid>
		<description><![CDATA[Is your wordpress two slow?  did you get an error that display not enough memory to run current script?did you get error like this one? Fatal error: Allowed memory size of 8388608 bytes exhausted. or PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 6233929 bytes) in /home/&#8230;/press/wp-includes/cache.php on line 330 [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://hecode.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushPhp.js"></script>
<p>Is your wordpress two slow?  did you get an error that display not enough memory to run current script?did you get error like this one?<br />
<code><br />
<strong>Fatal error: Allowed memory size of 8388608 bytes exhausted.</strong></code></p>
<p>or PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 6233929 bytes) in /home/&#8230;/press/wp-includes/cache.php on line 330</p>
<p>or Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 368640 bytes) in /wordpress/wp-includes/class-simplepie.php on line 9575</p>
<p>Then you are lucky to be here! Here are four solution to increase your WordPress memory<br />
<span id="more-213"></span></p>
<ol>
<li> If you have access to your PHP.ini file, change the line in  PHP.iniIf your line shows 32M try 64M or even 128M:<code><br />
memory_limit = 64M ; Maximum amount of memory a script may consume  (64MB)</code></li>
<li> If you don&#8217;t have access to PHP.ini try adding this to an  .htaccess file:<br />
<code><br />
php_value memory_limit 64M</code></li>
<li> Try adding this line to your wp-config.php file:Increasing memory allocated to PHP<br />
<code>define('WP_MEMORY_LIMIT', '64M');</code></li>
<li> Talk to your host!</li>
</ol>
<p>Update:<strong> Monitor real WordPress memory usage:</strong></p>
<p>do you know how much memory your WordPress needed? how much is your pick WordPress memory usage?<br />
If all need memory for your wordpress is 10M. Why you should be worry to set it to 64M? Thats true I found My pick memory usage was just 8M! That is why wordpress default memory usage is only 32M which is more than enough.</p>
<p>Here are two plugin that let you to monitor and know your WordPress current and pick memory usage.<br />
try them before changing your WordPress memory usage to higher value.</p>
<ul>
<li><a href="http://wordpress.org/extend/plugins/wp-memory-usage/">http://wordpress.org/extend/plugins/wp-memory-usage/</a><br />
Simple and light. Show up the PHP version, memory limit and current memory usage in the  dashboard and admin footer. You can now simple measure the requirements  of your plugins and language files<br />
<img class="aligncenter" title="wp-memory-usage-screenshot-1" src="http://s.wordpress.org/extend/plugins/wp-memory-usage/screenshot-1.jpg" alt="" width="400" height="182" /></li>
<li><a href="http://wordpress.org/extend/plugins/tpc-memory-usage/" target="_blank">http://wordpress.org/extend/plugins/tpc-memory-usage/</a><br />
More advanced with more report. view the current and peak memory usage of the application. This is  extremely helpful when testing new plugins, or if there are a lot of  modifications, plugins, or large language files. As of version 0.4,  administrators now have the ability to view detailed system information  about their web server, MySQL, PHP, and WordPress software. (Requires  PHP5)</li>
<li> <img class="aligncenter" title="tpc-memory-usage-screenshot-1" src="http://s.wordpress.org/extend/plugins/tpc-memory-usage/screenshot-1.png?r=225157" alt="" width="396" height="308" /></li>
</ul>
<p>After Using above plugin I noticed my PHP memory is set to 128M and my max  WordPress memory is set to 32M <a href="http://hecode.com/wp-content/uploads/2010/03/hecode_memeory_usage_2010-apr-4.png"><img class="aligncenter size-full wp-image-342" title="hecode_memeory_usage_2010-apr-4" src="http://hecode.com/wp-content/uploads/2010/03/hecode_memeory_usage_2010-apr-4.png" alt="" width="522" height="430" /></a></p>
<p>Note: If you add  define(&#8216;WP_MEMORY_LIMIT&#8217;, &#8217;64M&#8217;); to the end of WP-config.php it do not work. You have to add it to at top of wp-config.php file (at root of your wordpress directory). here is the final result:</p>
<p><a href="http://hecode.com/wp-content/uploads/2010/03/wp-memory-limit-is-set-to-64M.png"></a><a href="http://hecode.com/wp-content/uploads/2010/03/wp-memory-limit-is-set-to-64M1.png"><img class="aligncenter size-full wp-image-344" title="wp-memory-limit-is-set-to-64M" src="http://hecode.com/wp-content/uploads/2010/03/wp-memory-limit-is-set-to-64M1.png" alt="" width="520" height="263" /></a></p>
<p>As you see in above screen-shot, My WordPress Memory  limit is set to 64M which is more than enough.</p>
<p>Here is how modified wp-config looks like:<a href="http://hecode.com/wp-content/uploads/2010/04/wp-config-wordpress-memory-limit.png"><img class="aligncenter size-full wp-image-351" title="wp-config-wordpress-memory-limit" src="http://hecode.com/wp-content/uploads/2010/04/wp-config-wordpress-memory-limit.png" alt="" width="440" height="93" /></a></p>
<p>If you are wonder what are rest of the extra gray lines , <a href="http://hecode.com/simple-ways-to-make-your-wordpress-faster/">continue reading simple ways to make youe wordpress faster</a></p>
<p>Try same yourself. In nutshell you need to do following steps:</p>
<ol>
<li>Check your current  memory by using above  plugins</li>
<li> set php.ini memory to higher if needed.</li>
<li>Set WordPress Memory to a value equal or less that php.ini memory</li>
<li>Check your change is working or not ( by using  above plugins)</li>
</ol>
<p>If still you had difficulty let me know to help you.</p>
]]></content:encoded>
			<wfw:commentRss>http://hecode.com/how-to-increase-php-wordpress-memory-limit/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Simple way to backup your online wordpress website and clone or sync it to local development website by using SSH</title>
		<link>http://hecode.com/simple-way-to-backup-clone-sync-online-wordpress-website-to-local-development-website-by-using-ssh/</link>
		<comments>http://hecode.com/simple-way-to-backup-clone-sync-online-wordpress-website-to-local-development-website-by-using-ssh/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 14:01:45 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Wordpress Tips]]></category>

		<guid isPermaLink="false">http://hecode.com/?p=326</guid>
		<description><![CDATA[I am sharing my simple SSH script to backup my online server. First it remove my last backup. I do not want to keep more than last backup in my server. It zip all file of my website ( except excluded directories )  into  mydomainbackup.zip at backup_path It zip a dump of mysql into mysqldump.zip [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://hecode.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushPhp.js"></script>
<p>I am sharing my simple SSH script to backup my online server.</p>
<ul>
<li>First it remove my last backup. I do not want to keep more than last backup in my server.</li>
<li>It zip all file of my website ( except excluded directories )  into  mydomainbackup.zip at backup_path</li>
<li>It zip a dump of mysql into mysqldump.zip at backup path</li>
</ul>
<p>Now I have full backup of all files and database in my server.  Then I copy it into my local computer. If  needed I clone or sync  it in my local development website. Here is the SSH script:<span id="more-326"></span><br />
<code><br />
clear<br />
# delete old backup<br />
rm -rf /backup_path/</code></p>
<p># create new dir<br />
mkdir  /backup_path/<br />
zip -r -q -9  &#8220;/backup_path/mydomainbackup.zip&#8221; &#8221; /path_to_my_domain/&#8221;  -x */dl/* -x */stats/* -x */logs/*  -x */fg/*  -x */*.kde/*</p>
<p># backup mysql<br />
mysqldump -u username -p password databasename -c |zip -9 -q &gt; /backup_path/mysqldump.zip</p>
<p>clear<br />
# finished</p>
<p>The way I use is, copy pasting above code into SSH terminal! Above script can be much better. but currently It do the task I needed.</p>
<p>I do backup end of each month. durring month I transfer modified files from local website to online website.This way may online website and local development website will be sync together.  More details  about my working environment coming soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://hecode.com/simple-way-to-backup-clone-sync-online-wordpress-website-to-local-development-website-by-using-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>7  simple ways to make your wordpress faster</title>
		<link>http://hecode.com/simple-ways-to-make-your-wordpress-faster/</link>
		<comments>http://hecode.com/simple-ways-to-make-your-wordpress-faster/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 13:31:51 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Wordpress Tips]]></category>

		<guid isPermaLink="false">http://hecode.com/?p=313</guid>
		<description><![CDATA[Do you feel your WordPress is slow? What happen if  your WordPress  get more than 10,000 visitors a day?  Some hosting providers ban your site for using too many resources. Upgrading hardware such as memory and CPU is good but it is not necessary to purchase expensive hosting plans, when you can improve you WordPress [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://hecode.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushPhp.js"></script>
<p>Do you feel your WordPress is slow? What happen if  your WordPress  get more than 10,000 visitors a day?  Some hosting providers ban your site for using too many resources. Upgrading hardware such as memory and CPU is good but it is not necessary to purchase expensive hosting plans, when you can improve you WordPress performance with simple ways.  learn how to make your WordPress faster by applying simple tips.<br />
<span id="more-313"></span></p>
<ol>
<li><strong>Modify post AutoSave Interval</strong> ( add this to wp-config.php)<br />
define(&#8216;AUTOSAVE_INTERVAL&#8217;, 160 );  // seconds</li>
<li><strong>Disable Post Revisions or Specify the Number of Post Revisions</strong>( add this to wp-config.php)<br />
Example: define(&#8216;WP_POST_REVISIONS&#8217;, false );<br />
Example: define(&#8216;WP_POST_REVISIONS&#8217;, 3);</li>
<li><strong>Faster administration area  by disabling Javascript Concatenation</strong>( add this to wp-config.php)<br />
define(&#8216;CONCATENATE_SCRIPTS&#8217;, false);</li>
<li> <strong>Increasing memory allocated to PHP</strong> ( add this to wp-config.php <a title="How to increase php wordpress memory limit" href="http://hecode.com/how-to-increase-php-wordpress-memory-limit/">read more way here</a>)<br />
Example:  define(&#8216;WP_MEMORY_LIMIT&#8217;, &#8217;96M&#8217;);</li>
<li> <strong>Empty Trash</strong> ( add this to wp-config.php wp29+ You will love this) the number of days before WordPress permanently deletes posts, pages,  attachments, and comments, from the trash bin.<br />
define(&#8216;EMPTY_TRASH_DAYS&#8217;, 0 );  // zero days<br />
define(&#8216;EMPTY_TRASH_DAYS&#8217;, 5 );  // 5 days</li>
<li> <strong>Automatic Database Optimizing</strong> (wp2.9  add this to wp-config.php)<br />
define(&#8216;WP_ALLOW_REPAIR&#8217;, true);</li>
<li> <strong>Enable  the WordPress Object Cache</strong> ( add this to wp-config.php)<br />
define(ENABLE_CACHE,  true);</li>
<li><strong>Disable unnecessary WordPress plugins </strong><br />
This really works. problem is not from your slow server or WordPress fault!.  Most plugin need DNS query to get some info from external sites. DNS respond are normally slow. and so many DNS requests at same time  from different unwanted plugin really makes your wordpress seem very slow!</li>
</ol>
<p><strong>Advanced ways to make your WordPress faster is coming soon</strong>. <a href="http://hecode.com/register/">be a member today and read it first</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://hecode.com/simple-ways-to-make-your-wordpress-faster/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Why I Can not login via wp-admin but same time I can login from WP-login.php?</title>
		<link>http://hecode.com/why-i-can-not-login-via-wp-admin-but-same-time-i-can-by-wp-login-php/</link>
		<comments>http://hecode.com/why-i-can-not-login-via-wp-admin-but-same-time-i-can-by-wp-login-php/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 23:52:58 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[WishList Member Tips]]></category>
		<category><![CDATA[Wordpress Tips]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[wlm]]></category>

		<guid isPermaLink="false">http://hecode.com/?p=299</guid>
		<description><![CDATA[I know how it feel, like no one know the solution. You like to pay everything you have, to find out why you can not login into your wordpress from wp-admin. And if you do it will redirect to same page without showing any message. but same time you can login into your wordpress from [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://hecode.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushPhp.js"></script>
<p>I know how it feel, like no one know the solution. You like to pay everything you have, to find out why you can not login into your wordpress from wp-admin. And if you do it will redirect to same page without showing any message. but same time you can login into your wordpress from wp-login.php.  Sometime clearing the browser’s cookies might let us login again but to be honest  it’s a pain, and clearing your cookies isn’t a permanent fix and do not work everyone.</p>
<p>Answer is easy when you know the following two solutions.<span id="more-299"></span></p>
<p><strong>Solution1:  At   WordPress admin&#8211;&gt; Settings&#8211;&gt; General Settings:</strong></p>
<p>&#8220;WordPress address (URL)&#8221;  should be same as &#8220;Blog address (URL)&#8221;  You will love this simple tip if you are using <a title="get latest WLM here" href="http://member.wishlistproducts.com/wlp.php?af=1060219" target="_blank">Wishlist member wordpress plugin</a>. because no one know this except you and me!</p>
<p><strong>Solution2:  Fixing  issue with cookies.</strong></p>
<p>problem is that occasionally on our various WordPress sites the <strong>wp-admin.php </strong>URL login stops working and we can only login through <strong>wp-login.php</strong>.</p>
<p>What we need to do is to force WordPress to follow the correct cookie  path. This can be done by adding a small line of code to the  wp-config.php file located in your WordPress installation root  directory.</p>
<p>Open up wp-config.php in your web editor and add this:<br />
<code><br />
/** wp-admin login fix */<br />
@define('ADMIN_COOKIE_PATH', '/');<br />
</code></p>
<p>If you’re unsure, it can go just before the ?&gt; at the end of the  php code like so:</p>
<p><code>/** Sets up WordPress vars and included files. */<br />
require_once(ABSPATH . 'wp-settings.php');<br />
/** wp-admin login fix */<br />
@define('ADMIN_COOKIE_PATH', '/');<br />
?&gt;</code></p>
<p>Update:  Some reported WP Security Scan case this issue. Please test and confirm in comments if you are using WP Security Scan wordpress plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://hecode.com/why-i-can-not-login-via-wp-admin-but-same-time-i-can-by-wp-login-php/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Create PayPal Donation Button</title>
		<link>http://hecode.com/create-paypal-donation-button/</link>
		<comments>http://hecode.com/create-paypal-donation-button/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 02:37:04 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Freelance]]></category>
		<category><![CDATA[Wordpress Tips]]></category>

		<guid isPermaLink="false">http://hecode.com/?p=104</guid>
		<description><![CDATA[The step-by-step instruction to create a PayPal donation button and start accepting online donation. A friend asked me how to create a PayPal donation button to collect donation. I have helped him the steps and I think it is good to share with you, too. log-in into your PayPal account Click on Merchant Service tab [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://hecode.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushPhp.js"></script>
<p><strong><em>The step-by-step instruction to create a PayPal donation button and start accepting online donation.</em></strong></p>
<p>A friend asked me how to create a PayPal donation button to collect donation. I have helped him the steps and I think it is good to share with you, too.<span id="more-104"></span></p>
<ol>
<li> <strong>log-in </strong>into your PayPal account</li>
<li>Click on <strong>Merchant Service </strong>tab . then click on <strong>Website Payment Standard</strong> link on left. And then click on <strong>See more feature</strong> at the end of the page. Or simply go directly to this page by<a href="https://www.paypal.com/my/cgi-bin/webscr?cmd=_wp-standard-feature-list" target="_blank"> clicking here</a></li>
<li>You will see different Payment buttons for your website.  Under <a href="https://www.paypal.com/my/cgi-bin/webscr?cmd=_button-designer&amp;factory_type=donate" target="_blank">Donate, Click on create button link</a></li>
<li>Choose <strong>button type</strong> ( here Donation in fine with us).</li>
<li>Give <strong>Organization name/service</strong> such as your website name.( mine is hecode.com). There are several other optional selection. dont worry, simply ignore them.</li>
<li>click on <strong>create Button</strong>. And then <strong>copy past the code</strong> to your website.</li>
</ol>
<p>I should add for advanced user, before step 6, you may customize advanced features  ( optional)</p>
<p>for example:</p>
<ul>
<li>Do you need your customer shipping address? (yes, no)  I selected No!.</li>
<li>Take customer to a specific page (URL) after checkout cancellation. you may fill a URL of your site to display or process something if customer desided to do not donate you. ( Example http://www.hecode.com/donate-canceled)</li>
<li>Take customer to a specific page (URL) after successful checkout,  same as above but redirect to let say thank you page after successful donate:) (Example:  http://www.hecode.com/donate-was-successful</li>
</ul>
<p>Please notice: after you created your Donate button, PayPal gives you two code to use.</p>
<ol>
<li>First code is for your website.  you should copy past it to your website which let your website users donate you by using PayPal or credit card directly from your website.</li>
<li>Second code is for your email. (<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=7210535" target="_blank"> like this, donate here.</a> )</li>
</ol>
<p>I hope this post was useful for you. And helps you to accept so many donate soon.  here you will see my donate button.  This is real donate button!. I created by doing above steps. Feel free to test it and donate me now. I appreciate you donation and thank you so much.</p>
<input name="hosted_button_id" type="hidden" value="7210535" />
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" type="image" /></form>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">Add your own PayPal button today. good luck.</form>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> </form>
]]></content:encoded>
			<wfw:commentRss>http://hecode.com/create-paypal-donation-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress More! WordPress Next?</title>
		<link>http://hecode.com/wordpress-more-wordpress-next/</link>
		<comments>http://hecode.com/wordpress-more-wordpress-next/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 05:10:26 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Wordpress Tips]]></category>

		<guid isPermaLink="false">http://hecode.com/?p=77</guid>
		<description><![CDATA[WordPress have some unique feature that let you to split your post to two or more part. It come very handy and powerful when you going to write your post. While it is very basic but most WordPress newbie luckily to don&#8217;t know that! let share another magic of WordPress with you.  On most WordPress [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://hecode.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushPhp.js"></script>
<p>WordPress have some unique feature that let you to split your post to two or more part. It come very handy and powerful when you going to write your post. While it is very basic but most WordPress newbie luckily to don&#8217;t know that!</p>
<p>let share another magic of WordPress with you.  On most WordPress websites you may notice  a short description about a post and then a link to whole the post article. This is what I am talking about.  You can do it too. Just spilit your post with <strong>&lt;!&#8211;more&#8211;&gt;</strong> Keyword. Texts before <strong>&lt;!&#8211;more&#8211;&gt;</strong> become the short description of your post.  The &lt;!&#8211;more&#8211;&gt; keyword will be replaced by a link that say &#8220;Read the rest of this entry &gt;&gt;&#8221; by clicking here!.</p>
<p>but wait!  you can go farther by using <strong>&lt;!&#8211;nextpage&#8211;&gt;</strong> Keyword.</p>
<p><span id="more-77"></span></p>
<p>It allow to split a very long post to more than one page. let say you going to explain how to fried a egg in 5 steps! at the end of each step add <strong>&lt;!-nextpage-&gt;</strong> keyword.</p>
<p>You may add &lt;p&gt; Next page&lt;/p&gt; before &lt;!&#8211;nextpage&#8211;&gt; Then it will look like this:</p>
<p>Next page:</p>
<p>1|2|3|4  ( numbers will be link to steps)</p>
<p>Good luck!</p>
<p><a href="http://codex.wordpress.org/Styling_Page-Links">learn more about styling page and pagination tag here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hecode.com/wordpress-more-wordpress-next/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can&#8217;t add themes,wp plugins or install update</title>
		<link>http://hecode.com/cant-add-themeswp-plugins-or-install-update/</link>
		<comments>http://hecode.com/cant-add-themeswp-plugins-or-install-update/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 05:34:23 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Wordpress Tips]]></category>

		<guid isPermaLink="false">http://hecode.com/?p=37</guid>
		<description><![CDATA[You may get this error if you try to install new theme or wordpress plugins, or installing update directly from wordpress admin area Warning: ftp_mkdir() [function.ftp-mkdir]: /public_html/wp-content/plugins/contact-form-7/: Permission denied in /home/hecode/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php on line 240 Could not create directory. /public_html/wp-content/plugins/contact-form-7/ Plugin Install Failed. Read the Solution   Just give chmod 777 to the plugin directory. And now you [...]]]></description>
			<content:encoded><![CDATA[            <script type="text/javascript" src="http://hecode.com/wp-content/plugins/wordpress-code-snippet/scripts/shBrushPhp.js"></script>
<p>You may get this error if you try to install new theme or wordpress plugins, or installing update directly from wordpress admin area<br />
<code><br />
<strong>Warning</strong>:  ftp_mkdir() [<a href="function.ftp-mkdir">function.ftp-mkdir</a>]: /public_html/wp-content/plugins/contact-form-7/: Permission denied in <strong>/home/hecode/public_html/wp-admin/includes/class-wp-filesystem-ftpext.php</strong> on line <strong>240</strong></code></p>
<p><code> </code></p>
<p><code>Could not create directory. /public_html/wp-content/plugins/contact-form-7/<br />
</code><br />
Plugin Install Failed. Read the Solution  <span id="more-37"></span></p>
<p><img class="alignnone size-full wp-image-38" title="problem_with installing_wordpress_plugins" src="http://hecode.com/wp-content/uploads/2009/07/problem_with-installing_wordpress_plugins.jpg" alt="problem_with installing_wordpress_plugins" width="607" height="352" /></p>
<p>Just give chmod 777 to the plugin directory.</p>
<p><img class="alignnone size-full wp-image-39" title="plugin777" src="http://hecode.com/wp-content/uploads/2009/07/plugin777.jpg" alt="plugin777" width="386" height="409" /></p>
<p>And now you are to go!</p>
<p>Try to install  new plugins or theme or wordpress upgrade. you are the winner:)</p>
<p><img class="alignnone size-full wp-image-40" title="wordpress_plugins_installed" src="http://hecode.com/wp-content/uploads/2009/07/wordpress_plugins_installed.jpg" alt="wordpress_plugins_installed" width="605" height="235" /></p>
<p><strong>Update: </strong>Yesterday I tried to update my WordPress to latest version by using auto unpdate buttom. While I could install new plugins from admin area, but I couldnt update my wordpress! Then I tried below command from SSH<br />
<code><br />
chmod 755 -R public_html<br />
</code><br />
and everything become fine. and now I have latest WordPress just by one click!</p>
<p>Still have problem? No problem!, I&#8217;m here to help you.Please let me know how I can help you.</p>
]]></content:encoded>
			<wfw:commentRss>http://hecode.com/cant-add-themeswp-plugins-or-install-update/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

