Redirect to default page if referer isn't set

Instead of displaying `You should be redirected to <a href=""></a>`
Merge pull request #389 from HungryFeline/patch-1

Redirect to default page if referer isn't set