pim redirect

The pim redirect wasn't working because it had to be a array but it was a string. For now it is an array also add an example to show to to define it.