15 Mar

Search Engine Friendly Redirects – Custom 404s

There are three articles dealing with redirects to handle, see related posts for more information.

If you are going to move a page you will likely want to redirect visitors from the old page to the new in such a method that the search engines don’t get confused. Some of the ways they can get confused include:

  • Bringing up two copies of the same page. This is likely to trip a duplicate content penalty.
  • Using a temporary redirect. This means ‘the page has moved but will be back shortly – don’t update your index’.

A 301 permanent redirect is the redirection method recommended by the major search engines.… Read the rest

15 Mar

Search Engine Friendly Redirects – Directory Level

There are three articles dealing with redirects – see related posts for more information

If you are going to move a page you will likely want to redirect visitors to the old page to the new in such a method that the search engines don’t get confused. Some of the ways they can get confused include:

  • Bringing up two copies of the same page. This is likely to trip a duplicate content penalty.
  • Using a temporary redirect. This means ‘the page has moved but will be back shortly – don’t update your index’.

A 301 permanent redirect is the redirection method recommended by the major search engines.… Read the rest

15 Mar

Search Engine Friendly Redirects – File Level

There are three articles dealing with redirects to handle redirecing one file at a time, redirecting one directory at a time, and redirecting multiple pages easily.

If you are going to move a page you will likely want to redirect visitors to the old page to the new in such a methd that the search engines don’t get confused. Some of the ways they can get confused include:

  • Bringing up two copies of the same page. This is likely to trip a duplicate content penalty.
  • Using a temporary redirect. This means ‘the page has moved but will be back shortly – don’t update your index’.
Read the rest
07 Mar

Automating Database Updates Using ColdFusion

By: Nathan Johnson

Recently, I was asked to help automate some time consuming database update tasks for one of our Real Estate clients. They needed to ensure that their MLS listings were always up to date, but also couldn’t afford to take their site down while they were manually updating the database (imagine the data entry headache brought on by 1000 new MLS listings every day!). To further complicate matters, their hosting only supports ColdFusion, and can’t parse ASP or PHP pages. Thankfully, the concepts presented here are relatively straight forward and translate to PHP and ASP easier than the other way around.… Read the rest

07 Mar

Emulate Crontab Using ColdFusion

By: Nathan Johnson

Setting up automated scripts on Windows can be difficult. The built in scheduler is hard to set especially if you don’t have console access. An easier way is to set up the site so that the first person to navigate to the site each morning causes the script to run. This is actually really simple to do, and can be completely seamless for the end user. Simply use the script page as the source of a little 1px by 1px image hidden somewhere at the bottom of your site’s footer:

	<img src="http://www.mysite.com/dbupdate.cfm" width="1" height="1" border="0">

Even though the SRC of this “image” is not a real image file, the server doesn’t know that, so it still runs the page to accommodate the request, and doesn’t require your user to navigate through the page or require you to dump large blocks of code into each of your site’s pages.… Read the rest