fixed issue when using old URL style.

When using old URL the hash didn't function. redirect was added in order
to support new format.