diff --git a/fcrepo-http-api/src/main/resources/views/common.js b/fcrepo-http-api/src/main/resources/views/common.js
index <HASH>..<HASH> 100644
--- a/fcrepo-http-api/src/main/resources/views/common.js
+++ b/fcrepo-http-api/src/main/resources/views/common.js
@@ -140,7 +140,7 @@ function checkIfNonRdfResource(e) {
     var url = this.href;
 
     $.ajax({type: "HEAD", url: url}).success(function(data, status, xhr) {
-        if (status != "success") {
+        if (status != "success" || xhr.getResponseHeader("Link") == null) {
             location.href = url;
             return;
         }
Fixed javascript bug that broke certain links in the HTML UI.