Announcement! Join the forum - sign up here and start posting!

Block AdSense on your computer

Tips, tricks & tools 2 Comments »

If you monetize your websites using Google AdSense, the last thing you want to do is accidently click your own ads. To completely disable AdSense on your PC, here’s what your should do.

1. Open your hosts file using Notepad. Depending on what version of Windows you’re using, it can be found here:

Windows 95 - C:windows
Windows 98 - C:\windows
Windows Me - C:\windows
Windows 2000 - C:windows\system32\drivers\etc
Windows XP - C:\windows\system32\drivers\etc
Windows NT - C:\winnt\system32\drivers\etc
Windows Vista - C:\winnt\system32\drivers\etc

2. Paste this at the bottom of the file:

127.0.0.1 pagead2.googlesyndication.com

3. Restart your browser - AdSense should be GONE!

Backup your hosted Wordpress.com blog including images

Tips, tricks & tools No Comments »

It’s easy enough to backup the text content of a Wordpress.com blog using Manage > Export to download it in XML format - this can easily be imported into any recent version of Wordpress. But if you want to backup all the images you’ve uploaded to Wordpress.com without downloading them one by one, download and install the excellent Firefox extension DownThemAll, then go to your Wordpress blog’s Manage > Media Library page and set DownThemAll to download all your image links on the page.

Another free visitor map widget

Tips, tricks & tools No Comments »

I’ve been playing around with the free visitor map widget from amung.us. It takes about 15 seconds to setup, and has several reasonably nice looking themes - go here and check it out.

Wordpress trailing slash

Tips, tricks & tools 5 Comments »

Wordpress trailing slash

If you’ve recently updated your Wordpress site, you might have noticed that there’s a trailing slash missing from your page urls. Pages are now domain.com/page instead of domain.com/page/. The folks at Wordpress don’t seem to think this is a very big deal, but for anyone with even the slightest interest in SEO and duplicate content - then you’ll be tearing your hair out trying to fix it (at least I was). I messed around with the Wordpress link-template.php file, and fixed the problem, but also created a new one while I was at it. Just as I was about to give in and learn to live without my beloved trailing slash, I found a simple plugin from Peter Claus Lamprecht that totally fixes the problem. Unless you can read German, you’ll never find the plugin on his site - but if you click here, then it’s all your. Thanks Peter!

Sitemap autodiscovery using robots.txt

Tips, tricks & tools No Comments »

Do you use xml sitemaps on your website? Google, Yahoo, and MSN now all support sitemap autodiscovery via robots.txt. All you need to do is add one line to your robots.txt file:

Sitemap: http://www.domain.com/sitemap.xml

Where are your eBay commissions coming from?

Tips, tricks & tools 5 Comments »

CJ report analyzer for eBay sales

Ever wondered what auction items your visitor are buying from your Commission Junction eBay links? I made a really simple form that reads a Commission Junction CSV report and links to each eBay auction that you’ve received a commission for.

» Try it here.

Park a domain on a cPanel addon domain

Tips, tricks & tools No Comments »

I recently tried to park a domain name on a cPanel addon domain - which seemed like a good idea until I found out that not only was it impossible, but it also left a rogue ‘hidden’ DNS entry somewhere in my reseller account. I eventually worked out how to do it using htaccess.

This method will 301 your empty “parked” domain, to another addon domain - so parked.com/whatever will 301 to www.domain.com/whatever.

  • Create a normal addon domain using cPanel e.g domain.com, and upload your content
  • Add the domain you want to park as an additional addon domain e.g parked.com
  • Drop the following htaccess file in the ‘parked’ domain directory

RewriteEngine on
RewriteCond %{HTTP_HOST} ^parked.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.parked.com$
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

Directory submissions made easy

Browser news, Tips, tricks & tools 1 Comment »

InFormEnter is a great little plugin for Firefox that adds a drop down list of ‘pre-filled’ fields to help you fill in forms more quickly. It saves heaps of time when manually adding your site to directories, and it’s so intuitive to use that you can zone out completely and work zombie style.

Make your PHP pretty

PHP, Tips, tricks & tools No Comments »

Another nice little PHP tool is PHPFormatter, where you can paste in your messy PHP and it will format it to several preset styles (including PEAR). This is really a great tool for those of us that write really messy code, and then can’t work it out a few days later.

IE7 preview

Browser news, Tips, tricks & tools No Comments »

Daniel Vine, creator of the excellent iCapture Safari preview tool has added an IE7 version called ieCapture - so now you can preview your sites in Internet Explorer 7 without having to install IE7.

WP Theme & Icons by N.Design Studio
RSS (non commercial use only!) | Contact