diff --git a/lib/plugins/helper/full_url_for.js b/lib/plugins/helper/full_url_for.js
index <HASH>..<HASH> 100755
--- a/lib/plugins/helper/full_url_for.js
+++ b/lib/plugins/helper/full_url_for.js
@@ -3,7 +3,7 @@
 const { parse } = require('url');
 
 function urlForHelper(path = '/') {
-  if (path[0] === '#' || path.startsWith('//')) {
+  if (path.startsWith('//')) {
     return path;
   }
 
diff --git a/test/scripts/helpers/full_url_for.js b/test/scripts/helpers/full_url_for.js
index <HASH>..<HASH> 100755
--- a/test/scripts/helpers/full_url_for.js
+++ b/test/scripts/helpers/full_url_for.js
@@ -29,6 +29,6 @@ describe('full_url_for', () => {
   });
 
   it('only hash', () => {
-    fullUrlFor('#test').should.eql('#test');
+    fullUrlFor('#test').should.eql(ctx.config.url + '/#test');
   });
 });
feat(helper): hash url should have config.url prefixed