Google Tutorials
Fun With Google Code Search
As programmers we've all had days that don't go well. You found out the hosting provider switched a setting that blows up a customer's website. That piece of code that you swore worked fine yesterdays in now causing you fits. Your coworker accidentally wrote...
Initiating PHP Sessions Without Sacrificing Your Page Rank
A while back I had been working on a website project that required an authentication login system. In order for the login system to properly operate every page of my site needed to check to see if there was a session created and the user...
Google Grabber — Using PHP to Find Out How Many Pages Your Domain Has Listed in Google
Most bloggers make an effort to get as many pages listed on Google as possible. Benefits of being listed in Google may include:Increased blog visitsIncreased ad clicksBroadened visitors / audienceIncreased article commentsIncreased referral revenuesUsing a short amount of PHP code, you can query Google to retrieve...
No WWW Using .htaccess
There are some clear benefits to removing the "www" from your URLs: Shorter URLs Prevention of Google search engine penalties for duplicate content Less bandwidth usage if you have many links per page Luckily, removing the WWW from your page URLs (and subsequent Google listings) can be done inside your...
(Ab)Using Google To Find Free MP3 Files
I'm not one for posting hacks to illegally attain warez, mp3s, and eBooks, but a coworker showed this to me and I wanted to share it.You can find MP3s using Google's advanced search capabilities. Say you're looking for some great Rod Stewart music. You'd...
Generate Search Engine Friendly URLs with PHP Functions
Generating search engine friendly (SEF) URLs can dramatically improve your search engine results. There's a big difference between "/post.php?id=2382" and "/great-php-functions/". Having search engine friendly URLs also gives the user an idea of what will be on the page they are clicking on if...
Thank you, Google!
Google is finally picking up on my old domain's .htaccess file (its 301 redirects) and changing all of the old site's article URLs to this new domain. It's about time! Took about two weeks, and there are plenty of posts...
Secure (SSL) Google Analytics
Google Analytics is a tremendous tool, especially when your customer wants an eCommerce website. Analytics is even more powerful when your customer uses Adwords to drive in traffic.Google provides the following code for you to add to your page footer so that Analytics can grab...