diff --git a/source/Simple301/Client/app.html b/source/Simple301/Client/app.html
index a46916a..98a332b 100644
--- a/source/Simple301/Client/app.html
+++ b/source/Simple301/Client/app.html
@@ -81,6 +81,19 @@
{{redirects.length}} rows
+
+
+
+
+
+
+
+
Error : {{errorMessage}}
+
+
+
+
+
diff --git a/source/Simple301/Core/RedirectRepository.cs b/source/Simple301/Core/RedirectRepository.cs
index fa4759b..b615c8c 100644
--- a/source/Simple301/Core/RedirectRepository.cs
+++ b/source/Simple301/Core/RedirectRepository.cs
@@ -227,7 +227,7 @@ private static Redirect FetchRedirectByOldUrl(string oldUrl, bool fromCache = fa
var query = "SELECT * FROM Redirects WHERE OldUrl=@0";
if (fromCache)
- return _cacheManager.GetAndSet(CACHE_CATEGORY, "OldUrl:" + oldUrl, () => FetchRedirectFromDbByQuery(query, oldUrl));
+ return _cacheManager.GetAndSet(CACHE_CATEGORY, "OldUrl:" + oldUrl.TrimEnd('/'), () => FetchRedirectFromDbByQuery(query, oldUrl.TrimEnd('/')));
return FetchRedirectFromDbByQuery(query, oldUrl);
}