Deny wordpress comment posting to no referrer requests
December 3, 2008
If you’re a WordPress user, then you’re probably upset with the amount of daily spam comments. Sure, there’s akismet, but here’s a little .htaccess trick to prevent spammers posting on your wordpress blog. Simple paste the following code on your .htaccess file, located at the root of your WordPress install. Don’t forget to specify your blog url on line 4. Remember to ALWAYS create a backup when editing the .htaccess file. RewriteEngine On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI} .wp-comments-post\.php* RewriteCond... [Read the full story]
Create a Dynamic META Description function For Wordpress
December 2, 2008
If you examine Google’s search result page, you’ll notice that the description (the text under the linked title) displays the page’s META description if present. Therefore, putting a different META description in each of your website’s pages is important if you want to attract clicks in search result pages where your site ranks. If your description complements the title well, you can attract more clicks. This blog uses this technique so if you go to any of my pages here, you’ll notice I have... [Read the full story]
Display how many times a wordpress post has been saved to Delicious
December 1, 2008
Are your blog posts popular? A good way to know it and take advantage of it is to display your Delicious.com save count. Sure, they provide a badge which allows you and your readers to know how many time your post was saved. In my opinion, the badge is ugly. Let’s display our save count in plain text. To get your Delicious save count in plain text, simply open the single.php file from your theme and paste the following code where you’d like the count to be displayed. Delicous.com saves: <span id='del'>0</span> <script... [Read the full story]




















