url
Google URL Shortening Service Class In PHP
Wed, 01/12/2011 - 18:48 | by philipnorton42Google has very recently released access to the API for their URL shortening service (ie, just a couple of days ago) so I have put together a class that allows access to that API. The official site is goo.gl; where you can manually go and enter your own URL's.
Wordpress Permalinks SEO Best Practice
Fri, 03/12/2010 - 11:41 | by philipnorton42Setting up a permalinks structure in Wordpress one of the things I normally do right after installing a blog, before event getting started on the templates. However, I always seem to forget what to put in the box so I thought I would put this here to remind myself and to go over the best practices on your own site in terms of SEO.
To set the permalinks on your Wordpress install go into Settings > Permalinks and enter the following into the Custom Structure field.
Google Last Cached Date Finder In PHP
Fri, 09/04/2009 - 12:47 | by philipnorton42When Google looks at a page it takes a snapshot of that page and uses this to match against the query a user entered. To view these cached pages run a Google search and look at the Cached link next to the green URL text of the result. When you view the cached page Google will also give you a date that the page was last cached on. This can be used as a metric of your sites importance as the more often the site is cached, the more favourable Google views your page.
PHP Class To Interact With is.gd API
Tue, 07/28/2009 - 16:25 | by philipnorton42The is.gd URL shortening service is yet another site that converts a long URL into a small one, but is.gd differs in that it generally produces smaller URLs than others. The is.gd API doesn't require that you create an account on the site, but there are one or two limitations to using the service that you should be aware of first. You can find out these limitations by reading the is.gd terms and conditions.
PHP Class To Interact With bit.ly API
Fri, 06/19/2009 - 21:34 | by philipnorton42There are a few URL shortening services about, of which bit.ly is just one. However, it does provide a nice API for developers to interact with the site. Not only is it possible to shorten URL's, you can also reverse them, find out information about the site and get information about how many people have used to link. The API requires you to create an account to interact with the API. Once you have created an account you can use the API service.
PHP Function To Get TinyURL
Fri, 06/05/2009 - 10:02 | by philipnorton42TinyURL is a service where you can convert a long URL string to a really small one. For instance, the following URL, which points to the Googleplex on Google Maps.
http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=googleplex&sll=37.579413,-95.712891&sspn=34.512672,45.615234&ie=UTF8&cd=1&z=16
Can be converted to the following.