diff --git a/ckanext/odsh/templates/header.html b/ckanext/odsh/templates/header.html
index c3bf96bc82f0aed61da556b5c5c0147f1afd977a..7694a4b54f157ce057a37c63e0748831a2e30392 100644
--- a/ckanext/odsh/templates/header.html
+++ b/ckanext/odsh/templates/header.html
@@ -77,7 +77,7 @@
                   <circle cx="27" cy="17" r="7.5" />
                   <path d="M42.5,44.5h-31v-6.4c0-4.7,3.9-8.6,8.6-8.6h13.9c4.7,0,8.6,3.9,8.6,8.6V44.5z" />
                 </svg>
-                <a href="{{ h.url_for('user.read', id=c.userobj.display_name) }}" aria-label="{{ _('View profile') }}" title="{{ _('View profile') }}" role="menuitem">
+                <a href="{{ h.url_for('user.read', id=c.userobj.name) }}" aria-label="{{ _('View profile') }}" title="{{ _('View profile') }}" role="menuitem">
                   <span class="text">
                     {{ _('View profile') }}
                   </span>