<?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>Tomislav Mihajlovic (Toma) &#124; SEO and Internet marketing Consultant &#187; Internet</title>
	<atom:link href="http://www.toma2u.com/category/internet/feed" rel="self" type="application/rss+xml" />
	<link>http://www.toma2u.com</link>
	<description>Tomislav Mihajlovic (Toma) - Search Engine Optimization, First page on Google, AdSense and AdWords consulting, Cheap Websites...</description>
	<lastBuildDate>Tue, 27 Jul 2010 12:12:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Top Eleven Football manager for Facebook</title>
		<link>http://www.toma2u.com/internet/326/top-eleven-football-manager-for-facebook</link>
		<comments>http://www.toma2u.com/internet/326/top-eleven-football-manager-for-facebook#comments</comments>
		<pubDate>Tue, 27 Jul 2010 12:12:35 +0000</pubDate>
		<dc:creator>toma</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Social games]]></category>
		<category><![CDATA[Social media]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Football manager]]></category>
		<category><![CDATA[Online football manager]]></category>
		<category><![CDATA[Social networks]]></category>
		<category><![CDATA[Top Eleven]]></category>

		<guid isPermaLink="false">http://www.toma2u.com/?p=326</guid>
		<description><![CDATA[Less then three months ago, Nordeus LLC, a new start-up company released their first game for Facebook called Top Eleven football manager. The game became instant hit in Serbia (company is from Serbia), spreading slowly to all Ex-Yugoslavian countries (Croatia, Montenegro, Bosnia, Macedonia and Slovenia). After little more then 2 months, Top Eleven has around [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.toma2u.com/wp-content/uploads/TopElevenGreen.jpg"><img class="alignleft size-thumbnail wp-image-336" style="margin-left: 3px; margin-right: 3px;" title="Top Eleven Football manager" src="http://www.toma2u.com/wp-content/uploads/TopElevenGreen-150x150.jpg" alt="Top Eleven Football manager" width="150" height="150" /></a>Less then three months ago, <a href="http://www.nordeus.eu">Nordeus LLC</a>, a new start-up company released their first game for Facebook called <a title="Top Eleven football manager" href="http://facebook.com/topelevengame">Top Eleven football manager</a>. The game became instant hit in Serbia (company is from Serbia), spreading slowly to all Ex-Yugoslavian countries (Croatia, Montenegro, Bosnia, Macedonia and Slovenia). After little more then 2 months, Top Eleven has around 80.000 monthly active users, and it is growing fast.</p>
<div id="_mcePaste" style="text-align: justify;">There are several games on Facebook whose gameplay is around football but none of them is rich enough in gameplay nor visually to attract and keep users who enjoy football management. The most popular title on Facebook, Premier Football, has around 1 milion active users. Others are far below.</div>
<div style="text-align: justify;">Here is the description from Wikipedia:</div>
<div style="text-align: justify;"><em>To start playing, user first needs to select his nationality, language, and create his club by naming it, choosing the colors of jerseys and designing the logo. After this, user will join one of the leagues with 14 teams playing already. The system is trying to group Facebook friends together, so they will be able to play the same league. One season lasts 28 days, and every day teams are playing one league match. The best teams (first four) are qualifying for Champions league, which will be played next season. First 7 teams from the league, are progressing to the next level, and from the next season they will play the league with teams from the same level. System is trying again to group friends together. Each user has complete control over his team, by training them, setting the tactics, changing the players, buying&amp;selling them on transfer market. Every match can be watched live, and user can react by changing the tactics and players. Each users controls the building of it&#8217;s club infrastructure (stadium, reflector, grass, medical, seats, training facilities, &#8230;) and they have influence during the game. For example, bigger stadium can take more fans, and more fans, mean bigger moral for players, and more money from selling tickets. Club finances are very important. Users are signing sponsorship agreements for every season, they can sell boards around the field, players on transfer market, selling the tickets for domestic games. In Top Eleven besides cash users need Tokens (Top Eleven virtual currency) which can be bought online or using mobile phone. Tokens can be used for speeding up building, for bidding on player auctions, changing club identity, &#8230; Every day each user gets 1 Token Gratis.</em></div>
<div style="text-align: justify;">The game is translated to 5 languages &#8211; English, Spanish, German, Italian and Serbian. New languages will available soon. And users can contribute by suggesting new and voting for submitted phrases.</div>
<div style="text-align: justify;">Check it out on:</div>
<div style="text-align: justify;"><a title="Top Eleven football manager App page" href="http;//www.facebook.com/topelevengame">facebook.com/topelevengame</a></div>
<div style="text-align: justify;">or game and company sites:</div>
<div style="text-align: justify;"><a title="Top Eleven Game site" href="http://www.topelevengame.com">topelevengame.com</a></div>
<div style="text-align: justify;"><a title="Nordeus LLC company site" href="http;//www.nordeus.eu">nordeus.eu</a></div>
<div style="text-align: center;"><em>
<a href='http://www.toma2u.com/internet/326/top-eleven-football-manager-for-facebook/attachment/customize-emblem' title='customize-emblem'><img width="150" height="150" src="http://www.toma2u.com/wp-content/uploads/customize-emblem-150x150.jpg" class="attachment-thumbnail" alt="internet, Top Eleven Football manager for Facebook, customize emblem 150x150 " title="customize-emblem" /></a>
<a href='http://www.toma2u.com/internet/326/top-eleven-football-manager-for-facebook/attachment/customize-jerseys' title='customize-jerseys'><img width="150" height="150" src="http://www.toma2u.com/wp-content/uploads/customize-jerseys-150x150.jpg" class="attachment-thumbnail" alt="internet, Top Eleven Football manager for Facebook, customize jerseys 150x150 " title="customize-jerseys" /></a>
<a href='http://www.toma2u.com/internet/326/top-eleven-football-manager-for-facebook/attachment/fixtures' title='fixtures'><img width="150" height="150" src="http://www.toma2u.com/wp-content/uploads/fixtures-150x150.jpg" class="attachment-thumbnail" alt="internet, Top Eleven Football manager for Facebook, fixtures 150x150 " title="fixtures" /></a>
<a href='http://www.toma2u.com/internet/326/top-eleven-football-manager-for-facebook/attachment/ground' title='ground'><img width="150" height="150" src="http://www.toma2u.com/wp-content/uploads/ground-150x150.jpg" class="attachment-thumbnail" alt="internet, Top Eleven Football manager for Facebook, ground 150x150 " title="ground" /></a>
<a href='http://www.toma2u.com/internet/326/top-eleven-football-manager-for-facebook/attachment/league' title='league'><img width="150" height="150" src="http://www.toma2u.com/wp-content/uploads/league-150x150.jpg" class="attachment-thumbnail" alt="internet, Top Eleven Football manager for Facebook, league 150x150 " title="league" /></a>
<a href='http://www.toma2u.com/internet/326/top-eleven-football-manager-for-facebook/attachment/player-compare' title='player-compare'><img width="150" height="150" src="http://www.toma2u.com/wp-content/uploads/player-compare-150x150.jpg" class="attachment-thumbnail" alt="internet, Top Eleven Football manager for Facebook, player compare 150x150 " title="player-compare" /></a>
<a href='http://www.toma2u.com/internet/326/top-eleven-football-manager-for-facebook/attachment/player-details' title='player-details'><img width="150" height="150" src="http://www.toma2u.com/wp-content/uploads/player-details-150x150.jpg" class="attachment-thumbnail" alt="internet, Top Eleven Football manager for Facebook, player details 150x150 " title="player-details" /></a>
<a href='http://www.toma2u.com/internet/326/top-eleven-football-manager-for-facebook/attachment/predefined-tactics' title='predefined-tactics'><img width="150" height="150" src="http://www.toma2u.com/wp-content/uploads/predefined-tactics-150x150.jpg" class="attachment-thumbnail" alt="internet, Top Eleven Football manager for Facebook, predefined tactics 150x150 " title="predefined-tactics" /></a>
<a href='http://www.toma2u.com/internet/326/top-eleven-football-manager-for-facebook/attachment/tactics' title='tactics'><img width="150" height="150" src="http://www.toma2u.com/wp-content/uploads/tactics-150x150.jpg" class="attachment-thumbnail" alt="internet, Top Eleven Football manager for Facebook, tactics 150x150 " title="tactics" /></a>
<a href='http://www.toma2u.com/internet/326/top-eleven-football-manager-for-facebook/attachment/topelevengreen' title='Top Eleven Football manager'><img width="150" height="150" src="http://www.toma2u.com/wp-content/uploads/TopElevenGreen-150x150.jpg" class="attachment-thumbnail" alt="Top Eleven Football manager" title="Top Eleven Football manager" /></a>
</p>
<p></em></p>
</div>
<div style="text-align: center;"><em><span style="font-style: normal;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/4svp--ytAVs" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/4svp--ytAVs"></embed></object></span></em></div>
<img src="http://www.toma2u.com/?ak_action=api_record_view&id=326&type=feed" alt="internet, Top Eleven Football manager for Facebook,  "  title="Top Eleven Football manager for Facebook" />

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.toma2u.com/internet/326/top-eleven-football-manager-for-facebook/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Superbowl Google Commercial &#8211; Parisian Love</title>
		<link>http://www.toma2u.com/advertising/276/superbowl-google-commercial-parisian-love</link>
		<comments>http://www.toma2u.com/advertising/276/superbowl-google-commercial-parisian-love#comments</comments>
		<pubDate>Sun, 14 Feb 2010 18:47:44 +0000</pubDate>
		<dc:creator>toma</dc:creator>
				<category><![CDATA[Advertising]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[superbowl]]></category>
		<category><![CDATA[tv ad]]></category>

		<guid isPermaLink="false">http://www.toma2u.com/?p=276</guid>
		<description><![CDATA[Google — a big advertising company that doesn’t advertise — debuted at the Super Bowl Sunday. Their ad tells the story of a romance helped along by a series of Google searches conducted by (one is left to imagine) a young man who finds love after a simple plan to study abroad in Paris turns [...]


Related posts:<ol><li><a href='http://www.toma2u.com/internet/72/serial-numbers-and-cd-keys-of-softwares-brought-to-you-by-google' rel='bookmark' title='Permanent Link: Serial Numbers and CD Keys of Softwares brought to you by Google'>Serial Numbers and CD Keys of Softwares brought to you by Google</a></li>
<li><a href='http://www.toma2u.com/advertising/255/tv-commercial-for-the-mail-battle-of-the-sexes' rel='bookmark' title='Permanent Link: TV commercial for The Mail: Battle of the sexes'>TV commercial for The Mail: Battle of the sexes</a></li>
<li><a href='http://www.toma2u.com/videos/43/eurovision-2009-moscow-sasha-s%ce%bfn-l%ce%bfve-lithuania' rel='bookmark' title='Permanent Link: Eurovision 2009 Moscow &#8211; Sasha Son &#8220;Love&#8221; (Lithuania)'>Eurovision 2009 Moscow &#8211; Sasha Son &#8220;Love&#8221; (Lithuania)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.youtube.com/watch?v=9voVoZcwbOY"><img src="http://img.youtube.com/vi/9voVoZcwbOY/default.jpg" width="130" height="97" border title="Superbowl Google Commercial   Parisian Love" alt="advertising, Superbowl Google Commercial   Parisian Love, default " /></a></p>
<p><em>Google — a big advertising company that doesn’t advertise — debuted at the Super Bowl Sunday. Their ad tells the story of a romance helped along by a series of Google searches conducted by (one is left to imagine) a young man who finds love after a simple plan to study abroad in Paris turns into love, marriage and a need to know how to assemble a crib.</em></p>
<p>I see myself through this commercial. My wife is from Moldova, so&#8230; I was Google-ing some things too!</p>
<img src="http://www.toma2u.com/?ak_action=api_record_view&id=276&type=feed" alt="advertising, Superbowl Google Commercial   Parisian Love,  "  title="Superbowl Google Commercial   Parisian Love" />

<p>Related posts:<ol><li><a href='http://www.toma2u.com/internet/72/serial-numbers-and-cd-keys-of-softwares-brought-to-you-by-google' rel='bookmark' title='Permanent Link: Serial Numbers and CD Keys of Softwares brought to you by Google'>Serial Numbers and CD Keys of Softwares brought to you by Google</a></li>
<li><a href='http://www.toma2u.com/advertising/255/tv-commercial-for-the-mail-battle-of-the-sexes' rel='bookmark' title='Permanent Link: TV commercial for The Mail: Battle of the sexes'>TV commercial for The Mail: Battle of the sexes</a></li>
<li><a href='http://www.toma2u.com/videos/43/eurovision-2009-moscow-sasha-s%ce%bfn-l%ce%bfve-lithuania' rel='bookmark' title='Permanent Link: Eurovision 2009 Moscow &#8211; Sasha Son &#8220;Love&#8221; (Lithuania)'>Eurovision 2009 Moscow &#8211; Sasha Son &#8220;Love&#8221; (Lithuania)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.toma2u.com/advertising/276/superbowl-google-commercial-parisian-love/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Terra TV: Parental Control striptease</title>
		<link>http://www.toma2u.com/advertising/261/terra-tv-parental-control-striptease</link>
		<comments>http://www.toma2u.com/advertising/261/terra-tv-parental-control-striptease#comments</comments>
		<pubDate>Sun, 14 Feb 2010 18:35:31 +0000</pubDate>
		<dc:creator>toma</dc:creator>
				<category><![CDATA[Advertising]]></category>
		<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://www.toma2u.com/?p=261</guid>
		<description><![CDATA[Terra TV is an Internet subsidiary of Telefónica de España (Spanish telecommunication company). On their site they have millions of videos regarding humor, music, animals, cars, sports, lifestyle, etc.. But they also have an adult compartment. And because some youngsters under 18 tend to ‘accidentally’ click on the adult part, Terra TV made this sexy [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p><a title="Terra TV" href="http://terra.tv/">Terra TV</a> is an Internet subsidiary of Telefónica de España (Spanish telecommunication company). On their site they have millions of videos regarding humor, music, animals, cars, sports, lifestyle, etc.. But they also have an adult compartment.<br />
And because some youngsters under 18 tend to ‘accidentally’ click on the adult part, Terra TV made this sexy yet annoying interactive video to warn them..</p>
<p>Click on the image to see the video</p>
<p style="text-align: center;"><img class="aligncenter" title="terra tv - parental control" src="http://www.creamylife.com/wp-content/uploads/2010/01/terratv.jpg" alt="terra tv - parental control" width="560" height="428" /></p>
<img src="http://www.toma2u.com/?ak_action=api_record_view&id=261&type=feed" alt="advertising, Terra TV: Parental Control striptease,  "  title="Terra TV: Parental Control striptease" />

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.toma2u.com/advertising/261/terra-tv-parental-control-striptease/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Seo importance, Joomla site with or without www, .htaccess 301 redirection</title>
		<link>http://www.toma2u.com/internet/joomla/243/seo-importance-joomla-site-with-or-without-www-htaccess-301-redirection</link>
		<comments>http://www.toma2u.com/internet/joomla/243/seo-importance-joomla-site-with-or-without-www-htaccess-301-redirection#comments</comments>
		<pubDate>Tue, 12 Jan 2010 20:14:56 +0000</pubDate>
		<dc:creator>toma</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[301 redirection]]></category>
		<category><![CDATA[htaccess redirection]]></category>
		<category><![CDATA[joomla 301 redirection]]></category>
		<category><![CDATA[joomla redirection friendly]]></category>
		<category><![CDATA[joomla seo redirection]]></category>

		<guid isPermaLink="false">http://www.toma2u.com/?p=243</guid>
		<description><![CDATA[Here is the litle peace of code that will improve your SEO. In order to reduce duplicant content you need to 301 redirected the non www version of the url as well as the /index.php version of the home page url to www version of your site. Paste this code in your .htaccess file then [...]


Related posts:<ol><li><a href='http://www.toma2u.com/internet/wordpress/146/optimizing-wp-super-cache' rel='bookmark' title='Permanent Link: Speeding up WP Super Cache by changing htaccess file'>Speeding up WP Super Cache by changing htaccess file</a></li>
<li><a href='http://www.toma2u.com/internet/joomla/95/speeding-up-joomla-site-making-it-load-faster' rel='bookmark' title='Permanent Link: Speeding up joomla site, making it load faster'>Speeding up joomla site, making it load faster</a></li>
<li><a href='http://www.toma2u.com/internet/joomla/24/how-to-add-description-to-joomla-marketplace' rel='bookmark' title='Permanent Link: How to add description to Joomla Marketplace?'>How to add description to Joomla Marketplace?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.creamylife.com/wp-content/uploads/2010/01/seo.jpg"><img class="alignleft" style="margin-left: 2px; margin-right: 2px;" title="seo" src="http://www.creamylife.com/wp-content/uploads/2010/01/seo-300x218.jpg" alt="joomla, Seo importance, Joomla site with or without www, .htaccess 301 redirection, seo 300x218 " width="201" height="146" /></a></p>
<p>Here is the litle peace of code that will improve your SEO.</p>
<p>In order to reduce duplicant content you need to 301 redirected the non www version of the url as well as the /index.php version of the home page url to www version of your site.</p>
<p>Paste this code in your .htaccess file then change<em> yoursite.com</em> to the name of your site and all the forms of your sites first page</p>
<ul>
<li>yoursite.com,</li>
<li>yoursite.com/index.php and</li>
<li>yoursite.com/index.php?option=com_frontpage&amp;Itemid=1</li>
</ul>
<p>will be redirected to <strong>www.yoursite.com</strong></p>
<pre class="brush: php;">

########## Begin - 301 Redirect
 Options +FollowSymLinks
 RewriteEngine on
 RewriteCond %{HTTP_HOST} ^yoursite\.com$ [NC]
 RewriteRule .* &lt;!-- m --&gt;http://www.yoursite.com/&lt;!-- m --&gt; [L,R=301]
 #
 RewriteEngine On
 RewriteBase /
 RewriteCond %{HTTP_HOST} !^www\.yoursite\.com$
 RewriteRule ^(.*)$ &lt;!-- m --&gt;http://www.yoursite.com/$1&lt;!-- m --&gt; [R=301,L]
 RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
 RewriteRule index\.php$ &lt;!-- m --&gt;http://www.yoursite.com/&lt;!-- m --&gt;%1 [R=301,L]
 #
 RewriteCond %{QUERY_STRING} ^option=com_frontpage&amp;Itemid=1$
 RewriteRule ^index\.php$ &lt;!-- m --&gt;http://www.yoursite.com/&lt;!-- m --&gt;? [R=301,L]
 ########## End - 301 Redirect
</pre>
<p>If you think this code was helpful, share it with your friends.</p>
<img src="http://www.toma2u.com/?ak_action=api_record_view&id=243&type=feed" alt="joomla, Seo importance, Joomla site with or without www, .htaccess 301 redirection,  "  title="Seo importance, Joomla site with or without www, .htaccess 301 redirection" />

<p>Related posts:<ol><li><a href='http://www.toma2u.com/internet/wordpress/146/optimizing-wp-super-cache' rel='bookmark' title='Permanent Link: Speeding up WP Super Cache by changing htaccess file'>Speeding up WP Super Cache by changing htaccess file</a></li>
<li><a href='http://www.toma2u.com/internet/joomla/95/speeding-up-joomla-site-making-it-load-faster' rel='bookmark' title='Permanent Link: Speeding up joomla site, making it load faster'>Speeding up joomla site, making it load faster</a></li>
<li><a href='http://www.toma2u.com/internet/joomla/24/how-to-add-description-to-joomla-marketplace' rel='bookmark' title='Permanent Link: How to add description to Joomla Marketplace?'>How to add description to Joomla Marketplace?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.toma2u.com/internet/joomla/243/seo-importance-joomla-site-with-or-without-www-htaccess-301-redirection/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP sendmail on Bluehost – setting “from” address</title>
		<link>http://www.toma2u.com/internet/229/php-sendmail-on-bluehost-setting-from-address</link>
		<comments>http://www.toma2u.com/internet/229/php-sendmail-on-bluehost-setting-from-address#comments</comments>
		<pubDate>Thu, 07 Jan 2010 14:10:48 +0000</pubDate>
		<dc:creator>toma</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[bluehost]]></category>
		<category><![CDATA[box]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[from]]></category>
		<category><![CDATA[from email]]></category>
		<category><![CDATA[from field]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[reply]]></category>
		<category><![CDATA[sendmail]]></category>
		<category><![CDATA[sendmail_from]]></category>
		<category><![CDATA[username]]></category>

		<guid isPermaLink="false">http://www.toma2u.com/internet/229/229</guid>
		<description><![CDATA[I am using PHP sendmail on my site, hosted on bluehost to send email messages thorugh contact forms, and confirmation messages also. After moving to Bluehost i noticed that From field in email messages looks like [username]@box[nn].bluehost.com, which i don&#8217;t like. I can spot not only the username, but also the return address pointing to [...]


Related posts:<ol><li><a href='http://www.toma2u.com/internet/google-analytics/65/how-to-schedule-email-delivery-of-your-google-analytics-traffic-report' rel='bookmark' title='Permanent Link: [How-To] Schedule Email Delivery of your Google Analytics Traffic Report'>[How-To] Schedule Email Delivery of your Google Analytics Traffic Report</a></li>
<li><a href='http://www.toma2u.com/uncategorized/196/ms-office-creating-email-signature-with-photo-or-logo-in-ms-outlook-2007' rel='bookmark' title='Permanent Link: [MS Office] Creating email signature with photo or logo in MS Outlook 2007'>[MS Office] Creating email signature with photo or logo in MS Outlook 2007</a></li>
<li><a href='http://www.toma2u.com/internet/110/send-free-sms-online-with-chawt' rel='bookmark' title='Permanent Link: Send Free SMS Online With Chawt'>Send Free SMS Online With Chawt</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.toma2u.com/wp-content/uploads/logo_BlueHost.gif.jpg"><img class="alignleft size-full wp-image-228" style="margin-left: 3px; margin-right: 3px;" title="Bluehost php mail send" src="http://www.toma2u.com/wp-content/uploads/logo_BlueHost.gif.jpg" alt="Bluehost - php mail send" width="200" height="166" /></a>I am using <strong>PHP sendmail</strong> on my site, hosted on bluehost to send email messages thorugh contact forms, and confirmation messages also. After moving to <strong>Bluehost</strong> i noticed that From field in email messages looks like <strong>[username]@box[nn].bluehost.com,</strong> which i don&#8217;t like<strong>.</strong></p>
<p>I can spot not only the username, but also the return address pointing to the default mail id&#8230; ie. username@boxxx.bluehost.com, and more smtp details, like</p>
<p><em>Received: from unknown (HELO boxxx.bluehost.com) (70.103.189.xx)<br />
by mailproxy1.bluehost.com with SMTP; 06 Jan 2010 14:49:44 -0000<br />
Received: from localhost ([127.0.0.1])<br />
by boxxx.bluehost.com with esmtp (Exim 4.52)<br />
id 1FDNDT-0002Cq-Nf<br />
for</em><em> xxxxxxx@hotmail.com; Wed, 06 Jan 2010 07:49:43 -0700</em></p>
<p>I wanted to show my own email instead of  <strong>[username]@box[nn].bluehost.com</strong>, so after some research i discovered that PHP consults the server for that data, and it can be changed in your <strong>PHP.ini file</strong>.</p>
<p>To do this:</p>
<ol>
<li>Open your PHP.ini file (from public_html/ directory)</li>
<li>Search for<strong> ;sendmail_from =</strong></li>
<li>Change the value to desired email (in my case it was <span style="text-decoration: underline;"><em>me@localhost.com</em></span>, and i changed it to <span style="text-decoration: underline;"><em>adresar-noreply@smestaj.info</em></span>)</li>
<li>Now all the emails send using PHP send mail on your Bluehost site should have &#8216;From&#8217; field the same like you set in your PHP .ini file.</li>
</ol>
<p>I hope this works for you.</p>
<img src="http://www.toma2u.com/?ak_action=api_record_view&id=229&type=feed" alt="internet, PHP sendmail on Bluehost – setting “from” address,  "  title="PHP sendmail on Bluehost – setting “from” address" />

<p>Related posts:<ol><li><a href='http://www.toma2u.com/internet/google-analytics/65/how-to-schedule-email-delivery-of-your-google-analytics-traffic-report' rel='bookmark' title='Permanent Link: [How-To] Schedule Email Delivery of your Google Analytics Traffic Report'>[How-To] Schedule Email Delivery of your Google Analytics Traffic Report</a></li>
<li><a href='http://www.toma2u.com/uncategorized/196/ms-office-creating-email-signature-with-photo-or-logo-in-ms-outlook-2007' rel='bookmark' title='Permanent Link: [MS Office] Creating email signature with photo or logo in MS Outlook 2007'>[MS Office] Creating email signature with photo or logo in MS Outlook 2007</a></li>
<li><a href='http://www.toma2u.com/internet/110/send-free-sms-online-with-chawt' rel='bookmark' title='Permanent Link: Send Free SMS Online With Chawt'>Send Free SMS Online With Chawt</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.toma2u.com/internet/229/php-sendmail-on-bluehost-setting-from-address/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[How to] Add message counter to Mosets Tree</title>
		<link>http://www.toma2u.com/internet/joomla/211/how-to-add-message-counter-to-mosets-tree</link>
		<comments>http://www.toma2u.com/internet/joomla/211/how-to-add-message-counter-to-mosets-tree#comments</comments>
		<pubDate>Sat, 12 Dec 2009 15:14:30 +0000</pubDate>
		<dc:creator>toma</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[mosets tree]]></category>
		<category><![CDATA[mtree]]></category>

		<guid isPermaLink="false">http://www.toma2u.com/?p=211</guid>
		<description><![CDATA[Hi, in this post i will show you how to start counting messages sent through contact forms in your Mosets Tree Joomla directory. This little feature can help you and your customers to track number of messages of every listing on the site. 1. Make custom field Go to Mosets Tree Component, then to Custom [...]


Related posts:<ol><li><a href='http://www.toma2u.com/internet/joomla/140/improve-mosets-tree-20-seo-by-editing-listing-title-and-description' rel='bookmark' title='Permanent Link: Improve Mosets Tree 2.0 SEO by editing listing title and description'>Improve Mosets Tree 2.0 SEO by editing listing title and description</a></li>
<li><a href='http://www.toma2u.com/uncategorized/196/ms-office-creating-email-signature-with-photo-or-logo-in-ms-outlook-2007' rel='bookmark' title='Permanent Link: [MS Office] Creating email signature with photo or logo in MS Outlook 2007'>[MS Office] Creating email signature with photo or logo in MS Outlook 2007</a></li>
<li><a href='http://www.toma2u.com/internet/joomla/24/how-to-add-description-to-joomla-marketplace' rel='bookmark' title='Permanent Link: How to add description to Joomla Marketplace?'>How to add description to Joomla Marketplace?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Hi, in this post i will show you how to start counting messages sent through contact forms in your Mosets Tree Joomla directory.</p>
<p>This little feature can help you and your customers to track number of messages of every listing on the site.</p>
<p><strong>1. Make custom field</strong></p>
<p>Go to Mosets Tree Component, then to Custom Fields (On the left)</p>
<p><img class="aligncenter size-full wp-image-212" title="mosets-tree-custom-fields" src="http://www.toma2u.com/wp-content/uploads/mosets-tree-custom-fields.png" alt="joomla, [How to] Add message counter to Mosets Tree, mosets tree custom fields " width="230" height="204" /><strong>2. Create new Custom Field</strong></p>
<p>For Field type choose &#8220;Number&#8221;</p>
<p>For showing options of the field at the bottom Choose Yes for Published and Hidden, and for everything else choose no. This way your field will be visible only in the backend.</p>
<p>Now Save the Custom Field, and find what is it&#8217;s &#8220;id number&#8221;. You can see this when you hover custom field name and look at the status bar. This is the number at the end of the address &#8220;&#8230;&amp;cfid=64&#8243;. Here it is &#8221; 64&#8243;.</p>
<p>3. <strong>Set the value to Zero</strong></p>
<p>Now you must set value of this field to &#8220;0(zero)&#8221;  for all your listings.</p>
<p>To do this you need to log in to your cPanel, and go to phpMySql. Now run following query</p>
<pre class="brush: sql;"> DELETE FROM `jos_mt_cfvalues` WHERE cf_id = 64;

INSERT INTO jos_mt_cfvalues (`cf_id`, `link_id`, `value`) SELECT '64', link_id, '0' FROM jos_mt_links;
</pre>
<p>where you should change &#8220;64&#8243; with the id of your Custom field ID number.</p>
<p><strong>4. Start counting messages</strong></p>
<p>Now when you have custom field it is time to start counting all your messages.</p>
<p>To do this you will need to add extra piece of code to send_contact() function in your <strong>mtree.php</strong> file in your /public_html/components/com_mtree folder. Function is located somewhere around line 2855.</p>
<p>So, if you found it scroll down until the end of the function wher you should see</p>
<pre class="brush: php;">  mosRedirect( &quot;index.php?option=$option&amp;task=viewlink&amp;link_id=$link_id&amp;Itemid=$Itemid&quot;, $_MT_LANG-&gt;CONTACT_EMAIL_HAVE_BEEN_SENT);</pre>
<p>Right before this line you should paste:</p>
<pre class="brush: php;"> $sql = &quot;UPDATE jos_mt_cfvalues SET value = value +1 WHERE link_id ='$link_id'AND cf_id =64&quot;;
mysql_query($sql);</pre>
<p>where you should change &#8220;64&#8243; with id number of your custom field that will store number of messages.</p>
<p>That&#8217;s it.</p>
<p>Now you will be able to see number of messages sent to the owner of each listing by going to that listing in back end.</p>
<p>By changing the visibility options of your customfield you can display it in front (summary, details,&#8230;)</p>
<p>Enjoy</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 489px; width: 1px; height: 1px;">
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 66px; text-align: left;" dir="ltr">DELETE FROM `jos_mt_cfvalues` WHERE cf_id = 64;

INSERT INTO jos_mt_cfvalues (`cf_id`, `link_id`, `value`) SELECT '64', link_id, '0' FROM jos_mt_links;</pre>
</div>
<img src="http://www.toma2u.com/?ak_action=api_record_view&id=211&type=feed" alt="joomla, [How to] Add message counter to Mosets Tree,  "  title="[How to] Add message counter to Mosets Tree" />

<p>Related posts:<ol><li><a href='http://www.toma2u.com/internet/joomla/140/improve-mosets-tree-20-seo-by-editing-listing-title-and-description' rel='bookmark' title='Permanent Link: Improve Mosets Tree 2.0 SEO by editing listing title and description'>Improve Mosets Tree 2.0 SEO by editing listing title and description</a></li>
<li><a href='http://www.toma2u.com/uncategorized/196/ms-office-creating-email-signature-with-photo-or-logo-in-ms-outlook-2007' rel='bookmark' title='Permanent Link: [MS Office] Creating email signature with photo or logo in MS Outlook 2007'>[MS Office] Creating email signature with photo or logo in MS Outlook 2007</a></li>
<li><a href='http://www.toma2u.com/internet/joomla/24/how-to-add-description-to-joomla-marketplace' rel='bookmark' title='Permanent Link: How to add description to Joomla Marketplace?'>How to add description to Joomla Marketplace?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.toma2u.com/internet/joomla/211/how-to-add-message-counter-to-mosets-tree/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[How to] Display new or category products on the Magento home page</title>
		<link>http://www.toma2u.com/internet/magento/207/how-to-display-new-or-category-products-on-the-magento-home-page</link>
		<comments>http://www.toma2u.com/internet/magento/207/how-to-display-new-or-category-products-on-the-magento-home-page#comments</comments>
		<pubDate>Tue, 01 Dec 2009 15:08:14 +0000</pubDate>
		<dc:creator>toma</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[magento category products]]></category>
		<category><![CDATA[magento home page]]></category>

		<guid isPermaLink="false">http://www.toma2u.com/?p=207</guid>
		<description><![CDATA[I am new in using Magento, and since now i see this is the great system with some things that are for me as Joomla and WordPress user really strange. I am still exploring but the main problem was adding and removing System blocks in side bars. To do this you need to change some [...]


Related posts:<ol><li><a href='http://www.toma2u.com/internet/wordpress/98/top-40-most-wanted-wordpress-tips-and-tricks' rel='bookmark' title='Permanent Link: Top 40+ most wanted wordpress tips and tricks'>Top 40+ most wanted wordpress tips and tricks</a></li>
<li><a href='http://www.toma2u.com/internet/joomla/24/how-to-add-description-to-joomla-marketplace' rel='bookmark' title='Permanent Link: How to add description to Joomla Marketplace?'>How to add description to Joomla Marketplace?</a></li>
<li><a href='http://www.toma2u.com/seo/59/top-10-seo-tips-optimize-your-pages' rel='bookmark' title='Permanent Link: Top 10 SEO tips &#8211; Optimize your pages'>Top 10 SEO tips &#8211; Optimize your pages</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I am new in using Magento, and since now i see this is the great system with some things that are for me as Joomla and WordPress user really strange.</p>
<p>I am still exploring but the main problem was adding and removing System blocks in side bars. To do this you need to change some code which is not ideal solution and I hope that this will be resolved in future realeses.</p>
<p>Next thing that was bothering me was my empty home page. I could add some text and pictures, but it still looked bad. So I started to look for a solution of <strong>putting the list of products on the home page</strong>.</p>
<p>I found out that it is possible to put</p>
<ol>
<li>Products from specific category and</li>
<li>New products on the home page</li>
</ol>
<p><strong>To show products from specific category on your magento home page you would need to:</strong></p>
<ol>
<li>Create a new product, with all required fields filled, and published in some category</li>
<li>Product published on specific website (you will see what i mean in the video)</li>
<li>Find out the category id</li>
<li><img class="aligncenter size-large wp-image-208" title="magento-category" src="http://www.toma2u.com/wp-content/uploads/magento-category-500x368.jpg" alt="magento, [How to] Display new or category products on the Magento home page, magento category 500x368 " width="500" height="368" />Paste the code in the content area of your home page by going to <em>CMS&gt;Manage Pages&gt;Home page</em><br />
<span style="color: #0000bb;">{{block type</span><span style="color: #007700;">=</span><span style="color: #dd0000;">&#8220;catalog/product_list&#8221; </span><span style="color: #0000bb;">category_id</span><span style="color: #007700;">=</span><span style="color: #dd0000;">&#8220;4&#8243; </span><span style="color: #0000bb;"> </span><span style="color: #dd0000;"> </span><span style="color: #0000bb;">template</span><span style="color: #007700;">=</span><span style="color: #dd0000;">&#8220;catalog/product/list.phtml&#8221;</span><span style="color: #0000bb;">}}</span></li>
<p><em>Category ID will be the number of your category (check the picture above)</em></p>
<p>That should be good!</ol>
<p><strong>To show new products on your magento home page:</strong></p>
<ol>
<li>Create a new product, fill all the required fields</li>
<li><strong>Select the period to show your product as new</strong></li>
<li>Paste the code in the content area of your home page by going to <em>CMS&gt;Manage Pages&gt;Home page</em>
<div><code> <span style="color: #0000bb;">{{block type</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"catalog/product_new" </span><span style="color: #0000bb;">name</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"home.catalog.product.new" </span><span style="color: #0000bb;">alias</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"product_homepage" </span><span style="color: #0000bb;">template</span><span style="color: #007700;">=</span><span style="color: #dd0000;">"catalog/product/new.phtml"</span><span style="color: #0000bb;">}}</span></code></div>
</li>
<li>Save it! That should be good.</li>
</ol>
<p>For details check this great video<br />
<a href="http://vimeo.com/1070986">http://vimeo.com/1070986</a></p>
<div style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="225" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=1070986&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="400" height="225" src="http://vimeo.com/moogaloop.swf?clip_id=1070986&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<img src="http://www.toma2u.com/?ak_action=api_record_view&id=207&type=feed" alt="magento, [How to] Display new or category products on the Magento home page,  "  title="[How to] Display new or category products on the Magento home page" />

<p>Related posts:<ol><li><a href='http://www.toma2u.com/internet/wordpress/98/top-40-most-wanted-wordpress-tips-and-tricks' rel='bookmark' title='Permanent Link: Top 40+ most wanted wordpress tips and tricks'>Top 40+ most wanted wordpress tips and tricks</a></li>
<li><a href='http://www.toma2u.com/internet/joomla/24/how-to-add-description-to-joomla-marketplace' rel='bookmark' title='Permanent Link: How to add description to Joomla Marketplace?'>How to add description to Joomla Marketplace?</a></li>
<li><a href='http://www.toma2u.com/seo/59/top-10-seo-tips-optimize-your-pages' rel='bookmark' title='Permanent Link: Top 10 SEO tips &#8211; Optimize your pages'>Top 10 SEO tips &#8211; Optimize your pages</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.toma2u.com/internet/magento/207/how-to-display-new-or-category-products-on-the-magento-home-page/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>SEO of WordPress Blog</title>
		<link>http://www.toma2u.com/internet/wordpress/199/seo-of-wordpress-blog</link>
		<comments>http://www.toma2u.com/internet/wordpress/199/seo-of-wordpress-blog#comments</comments>
		<pubDate>Wed, 18 Nov 2009 14:49:23 +0000</pubDate>
		<dc:creator>toma</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[search engine optimization]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[wordpress seo]]></category>

		<guid isPermaLink="false">http://www.toma2u.com/?p=199</guid>
		<description><![CDATA[The 7 steps 1. Use WordPress! And get the necessary plugins. 2. What have you got, that others want? 3. Who do you want on your site? 4. Structure your content so it&#8217;s easy for engines… 5. Get analytics, see where you are going. 6. Work consistently for at least 6 months. 7. Socialise. Step [...]


Related posts:<ol><li><a href='http://www.toma2u.com/internet/wordpress/144/wordpress-optimization-guide' rel='bookmark' title='Permanent Link: WordPress optimization &#8211; Speeding up wordpress blog'>WordPress optimization &#8211; Speeding up wordpress blog</a></li>
<li><a href='http://www.toma2u.com/internet/wordpress/98/top-40-most-wanted-wordpress-tips-and-tricks' rel='bookmark' title='Permanent Link: Top 40+ most wanted wordpress tips and tricks'>Top 40+ most wanted wordpress tips and tricks</a></li>
<li><a href='http://www.toma2u.com/internet/google-analytics/132/linking-google-adsense-with-google-analytics' rel='bookmark' title='Permanent Link: Linking Google AdSense with Google Analytics'>Linking Google AdSense with Google Analytics</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h3><img class="size-full wp-image-200 alignleft" style="margin: 2px;" title="SEO-WordPress" src="http://www.toma2u.com/wp-content/uploads/SEO-WordPress.jpg" alt="wordpress, SEO of Wordpress Blog, SEO WordPress " width="240" height="186" />The 7 steps</h3>
<p><strong>1. </strong>Use WordPress! And get the necessary plugins.<br />
<strong>2. </strong>What have you got, that others want?<br />
<strong>3.</strong> Who do you want on your site?<br />
<strong>4.</strong> Structure your content so it&#8217;s easy for engines…<br />
<strong>5.</strong> Get analytics, see where you are going.<br />
<strong>6.</strong> Work consistently for at least 6 months.<br />
<strong>7.</strong> Socialise.</p>
<p><span id="more-378"> </span></p>
<p><strong>Step 1. WordPress and Plugins.</strong></p>
<p><span style="text-decoration: underline;">All in One SEO Pack</span>: Automatically optimizes your WordPress blog for Search Engine Optimization.</p>
<p><span style="text-decoration: underline;">Paginated Comments</span>: Paginated Comments is a WordPress Plugin that gives you the ability to break your comments into a number of s … (if you get lots of comments)</p>
<p><span style="text-decoration: underline;">WP-PageNavi</span>: Pagination on index and archive pages.<br />
Instead of one huge page, break it up with this plugin. Google typically only indexes the 1st 100KB of  HTML, so break up your pages</p>
<p><span style="text-decoration: underline;">WWW redirect</span>: Make sure the engine only sees one version of your site i.e. http://www.mysite.com (and not the http://mysite.com)</p>
<p>Permalinks (wordpress core): Make Your content human friendly. Use this in permalink: /%category% %postname%-%post_id%.html (use a unique identifier so you can be picked up by Google news)</p>
<p><span style="text-decoration: underline;">Optimal Title</span>: Mirrors the function of wp_title () exactly, but moves the position of the ’separator’ to after the title rather than before.</p>
<p><span style="text-decoration: underline;">Categorization of content:</span> Don’t mark the same post under more than a single category if possible, so you don’t get too much duplicate content.</p>
<p><span style="text-decoration: underline;">Robots.txt</span><br />
Tell the engines where you want them to go</p>
<p><span style="text-decoration: underline;">Internal page redirections</span><br />
Manage error pages, or redirect search engines from old posts to new ones</p>
<p style="text-align: left;"><a href="http://www.creamylife.com/wp-content/uploads/2009/11/SEO-map.jpg"><img class="size-full wp-image-301 aligncenter" title="SEO map" src="http://www.creamylife.com/wp-content/uploads/2009/11/SEO-map.jpg" alt="SEO map" width="500" height="306" /></a></p>
<p><strong>Step 2. What’s on offer?</strong><br />
• Is your content useful or entertaining?<br />
• Do you love writing it?<br />
• Have you got a niche you are prominent in?<br />
• Would you read your content?<br />
• Will you keep going even if no one visits?</p>
<p><strong>Step 3. Who do you want here?</strong><br />
• Is your site a PR device?<br />
• Do you want to make money from it?<br />
• Is it just an ego thing?<br />
Picture your reader and write for that person!<br />
– A blog is a conversation, so write like you are directly speaking with that person. Visualize him or her.<br />
– Remember, add in the words they would use to find you.</p>
<p><strong>Step 4. Structure for Engines</strong><br />
• Think like a librarian…<br />
– Books need labeling correctly<br />
• The correct title<br />
• Other categorization information<br />
– Duplication is annoying<br />
– Put the books in the right sections</p>
<p><strong>Step 5. Google analytics</strong><br />
• Get Google analytics and Google webmaster console<br />
• Look out for these key performance indexes:<br />
– Absolute unique visitors per month<br />
– Returning Visitors / Visitor loyalty<br />
– Time spent on site per user<br />
– Pages viewed per user<br />
– Number of keywords your site has been accessed by<br />
– Which are your big traffic phrases<br />
– Proportion of traffic from:<br />
• Engines (40-60%)<br />
• Direct (20%)<br />
• Referred from other sites (25%)</p>
<p><strong>Step 6.</strong><br />
It’s going to take time…So I hope you love it.</p>
<p><strong>Step 7. Get links</strong><br />
Search engines love links.<br />
Rule of thumb: If the site is human managed and relevant, then its ok (it&#8217;s why general directories are worthless to you)<br />
They look for signals that show the site is important = good relevant links<br />
• Get commenting and contributing on relevant sites in your subject neighbourhood.<br />
• Do the occasional link exchange<br />
• Be remarkable, so people WANT to link to you.<br />
• Put ‘signposts’ up on relevant sites (links pages)</p>
<img src="http://www.toma2u.com/?ak_action=api_record_view&id=199&type=feed" alt="wordpress, SEO of Wordpress Blog,  "  title="SEO of Wordpress Blog" />

<p>Related posts:<ol><li><a href='http://www.toma2u.com/internet/wordpress/144/wordpress-optimization-guide' rel='bookmark' title='Permanent Link: WordPress optimization &#8211; Speeding up wordpress blog'>WordPress optimization &#8211; Speeding up wordpress blog</a></li>
<li><a href='http://www.toma2u.com/internet/wordpress/98/top-40-most-wanted-wordpress-tips-and-tricks' rel='bookmark' title='Permanent Link: Top 40+ most wanted wordpress tips and tricks'>Top 40+ most wanted wordpress tips and tricks</a></li>
<li><a href='http://www.toma2u.com/internet/google-analytics/132/linking-google-adsense-with-google-analytics' rel='bookmark' title='Permanent Link: Linking Google AdSense with Google Analytics'>Linking Google AdSense with Google Analytics</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.toma2u.com/internet/wordpress/199/seo-of-wordpress-blog/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speeding up WP Super Cache by changing htaccess file</title>
		<link>http://www.toma2u.com/internet/wordpress/146/optimizing-wp-super-cache</link>
		<comments>http://www.toma2u.com/internet/wordpress/146/optimizing-wp-super-cache#comments</comments>
		<pubDate>Sun, 18 Oct 2009 17:59:15 +0000</pubDate>
		<dc:creator>toma</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[speeding up wordpress]]></category>
		<category><![CDATA[wordpress optimization]]></category>
		<category><![CDATA[wordpress plugins]]></category>
		<category><![CDATA[wp super cache optimization]]></category>

		<guid isPermaLink="false">http://www.toma2u.com/?p=146</guid>
		<description><![CDATA[Searching the Internet i found this great article about speeding up WP-SuperCache plugin. Here it is: &#8220;So I couldn’t help it, I downloaded and installed WP Super Cache because it sounded like an ideal setup for me.. A plugin built to generate static files from php+mysql for Apache to serve the way its supposed to [...]


Related posts:<ol><li><a href='http://www.toma2u.com/internet/joomla/243/seo-importance-joomla-site-with-or-without-www-htaccess-301-redirection' rel='bookmark' title='Permanent Link: Seo importance, Joomla site with or without www, .htaccess 301 redirection'>Seo importance, Joomla site with or without www, .htaccess 301 redirection</a></li>
<li><a href='http://www.toma2u.com/internet/wordpress/144/wordpress-optimization-guide' rel='bookmark' title='Permanent Link: WordPress optimization &#8211; Speeding up wordpress blog'>WordPress optimization &#8211; Speeding up wordpress blog</a></li>
<li><a href='http://www.toma2u.com/internet/wordpress/199/seo-of-wordpress-blog' rel='bookmark' title='Permanent Link: SEO of WordPress Blog'>SEO of WordPress Blog</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Searching the Internet i found this great article about speeding up WP-SuperCache plugin.</p>
<p>Here it is:</p>
<p>&#8220;So I couldn’t help it, I downloaded and installed <a class="extl" href="http://ocaoimh.ie/wp-super-cache/">WP Super Cache</a> because it sounded like an ideal setup for me.. A plugin built to generate static files from php+mysql for Apache to serve the way its supposed to be.. My dream.</p>
<p>So I started digging into the code.  Its a form of <a class="extl" href="http://mnm.uib.es/gallir/wp-cache-2/">WP Cache-2</a>, but fork is a generous word at this point. There is some future add-on capability, but the code that actually performs the caching is pretty much the same. Bloated, inefficient, and redundant coding. This plugin could do the same thing with 1 file, no config, no meta, serializing, etc.. But its still a lot better than <a href="http://www.askapache.com/wordpress-plugins/">anything I’ve created</a>.</p>
<p><a href="http://z.askapache.com/uploads/2008/03/crazy-cache.png"><img class="aligncenter size-full wp-image-535" title="crazy-cache" src="http://z.askapache.com/uploads/2008/03/crazy-cache.png" alt="AskApache Crazy Cache - coming soon" width="398" height="328" /></a></p>
<p>I’m very interested in this technology and this is the closest to my ideal that a WordPress plugin has come so far, I might just start from scratch one of these days, once I figure out a few php bits I’m still learning about. If I do decide to make a caching plugin the right way, it will have similar tricks that I used in the <a href="http://www.askapache.com/wordpress/wp-cache-speed-hack.html">Hack WP-Cache for maximum speed</a> post.</p>
<h2>My WP Super Cache .htaccess</h2>
<p>The .htaccess generated by WP Super Cache is wack, I’m not even sure how its been working for everyone, I’ve hacked it up a bit and this is working great for me.. <em>Will definately be updated as I do more debugging</em>.</p>
<p>I used some of the same techniques found <a title="Converts all underscores in urls to hyphens" href="http://www.askapache.com/htaccess/mod_rewrite-tips-and-tricks.html#convert-underscore-hyphen">here</a>, and <a title="redirecting between http and htps with setenvif variables" href="http://www.askapache.com/htaccess/http-https-rewriterule-redirect.html">here</a>, and these <a href="http://www.askapache.com/htaccess/setenvif.html">SetEnvIf examples</a>.</p>
<pre class="brush: php;">
# BEGIN WordPress

SetEnv HTTP_IF_GZ_MATCH .html
SetEnvIfNoCase ^Accept-Encoding$ &quot;(.*gzip.*)&quot; HTTP_IF_GZ_MATCH=.html.gz

RewriteCond %{ENV:REDIRECT_STATUS} !=200
RewriteCond %{QUERY_STRING} !s
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.+)\ HTTP/ [NC]
RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/%1/index%{ENV:HTTP_IF_GZ_MATCH} -f
RewriteRule ^(.*)$ /wp-content/cache/supercache/$1/index%{ENV:HTTP_IF_GZ_MATCH} [L,NC]

# END WordPress
</pre>
<h2>WP Super Cache .htaccess</h2>
<pre class="brush: php;">
# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} !.*s=.*
RewriteCond %{HTTP_COOKIE} !^.*comment_author_.*$
RewriteCond %{HTTP_COOKIE} !^.*wordpress.*$
RewriteCond %{HTTP_COOKIE} !^.*wp-postpass_.*$
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]

RewriteCond %{QUERY_STRING} !.*s=.*
RewriteCond %{HTTP_COOKIE} !^.*comment_author_.*$
RewriteCond %{HTTP_COOKIE} !^.*wordpress.*$
RewriteCond %{HTTP_COOKIE} !^.*wp-postpass_.*$
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]

# END WordPress</pre>
<p>It’s definately a complex kind of plugin in that there is a lot of directions and a lot going on, so I’m not saying anything bad about the developers, just hope to see some updates over the next few months so I don’t have to mess with it.&#8221;</p>
<p>Here it is <a href="http://www.askapache.com/htaccess/hacking-wp-super-cache-for-speed.html">http://www.askapache.com/htaccess/hacking-wp-super-cache-for-speed.html</a></p>
<img src="http://www.toma2u.com/?ak_action=api_record_view&id=146&type=feed" alt="wordpress, Speeding up WP Super Cache by changing htaccess file,  "  title="Speeding up WP Super Cache by changing htaccess file" />

<p>Related posts:<ol><li><a href='http://www.toma2u.com/internet/joomla/243/seo-importance-joomla-site-with-or-without-www-htaccess-301-redirection' rel='bookmark' title='Permanent Link: Seo importance, Joomla site with or without www, .htaccess 301 redirection'>Seo importance, Joomla site with or without www, .htaccess 301 redirection</a></li>
<li><a href='http://www.toma2u.com/internet/wordpress/144/wordpress-optimization-guide' rel='bookmark' title='Permanent Link: WordPress optimization &#8211; Speeding up wordpress blog'>WordPress optimization &#8211; Speeding up wordpress blog</a></li>
<li><a href='http://www.toma2u.com/internet/wordpress/199/seo-of-wordpress-blog' rel='bookmark' title='Permanent Link: SEO of WordPress Blog'>SEO of WordPress Blog</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.toma2u.com/internet/wordpress/146/optimizing-wp-super-cache/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress optimization &#8211; Speeding up wordpress blog</title>
		<link>http://www.toma2u.com/internet/wordpress/144/wordpress-optimization-guide</link>
		<comments>http://www.toma2u.com/internet/wordpress/144/wordpress-optimization-guide#comments</comments>
		<pubDate>Sun, 18 Oct 2009 17:44:31 +0000</pubDate>
		<dc:creator>toma</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[speeding up wordpress]]></category>
		<category><![CDATA[wordpress optimization]]></category>

		<guid isPermaLink="false">http://www.toma2u.com/?p=144</guid>
		<description><![CDATA[Introduction Having a blog that’s snappy &#38; responsive is just one of the many factors that makes a great blog. Even with the best content in the world, a slow blog will frustrate readers &#38; potentially force them elsewhere. In this post we’ll focus on optimising WordPress, a popular free open source blogging platform that [...]


Related posts:<ol><li><a href='http://www.toma2u.com/internet/wordpress/199/seo-of-wordpress-blog' rel='bookmark' title='Permanent Link: SEO of WordPress Blog'>SEO of WordPress Blog</a></li>
<li><a href='http://www.toma2u.com/internet/wordpress/146/optimizing-wp-super-cache' rel='bookmark' title='Permanent Link: Speeding up WP Super Cache by changing htaccess file'>Speeding up WP Super Cache by changing htaccess file</a></li>
<li><a href='http://www.toma2u.com/internet/joomla/95/speeding-up-joomla-site-making-it-load-faster' rel='bookmark' title='Permanent Link: Speeding up joomla site, making it load faster'>Speeding up joomla site, making it load faster</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>Having a blog that’s snappy &amp; responsive is just one of the many factors that makes a great blog. Even with the best content in the world, a slow blog will frustrate readers &amp; potentially force them elsewhere. In this post we’ll focus on optimising WordPress, a popular free open source blogging platform that runs on PHP.</p>
<h3>Test your Current Speed</h3>
<p>In order to figure out if any of the changes we’re about to make have an effect it’s important to benchmark current performance. There’s a number of tools &amp; a small piece of code that allows us to do this.</p>
<h4>Pingdom</h4>
<p>Pingdom does a quick visual benchmark of all the elements on your Blog. You can instantly get a snapshot of elements that may be taking longer to load than they should &amp; other problem areas. Here’s the benchmark for the <a title="StoreCrowd Blog" href="http://tools.pingdom.com/fpt/?url=http://storecrowd.com/blog/&amp;treeview=0&amp;column=objectID&amp;order=1&amp;type=0&amp;save=true" target="_blank">StoreCrowd Blog</a> (Around 9s load time &amp; 924kb).</p>
<p style="text-align: center;"><img class="size-full wp-image-736 aligncenter" title="Pingdom" src="http://74.207.242.38/wp-content/uploads/2009/06/pingdom.jpg" alt="Pingdom" width="540" height="339" /></p>
<h4>YSlow</h4>
<p><a title="YSlow" href="http://developer.yahoo.com/yslow/" target="_blank">YSlow</a> is a firefox plugin that plugs into <a title="Firebug" href="http://getfirebug.com/" target="_blank">Firebug</a> (possibly the best web development tool in the history of man). It analyses 22 factors that can slow down the performance of your blog &amp; scores you out of 100. The StoreCrowd Blog gets 59/100 &amp; a grade E.</p>
<p style="text-align: center;"><img class="size-full wp-image-737 aligncenter" style="display: block;" title="Pingdom" src="http://74.207.242.38/wp-content/uploads/2009/06/yslow.jpg" alt="YSlow" width="540" /></p>
<p>Some of the things we’ve been alerted to clean up:</p>
<ol>
<li>Make Fewever HTTP Requests (Grade F)</li>
<li>Use a CDN (41 Static Components not on a CDN)</li>
<li>Add Expires Headers (36 Static Components without an Expiration Date)</li>
<li>Compress Components with GZIP (There’s 9 Text Components that could be Gzipped)</li>
<li>Minify Javascript &amp; CSS (There’s 10 Javascript Components that could be minified)</li>
<li>Configure Entity Tags</li>
<li>Reduce Cookie Size</li>
</ol>
<h4>Show Number of Queries &amp; Load Time</h4>
<p>It’s possible using this small piece of PHP code in your website footer to show the number of Queries &amp; Load time publically:</p>
<div id="highlighter_960832" class="syntaxhighlighter ">
<div class="lines">
<div class="line alt1"><code class="number">
<pre class="brush: php;">&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;&lt;?php &lt;/code&gt;&lt;code class=&quot;functions&quot;&gt;echo&lt;/code&gt; &lt;code class=&quot;plain&quot;&gt;get_num_queries(); ?&gt; queries in &lt;?php timer_stop(1); ?&gt;  seconds.</pre>
<p></code></span></span></div>
</div>
</div>
<p>A quick test on the Homepage &amp; I get: 17 queries in 1.058  seconds.</p>
<h3>Web Hosting</h3>
<p>Believe it or not your Web Hosting is critical to the speed at which WordPress performs.</p>
<p>Without going into too much detail on which host you should pick here’s a very simple but quick overview:</p>
<ul>
<li><strong>Shared Hosting</strong> – On average you’ll be sharing one single server with up to 100 other people.</li>
<li><strong>VPS</strong> – You may be sharing a single server with up to 20 other people.</li>
<li><strong>Dedicated</strong> – You’ll have a whole server to yourself.</li>
</ul>
<p>You can get an idea of the load on your server by logging in via ssh &amp; using the command: top</p>
<p>My rule of thumb is that anything over 1.00 is worrying &amp; could impact performance.</p>
<p>This isn’t to say that you can’t get WordPress running snappily on a Shared Web Host. But just remember that you’ll always get better performance from higher end web hosts. For the record this blog is hosted on a <a href="http://www.wiredtree.com/managedhybrid/">Hybrid VPS</a> at Wired Tree &amp; our main site is hosted on a Xen VPS at <a href="http://storecrowd.com/store/linode.com" target="_blank">Linode</a>. We do also ProxyPass requests from one server to the other to reduce load if the blog gets busy.</p>
<p>Location of your server is also important, think about your target market. If it’s the whole USA you’ll want a server that’s located in the middle of the country, if it’s New York then a server on the East Coast. You get the idea.</p>
<h3>Server Setup &amp; Configuration</h3>
<p>Making sure your server is tuned to handle the load &amp; queries you’re throwing at it depends largely on your hardware (RAM &amp; CPU). WordPress is built with PHP &amp; it runs on an Apache http server normally. There have been some good experiments using other http servers such as Nginx or Lighttpd, I’ll leave this for another post though.</p>
<p>Few quick things to do first:</p>
<ul>
<li>Upgrade to the <a href="http://www.php.net/downloads.php">Latest PHP Version</a></li>
<li>Upgrade to the <a href="http://httpd.apache.org/download.cgi" target="_blank"> latest Apache Version</a></li>
</ul>
<h4>Remove Services to free up RAM</h4>
<p>The more RAM you have available the higher you’ll be able to tweak MYSQL &amp; Apache for performance.</p>
<ul>
<li>Remove Clamd</li>
<li>Change SpamD to only spawn 1 child process</li>
<li>Remove Mailman, unless you’re running a mail server (I just use Gmail for domains)</li>
</ul>
<h4>MYSQL Query Cache</h4>
<p>Since WordPress communicates quite heavily with a Database you’ll need to ensure that your my.cnf configuration suits your Hardware setup. There’s a few quick tweaks to speed things up.</p>
<p>The Query Cache does exactly what it says, its Caches queries. This means that the first time the query is run it’ll get cached so the second time it runs there’ll be a significant speed improvement.</p>
<p>Add these lines to your my.cnf:</p>
<div id="highlighter_319440" class="syntaxhighlighter ">
<div class="lines">
<div class="line alt1"><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">
<pre class="brush: php;">query_cache_type = 1&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;query_cache_limit = 2M&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;query_cache_size = 20M</pre>
<p></code></span></span></div>
</div>
</div>
<p>Remember you’ll need to restart MYSQL for these changes to take effect.</p>
<h4>Compiler Cache: XCache or Eaccelerator?</h4>
<p>The Compiler cache increases the performance of compiled scripts on your server by caching them, this can have a dramatic effects on the execution time of PHP scripts.</p>
<p>I personally recommend playing around with both here, however I’ve found a slight performance increase from Xcache over Eaccelerator on WordPress. About 5%.</p>
<h4>Increase your max Apache Connections</h4>
<p>Increasing the max connections in your httpd.conf can increase performance &amp; as the server is handlging more connections simultaneously. However you may end up running out of RAM, so test a few configurations first.</p>
<p>150 connections is a good start:</p>
<div id="highlighter_154340" class="syntaxhighlighter ">
<div class="lines">
<div class="line alt1"><code class="number">
<pre class="brush: php;">&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;max_connections = 150</pre>
<p></code></span></span></div>
</div>
</div>
<p>Then increase in 50 connection intervals until you’re satisfied. Here’s a fantastic tutorial on <a href="http://www.earnersblog.com/vps-optimization-guide/">Optimising your VPS Server</a> which goes into great detail.</p>
<p>Remember to restart apache every time you make a change.</p>
<h3>Optimise Code &amp; Graphics</h3>
<p>Once your server is humming along you can now start playing with the Core WordPress code &amp; also the coding of your Theme.</p>
<h4>Disable Hotlinking</h4>
<p>Whenever you serve images on your server you’re essentially using resources &amp; queries. Quite often people will <em>borrow</em> you images &amp; hotlink them on their own server. This not only uses up your bandwidth, but it also puts necessary strain on your server.</p>
<p>You’ll need to add the following code to your .htaccess file &amp; replace example.com with your domain:</p>
<div id="highlighter_140786" class="syntaxhighlighter ">
<div class="lines">
<div class="line alt1"><code class="number"></code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">
<pre class="brush: php;">&lt;IfModule mod_rewrite.c&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;RewriteEngine on&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;&lt;code class=&quot;number&quot;&gt;&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;RewriteCond %{HTTP_REFERER} !^$&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;RewriteCond %{HTTP_REFERER} !^http:&lt;/code&gt;&lt;code class=&quot;comments&quot;&gt;//(www\.)?example\.com/.*$ [NC]&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;&lt;code class=&quot;number&quot;&gt;&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;RewriteRule .*\.(gif|jpg|png|ico)$ - [F,L]&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;&lt;/ifModule&gt;</pre>
<p></code></span></span></div>
</div>
</div>
<h4>Use Image Hosting</h4>
<p>Hosting images externally can reduce resources &amp; server load considerably. In the example below you can see the decrease in memory usage a WordPress Blogger saw when moving static images off his server:</p>
<p style="text-align: center;"><img class="aligncenter" style="display: inline;" src="http://img.labnol.org/di/amazons3images.png" alt="wordpress, Wordpress optimization   Speeding up wordpress blog, amazons3images "  title="Wordpress optimization   Speeding up wordpress blog" /></p>
<p>Read more about the steps taken to <a href="http://www.labnol.org/internet/host-images-files-on-amazon-s3-storage/4923/">move images to Amazon S3</a>.</p>
<h4>Compress Javascript</h4>
<p>Compressing Javascript is quite simple, since this is loaded on every pageview you can reduce the size of Javascript by removing all of the White Space. There’s a simple tool to do this for you called <a href="http://javascriptcompressor.com/">JavaScript Compressor</a>.</p>
<h4>Javascript at Bottom of Page</h4>
<p>Often your site can run incredibly slowly or stall because another site that you call Javascript from is down or offline (i.e. Digg badges, Tweetmeme etc). Move anything that you can to the end of your page to avoid this, you can also include the Javascript that can’t be moved to the end of the page in an iFrame.</p>
<h4>Use Browser Cache</h4>
<p>The Browser Cache itself won’t actually make your blog load faster however it will help reduce strain on the server by caching objects that are getting loaded often (like images &amp; styles)</p>
<p>Test the following code in your .htaccess file:</p>
<div id="highlighter_492" class="syntaxhighlighter ">
<div class="lines">
<div class="line alt1"><code class="number"></code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">
<pre class="brush: php;">FileETag MTime Size&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;&lt;code class=&quot;number&quot;&gt;&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;&lt;ifmodule mod_expires.c&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;&lt;filesmatch &lt;/code&gt;&lt;code class=&quot;string&quot;&gt;&quot;\.(jpg|gif|png|css|js)$&quot;&lt;/code&gt;&lt;code class=&quot;plain&quot;&gt;&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;ExpiresActive on&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;ExpiresDefault &lt;/code&gt;&lt;code class=&quot;string&quot;&gt;&quot;access plus 1 year&quot;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;&lt;code class=&quot;number&quot;&gt;&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;&lt;/filesmatch&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;&lt;/ifmodule&gt;</pre>
<p></code></span></span></div>
</div>
</div>
<h4>Compress Static Data</h4>
<p>You can reduce the size of your pages by letting the browser compress &amp; uncompress the data. This will reduce the bandwidth &amp; amount needed to download.</p>
<p>Test the following in your .htaccess file:</p>
<div id="highlighter_455404" class="syntaxhighlighter ">
<div class="lines">
<div class="line alt1"><code class="number"></code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">
<pre class="brush: php;">AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css application/x-javascript&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;&lt;code class=&quot;number&quot;&gt;&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;BrowserMatch ^Mozilla/4 gzip-only-text/html&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;&lt;code class=&quot;number&quot;&gt;&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;BrowserMatch ^Mozilla/4.0[678] no-gzip&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;BrowserMatch bMSIE !no-gzip !gzip-only-text/html</pre>
<p></code></span></span></div>
</div>
</div>
<h4>Use a CDN or Subdomain for Static Files</h4>
<p>Serving all your images from the same domain can means that your browser is waiting to download all the items one after the other. Lets say you have 12 items, if you split these out across 3 subdomains then they can be <a href="http://www.askapache.com/htaccess/apache-speed-subdomains.html" target="_blank">downloaded concurrently</a> (as there’s 3 sources), instead of the browser waiting to download them from one source.</p>
<p>A good way to experiment here is to have your css &amp; javascript files on files.yoursite.com &amp; your templates/images on static.yourserver.com</p>
<p>A CDN or Content Delivery Network works in much the same way. It allows you to host your static files on a subdomain which is linked to a wide network of servers all over the world. This means that your static content is not only downloaded in parallel but it’s more than likely pushed to a server that’s closer to the intended recipient making it load MUCH faster.</p>
<h3>WordPress</h3>
<p>The following includes tweaks that you can make to WordPress itself to improve performance.</p>
<h4>Upgrade to the latest version</h4>
<p>Keeping up to date with the latest Version is paramount, not only does it fix security vulnerabilities but they are constant trying to improve performance. For example WordPress 2.8 has significant database performance improvements.</p>
<h4>Remove &amp; Disable Post Revisions</h4>
<p>In WordPress 2.6 &amp; later revisions of your posts are kept every time they are autosaved. This can clog up the database &amp; increase its size unnecessary.</p>
<p>To disable post revisions add this line to wp-config.php:</p>
<div id="highlighter_68853" class="syntaxhighlighter ">
<div class="lines">
<div class="line alt1"><code class="number">
<pre class="brush: php;">&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;define(&lt;/code&gt;&lt;code class=&quot;string&quot;&gt;'WP_POST_REVISIONS'&lt;/code&gt;&lt;code class=&quot;plain&quot;&gt;, false);</pre>
<p></code></span></span></div>
</div>
</div>
<p>You can also run the following query in PHPmyadmin to delete all current revisions:</p>
<div id="highlighter_479903" class="syntaxhighlighter ">
<div class="bar ">
<div class="toolbar"><a class="item viewSource" style="width: 16px; height: 16px;" title="view source" href="http://storecrowd.com/blog/wordpress-optimisation/#viewSource"></a><a class="item about" style="width: 16px; height: 16px;" title="?" href="http://storecrowd.com/blog/wordpress-optimisation/#about"><br />
</a></div>
</div>
<div class="lines">
<div class="line alt1"><code class="number">
<pre class="brush: sql;">&lt;/code&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;functions&quot;&gt;DELETE&lt;/code&gt; &lt;code class=&quot;plain&quot;&gt;a,b,c&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;FROM wp_posts a&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id)&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt2&quot;&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;LEFT JOIN wp_postmeta c ON (a.ID = c.post_id)&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line alt1&quot;&gt;&lt;span class=&quot;content&quot;&gt;&lt;span class=&quot;block&quot; style=&quot;margin-left: 0px ! important;&quot;&gt;&lt;code class=&quot;plain&quot;&gt;WHERE a.post_type = &lt;/code&gt;&lt;code class=&quot;string&quot;&gt;'revision'</pre>
<p></code></span></span></div>
</div>
</div>
<h4>Reduce Queries</h4>
<p>A query happens anytime in your theme when you use PHP. So for example this is a query:</p>
<div id="highlighter_339031" class="syntaxhighlighter ">
<div class="bar ">
<div class="toolbar"><a class="item viewSource" style="width: 16px; height: 16px;" title="view source" href="http://storecrowd.com/blog/wordpress-optimisation/#viewSource"></a><a class="item about" style="width: 16px; height: 16px;" title="?" href="http://storecrowd.com/blog/wordpress-optimisation/#about"><br />
</a></div>
</div>
<div class="lines">
<div class="line alt1"><code class="number"></code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">
<pre class="brush: php;">&lt;meta http-equiv=&lt;/code&gt;&lt;code class=&quot;string&quot;&gt;&quot;Content-Type&quot;&lt;/code&gt; &lt;code class=&quot;plain&quot;&gt;content=&lt;/code&gt;&lt;code class=&quot;string&quot;&gt;&quot;&lt;?php bloginfo('html_type'); ?&gt;; charset=&lt;?php bloginfo('charset'); ?&gt;&quot;&lt;/code&gt; &lt;code class=&quot;plain&quot;&gt;/&gt;</pre>
<p></code></span></span></div>
</div>
</div>
<p>Which we can change to:</p>
<div id="highlighter_862950" class="syntaxhighlighter ">
<div class="lines">
<div class="line alt1"><code class="number"></code><span class="content"><span class="block" style="margin-left: 0px ! important;"><code class="plain">
<pre class="brush: php;">&lt;meta http-equiv=&lt;/code&gt;&lt;code class=&quot;string&quot;&gt;&quot;Content-Type&quot;&lt;/code&gt; &lt;code class=&quot;plain&quot;&gt;content=&lt;/code&gt;&lt;code class=&quot;string&quot;&gt;&quot;text/html; charset=UTF-8&quot;&lt;/code&gt; &lt;code class=&quot;plain&quot;&gt;/&gt;</pre>
<p></code></span></span></div>
</div>
</div>
<p>All of a sudden we’ve removed two queries from the template. Pretty simple?</p>
<h3>WordPress Plugins</h3>
<p>There’s a number of plugins that can improve performance. Once everything above has been completed this is where you’ll notice most of the performance gain.</p>
<h4><a href="http://wordpress.org/extend/plugins/wp-super-cache/">WP Super Cache</a></h4>
<p>Possibly one of the best plugins you’ll ever install. WP Super Cache creates a static HTML version of each page &amp; loads that instead of querying the database every time. This increases the speed at which pages load (upwards of 45%) &amp; reduces strain on the server.</p>
<h4><a href="http://aciddrop.com/2009/02/02/php-speedy-wp-052-bug-fix/">PHP Speedy WP</a></h4>
<p>This plugin takes care of one of the other issues we talked about earlier in the post &amp; that’s removing the white spaces in CSS files &amp; Javascript. This plugin however is not compatible with WP Super Cache currently.</p>
<h4><a href="http://wordpress.org/extend/plugins/optimize-db/">Optimize DB</a></h4>
<p>This plugin allows you to optimize the tables of your MYSQL database &amp; reduce their overhead without actually going into PHPmyadmin.</p>
<p>This text is written by <a title="WordPress optimization" href="http://storecrowd.com/blog/wordpress-optimisation/">Store Crowd</a></p>
<img src="http://www.toma2u.com/?ak_action=api_record_view&id=144&type=feed" alt="wordpress, Wordpress optimization   Speeding up wordpress blog,  "  title="Wordpress optimization   Speeding up wordpress blog" />

<p>Related posts:<ol><li><a href='http://www.toma2u.com/internet/wordpress/199/seo-of-wordpress-blog' rel='bookmark' title='Permanent Link: SEO of WordPress Blog'>SEO of WordPress Blog</a></li>
<li><a href='http://www.toma2u.com/internet/wordpress/146/optimizing-wp-super-cache' rel='bookmark' title='Permanent Link: Speeding up WP Super Cache by changing htaccess file'>Speeding up WP Super Cache by changing htaccess file</a></li>
<li><a href='http://www.toma2u.com/internet/joomla/95/speeding-up-joomla-site-making-it-load-faster' rel='bookmark' title='Permanent Link: Speeding up joomla site, making it load faster'>Speeding up joomla site, making it load faster</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.toma2u.com/internet/wordpress/144/wordpress-optimization-guide/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
