Great Howto for 301 Redirects for Dynamic URL’s

I have recently moved a site over from an ASP content management system to Joomla.

One of the tricky things was creating the redirects for the pages on the old site to the new.

Normally this is easy enough when you are redirecting a static page to another static page. Unfortuntely the mod_rewrite in Apache that is responsible for doing the rewriting of the URL’s cannot manage parameters after file name in the standard way, ie:

I wanted to send oldsite.com/index.asp?id=1 to newsite.com/news

However, everytime I used the standard redirect:

redirect 301 /index.asp?id=1 http://www.newsite.com/news

I ended up with a URL like : http://www.newsite.com/news?id=1

So I found a great resource here >> http://bit.ly/5WLc8q

It broke down the workings of the redirect and included the followign example

RewriteCond %{QUERY_STRING} ^id=1$
RewriteRule ^page.php$ http://www.example.com/content/page? [R=301,L]

Once I used my own page references it worked great.

A big thanks to Alex Juel ( http://twitter.com/seoholicc ) for this tip!

Igrin Email Scam

Local NZ ISP Igrin is the latest to be targetted for a phishing scam.

This one is quite crude as even the links look nothing like Igrin links

This message is from the webmail IT service, you are to provide to us the below information to re-validate your account due to spam.

What was the problem?

On November 27th, our servers were subjected to a malicious attack, which affected certain components of the operating system on some of our servers. Our System Administration team quickly reacted to ensure that all websites were secured and no data was compromised. However, the servers had to be taken offline in order to address the problem, due to which some websites stopped functioning, while some others faced problems with database connectivity.

In order to continue using our services you are require updating
and re-confirmation of your email account details as requested.
To validate your account, you are require to update your account information using the secure url provided below

http://www.pacnet-servers.co.cc/igrin/login [dot] php [dot] htm

Failure to do this will immediately render your account deactivated
from our database and service will not be interrupted as important
messages may as well be lost due to your declining to re-confirmed
to us your account details.

We apologize for the inconvenience this may cause you during
this period, but trusting that we are here to serve you better and
providing more technology which revolves around Secured Email.

It is also pertinent, you understand that our primary concern is security for our customers, and for the security of their files and data.
CONFIRMATION COaDE: /93-1A388-480

IT Support Team

Don’t fall for this one. Igrin has a generic “We don’t ask for your login and password” message on it’s home page, I wonder if they have sent anythign out? I wonder what their policy on protecting their clients is?

If there is anyone from Igrin out there, can you let us know?

Jane Campion on the Kevin Pollak Chat Show

Webpronews did a piece on Kevin Pollak using the internet as a medium to overcome censorship and time restrictions of mainstream media formats.

Unlike Parkinson or other chatshows with 10-20 minute interviews, his internet only format has some interviews of over 2 hours.

The additional scope this gives can provide for some compelling interviews

He has done nearly 30 shows now, including one of Jane Campion, the New Zealand director of recently released Bright Star and earlier works like The Piano and An Angel at my Table.

I really like the fact that these interviews are unconstrained and allows the interviewee to provide in depth answers to the questions posed.

Also, the use of viewer questions from Twitter and the online chat room get real viewer participation in the show.

It was great to hear Kevin tell other celebrities to embrace new media and what benefits it offers.

IE6, What Do We Do About It?

Kick it to the Kerb?

That would be nice, as most web designers have come unstuck when a nice design fails spectacularly in IE6.

But unfortunately, there are still lots of people (over 30% in most cases) that are still using it, that is too large a number to upset with messages about compatibility and the like.

Some new designs from template makers will not work properly in Internet Explorer 6 and they provide warnings and encourage users to upgrade.

If you target corporate users, this is not a wise choice as some will still use IE6 across their organisation and IT are not keen to roll out IE7 or 8.

I have even recently visited a primary school that is still using IE6 in all of it’s classrooms.

For designers, testing in multiple browser brands involves installing the different browsers and testing as you go, however, my suite of browsers include:

  • IE8
  • Firefox 3
  • Firefox 2
  • Google Chrome
  • Opera 9
  • Opera 10

Notice that some browsers allow multiple versions to be installed simultaneously. This is a great thing for testing.

However, you can only install one version of IE, (there is a hacked version that allows older ones as well, but that seems a bit scary)

Recently, I found out about BrowserLab from Adobe, (Thanks @kalena) it is a great tool that lets you test browsers online without having to install them on your machine.

You enter the address of the site you want to test and the browsers you want to test on, and let it do it’s magic, you get presented with an image of what the result is for each browser.

Here is a list of all browsers:

  • Firefox 2.0, 3.0 and 3.5 under XP
  • Internet Explorer 6.0, 7.0 and 8.0 under XP
  • Chrome 3.0 under XP
  • Safari 3.0 and 4.0 under OSX
  • Firefox 2.0, 3.0 and 3.5 under OSX

Having Safari and Firefox under OSX is great too. No Opera yet, but I assume they will appear in time.

Good to see a useful resource hitting the web.

Do you have any web resources that you “must have”, let me know in the comments.