<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Wordpress on Evan Hoffman</title><link>https://evan.wtf/tags/wordpress/</link><description>Recent content in Wordpress on Evan Hoffman</description><generator>Hugo</generator><language>en-US</language><copyright>Evan Hoffman</copyright><lastBuildDate>Fri, 25 Oct 2013 09:27:38 +0000</lastBuildDate><atom:link href="https://evan.wtf/tags/wordpress/index.xml" rel="self" type="application/rss+xml"/><item><title>Super quick wordpress exploit stopper</title><link>https://evan.wtf/2013/10/25/super-quick-wordpress-exploit-stopper/</link><pubDate>Fri, 25 Oct 2013 09:27:38 +0000</pubDate><guid>https://evan.wtf/2013/10/25/super-quick-wordpress-exploit-stopper/</guid><description>&lt;p&gt;I got an email yesterday from my host (DigitalOcean) that I was running a phishing website. So, I&amp;rsquo;m not, but I quickly guessed what happened: my Wordpress got hacked. This is just one of the risks of running silly little PHP apps. I logged in, deleted the themes directories, reinstalled clean ones, and ensured this doesn&amp;rsquo;t happen again by doing the following:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;useradd apache_ro&lt;/li&gt;&#10;&lt;li&gt;chown -R apache_ro:apache_ro $WP/wp-content/themes&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Now apache can&amp;rsquo;t write to those directories. This means you can&amp;rsquo;t update Wordpress via the web UI, but I&amp;rsquo;m ok with that.&lt;/p&gt;</description></item><item><title>Digital Ocean - First Impressions</title><link>https://evan.wtf/2013/07/24/digital-ocean-first-impressions/</link><pubDate>Wed, 24 Jul 2013 08:59:06 +0000</pubDate><guid>https://evan.wtf/2013/07/24/digital-ocean-first-impressions/</guid><description>&lt;p&gt;For the past few years I&amp;rsquo;ve been hosting this site on an old desktop in my basement on my FiOS connection. This was one of the things I really liked when I switched from Cablevision to Verizon - they don&amp;rsquo;t block port 80 inbound, so I didn&amp;rsquo;t have to pay for separate hosting. My &amp;ldquo;server&amp;rdquo; was an old AMD desktop with 1 gig ram and a sata drive. It was ok; my site was slow but I was ok with that. I configured Nginx to cache the static assets which sped most things up to &amp;ldquo;ok&amp;rdquo; levels but it was never fast.&lt;/p&gt;</description></item><item><title>Blog rename again</title><link>https://evan.wtf/2012/08/14/evan-hoffman-blog/</link><pubDate>Tue, 14 Aug 2012 16:00:25 +0000</pubDate><guid>https://evan.wtf/2012/08/14/evan-hoffman-blog/</guid><description>&lt;p&gt;I hate calling this site &amp;ldquo;Evan Hoffman&amp;rsquo;s Blog,&amp;rdquo; but it seems that when I Googled my own name most of the results were about &lt;a href="http://newton.patch.com/articles/evan-hoffman-pleads-guilty-to-motor-vehicle-homicide-sentenced"&gt;this guy&lt;/a&gt;. So let me just clarify&amp;hellip; that&amp;rsquo;s not me. I enjoyed having the title be obscure lyrics from songs I love but drastic times call for drastic measures. And let me tell you&amp;hellip; renaming a blog is serious business.&lt;/p&gt;</description></item><item><title>Using Nginx as a caching proxy in front of Wordpress</title><link>https://evan.wtf/2012/03/07/using-nginx-as-a-caching-proxy-in-front-of-wordpress/</link><pubDate>Wed, 07 Mar 2012 16:43:28 +0000</pubDate><guid>https://evan.wtf/2012/03/07/using-nginx-as-a-caching-proxy-in-front-of-wordpress/</guid><description>Why you may want to use Nginx as a caching reverse-proxy in front of Apache for Wordpress, and config examples for doing so.</description></item><item><title>Installed Relevanssi so search won't be so useless.</title><link>https://evan.wtf/2011/06/02/installed-relevanssi-so-search-wont-be-so-useless-2/</link><pubDate>Thu, 02 Jun 2011 17:07:53 +0000</pubDate><guid>https://evan.wtf/2011/06/02/installed-relevanssi-so-search-wont-be-so-useless-2/</guid><description>&lt;p&gt;I installed the &lt;a href="http://wordpress.org/extend/plugins/relevanssi/"&gt;Relevanssi&lt;/a&gt; plugin because the native Wordpress search seemed almost useless. So far it seems to be vastly superior. Native search frequently returned zero results when there were relevant posts. So, enjoy.&lt;/p&gt;</description></item><item><title>Chaos theory and Google's crawler</title><link>https://evan.wtf/2011/04/20/chaos-theory-and-googles-crawler-2/</link><pubDate>Wed, 20 Apr 2011 17:30:38 +0000</pubDate><guid>https://evan.wtf/2011/04/20/chaos-theory-and-googles-crawler-2/</guid><description>&lt;p&gt;I&amp;rsquo;ve been moderately perplexed by the recent spike in traffic on basically unrelated keywords. Apparently this site is currently the #5 result for &amp;ldquo;fedora 15 beta download&amp;rdquo; despite my having never written about Fedora 15. In an attempt to funnel people to a useful page I created &lt;a href="https://evan.wtf/2011/04/20/fedora-15-beta-download/"&gt;the previous post&lt;/a&gt; with links to the FC 15 ISOs. I feel bad if people come here looking for an answer that&amp;rsquo;s not to be found.&lt;/p&gt;</description></item><item><title>Traffic spike</title><link>https://evan.wtf/2011/04/09/traffic-spike/</link><pubDate>Sat, 09 Apr 2011 09:08:53 +0000</pubDate><guid>https://evan.wtf/2011/04/09/traffic-spike/</guid><description>&lt;p&gt;Somehow this site became the top Google result for two different searches, &amp;ldquo;Shogun2.dll appcrash&amp;rdquo; and &amp;ldquo;fedora 14 gnome3&amp;rdquo;. My theory is that Google&amp;rsquo;s indexing the referring keywords listed in the widget on the right, causing a snowball effect. But the rise in traffic this year has been dramatic, especially for a site really about nothing.&lt;/p&gt;&#10;&lt;figure&gt;&lt;a href="https://evan.wtf/wp-content/uploads/2011/04/fullscreen-capture-492011-90258-am1.jpg2011/04/09/traffic-spike/fullscreen-capture-492011-90258-am/"&gt;&lt;img src="https://evan.wtf/wp-content/uploads/2011/04/fullscreen-capture-492011-90258-am1.jpg"&#10;&#9;&#9;&#9;alt="Traffic 2011-02-01 to 2011-04-08" width="300"&gt;&lt;/a&gt;&#10;&lt;/figure&gt;</description></item><item><title>How does paid blogging work?</title><link>https://evan.wtf/2010/11/16/how-does-paid-blogging-work/</link><pubDate>Tue, 16 Nov 2010 10:44:43 +0000</pubDate><guid>https://evan.wtf/2010/11/16/how-does-paid-blogging-work/</guid><description>&lt;p&gt;I&amp;rsquo;ve been hearing for years about paid bloggers. If people are getting paid to write their crap down in an ad-supported industry, it seemed like it might make sense to throw some ads up on this very site to see what happens. I&amp;rsquo;ve had Adsense running on this site for a few months now and the short answer is a whole lot of nothing. Here&amp;rsquo;s what the earnings look like since 1/1/2009 (my Adsense account is much older than this site; I put the banner ads up around Fall of 2009):&lt;/p&gt;</description></item><item><title>5,472 ms</title><link>https://evan.wtf/2010/11/08/5472-ms/</link><pubDate>Mon, 08 Nov 2010 12:53:46 +0000</pubDate><guid>https://evan.wtf/2010/11/08/5472-ms/</guid><description>&lt;p&gt;I signed up with &lt;a href="http://www.pingdom.com/"&gt;Pingdom&lt;/a&gt; to monitor my website. They have a free service if you just want to monitor a single site, and since I only have one site, this is perfect. Since this server gets knocked offline all the time (thanks LIPA) I figured this was a prudent step. However, Pingdom also offers response time stats, and the stats are not good. Average response time is around 4200 ms, and with the first test taking 5,472 ms to respond.&lt;/p&gt;</description></item><item><title>We gon' party tonight</title><link>https://evan.wtf/2010/10/17/we-gon-party-tonight-2/</link><pubDate>Sun, 17 Oct 2010 23:58:33 +0000</pubDate><guid>https://evan.wtf/2010/10/17/we-gon-party-tonight-2/</guid><description>&lt;p&gt;I use Akismet to filter out spam comments here, and I&amp;rsquo;ve seen a few different strategies the spammers employ. There&amp;rsquo;s the &amp;ldquo;Cool post! You should Digg it&amp;rdquo; (in both English and Spanish - tengo que Digg), there&amp;rsquo;s the &amp;ldquo;this post helped me on my class project,&amp;rdquo; there&amp;rsquo;s the pure jibberish - &amp;ldquo;xajdjhesbjsb sjhsjhrhjshwru skjskjrijsjs.&amp;rdquo; But this is a new one I&amp;rsquo;ve seen over the past couple of weeks:&lt;/p&gt;&#10;&lt;figure&gt;&lt;img src="https://evan.wtf/wp-content/uploads/2010/10/fullscreen-capture-10172010-115023-pm.jpg"&#10;&#9;&#9;&#9;alt="We gon party tonight" width="485"&gt;&#10;&lt;/figure&gt;&#10;&#10;&lt;p&gt;Stupid things like this crack me up, not sure why.&lt;/p&gt;</description></item><item><title>We gon' party tonight</title><link>https://evan.wtf/2010/10/17/we-gon-party-tonight/</link><pubDate>Sun, 17 Oct 2010 23:58:33 +0000</pubDate><guid>https://evan.wtf/2010/10/17/we-gon-party-tonight/</guid><description>&lt;p&gt;I use Akismet to filter out spam comments here, and I&amp;rsquo;ve seen a few different strategies the spammers employ. There&amp;rsquo;s the &amp;ldquo;Cool post! You should Digg it&amp;rdquo; (in both English and Spanish - tengo que Digg), there&amp;rsquo;s the &amp;ldquo;this post helped me on my class project,&amp;rdquo; there&amp;rsquo;s the pure jibberish - &amp;ldquo;xajdjhesbjsb sjhsjhrhjshwru skjskjrijsjs.&amp;rdquo; But this is a new one I&amp;rsquo;ve seen over the past couple of weeks:&lt;/p&gt;&#10;&lt;figure&gt;&lt;img src="https://evan.wtf/wp-content/uploads/2010/10/fullscreen-capture-10172010-115023-pm.jpg"&#10;&#9;&#9;&#9;alt="We gon party tonight" width="485"&gt;&#10;&lt;/figure&gt;&#10;&#10;&lt;p&gt;Stupid things like this crack me up, not sure why.&lt;/p&gt;</description></item><item><title>Forcing Wordpress administration over SSL</title><link>https://evan.wtf/2010/09/20/forcing-wordpress-administration-over-ssl/</link><pubDate>Mon, 20 Sep 2010 15:46:05 +0000</pubDate><guid>https://evan.wtf/2010/09/20/forcing-wordpress-administration-over-ssl/</guid><description>&lt;p&gt;I never like typing a password into a non-SSL site, no matter how trivial it is. In order to give my own site this ability I simply used mod_rewrite to force requests to Wordpress&amp;rsquo;s admin pages to go over SSL.&lt;/p&gt;&#10;&lt;p&gt;The .htaccess file for the site looks like this:&lt;/p&gt;&#10;&lt;h1 id="begin-wordpress"&gt;BEGIN WordPress&lt;a class="heading-anchor" href="#begin-wordpress" aria-label="Link to this section"&gt;&#10; &lt;svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2"&#10; stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"&gt;&#10; &lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&#10; &lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&#10; &lt;/svg&gt;&#10; &lt;/a&gt;&#10;&lt;/h1&gt;&#10;&lt;p&gt;RewriteEngine On&#10;RewriteBase /evan/&#10;RewriteRule ^index.php$ - [L]&#10;RewriteCond %{REQUEST_FILENAME} !-f&#10;RewriteCond %{REQUEST_FILENAME} !-d&#10;RewriteRule . /evan/index.php [L]&lt;/p&gt;</description></item><item><title>Sped up Wordpress by adding 1 index.</title><link>https://evan.wtf/2010/03/17/sped-up-wordpress-by-adding-1-index/</link><pubDate>Wed, 17 Mar 2010 04:35:41 +0000</pubDate><guid>https://evan.wtf/2010/03/17/sped-up-wordpress-by-adding-1-index/</guid><description>&lt;p&gt;I noticed WP was taking a long time to load since I moved it. I added an index to the &amp;ldquo;autoload&amp;rdquo; column on wp_options and it seems to be much faster.&lt;/p&gt;&#10;&lt;p&gt;I still hate MySQL though. Postgres is so much better.&lt;/p&gt;</description></item><item><title>Why is my title in smallcaps now?</title><link>https://evan.wtf/2009/04/24/why-is-my-title-in-smallcaps-now/</link><pubDate>Fri, 24 Apr 2009 20:48:56 +0000</pubDate><guid>https://evan.wtf/2009/04/24/why-is-my-title-in-smallcaps-now/</guid><description>&lt;p&gt;&lt;del&gt;Wordpress is doing something weird now. Yesterday the head of the site was not in all caps, and today it is.&lt;/del&gt;&lt;/p&gt;&#10;&lt;p&gt;Hmm.&lt;/p&gt;&#10;&lt;p&gt;Ok, I figured it out. I guess I must have installed some new font on this computer - &amp;ldquo;Trajan Pro&amp;rdquo; - and the header was showing in that font. I deleted it from the stylesheet and now it defaults to Lucida Sans Unicode, which is what I wanted.&lt;/p&gt;</description></item><item><title>Time for Wordpress</title><link>https://evan.wtf/2009/03/27/time-for-wordpress/</link><pubDate>Fri, 27 Mar 2009 12:15:30 +0000</pubDate><guid>https://evan.wtf/2009/03/27/time-for-wordpress/</guid><description>&lt;p&gt;Everybody else is doing it&amp;hellip;&lt;/p&gt;&#10;&lt;p&gt;I guess I&amp;rsquo;ll try converting my old posts to this thing and ditch the old page.&lt;/p&gt;</description></item></channel></rss>