Added check if exists resource with alias generated as hash for URL.