Title: Header logo hyperlink
Last modified: June 26, 2018

---

# Header logo hyperlink

 *  Resolved [bencico](https://wordpress.org/support/users/bencico/)
 * (@bencico)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/header-logo-hyperlink/)
 * Hi,
    On my site, after I define a logo for the header, the hyperlink ends with
   a “/”, so the url is something like “[http://mysite.domain//&#8221](http://mysite.domain//&#8221);.
   This by itself won’t be a big problem, but I would like to use WPML with the “?
   lang=[lang-code]” method. As a result, surfing the site on the non-default language,
   my url for the logo becomes “[http://mysite.domain/?lang=en/&#8221](http://mysite.domain/?lang=en/&#8221);,
   which resolves as “[http://mysite.domain/?lang=en%2F&#8221](http://mysite.domain/?lang=en%2F&#8221);,
   which gets redirected to the default language (not the one, I was using until
   this point). Can you help me with this?

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/header-logo-hyperlink/#post-10436843)
 * Hi bencico,
    Are you able to post a link to your site? Thanks!
 * Hannah
 *  Thread Starter [bencico](https://wordpress.org/support/users/bencico/)
 * (@bencico)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/header-logo-hyperlink/#post-10437689)
 * Hi Hannah,
    Sure, it’s [http://legalteam.dev7.artdev.arteries.hu/](http://legalteam.dev7.artdev.arteries.hu/)
   Thank’s for looking into this! Bence
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/header-logo-hyperlink/#post-10441396)
 * Hey,
    In your settings > general what is your Site Address (URL).
 * You shouldn’t have a double // so something isn’t set up right.
 * Ben
 *  Thread Starter [bencico](https://wordpress.org/support/users/bencico/)
 * (@bencico)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/header-logo-hyperlink/#post-10442750)
 * For me the settings seem to be ok.
    `WordPress address (URL): http://legalteam.
   dev7.artdev.arteries.hu` `Site address (URL): http://legalteam.dev7.artdev.arteries.
   hu`
 *  Thread Starter [bencico](https://wordpress.org/support/users/bencico/)
 * (@bencico)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/header-logo-hyperlink/#post-10442771)
 * If I take out the `/` from `.../wp-content/themes/virtue/templates/header.php(
   37,87)`, then it fixes it for me… but of course, I don’t want to modify the core.
 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/header-logo-hyperlink/#post-10444365)
 * Have you modified your htaccess file at all? Have you tried activating another
   theme to see if this issue still occurs?
 * Hannah
 *  Thread Starter [bencico](https://wordpress.org/support/users/bencico/)
 * (@bencico)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/header-logo-hyperlink/#post-10444599)
 * The htaccess file is not touched, it’s the default; I’ve just tried activating
   the twenty seventeen, and there I don’t have this issue.
 * Bence
 *  [hannah](https://wordpress.org/support/users/hannahritner/)
 * (@hannahritner)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/header-logo-hyperlink/#post-10445146)
 * Hmm, I haven’t heard of others experiencing this so it’s hard to know. The developer
   is currently backpacking, but I will have him do some testing on Monday and get
   back with you.
    Thanks for your patience!
 * Hannah
 *  Thread Starter [bencico](https://wordpress.org/support/users/bencico/)
 * (@bencico)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/header-logo-hyperlink/#post-10445933)
 * Hi Hannah,
    Thank you very much. I really appreciate your effort to help, this
   feels more like premium support, than some “premium support” I’ve experienced
   other places. Bence
 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/header-logo-hyperlink/#post-10456363)
 * Thanks for posting!
 * I’ve just pushed out a fix for this.
 * Ben
 *  Thread Starter [bencico](https://wordpress.org/support/users/bencico/)
 * (@bencico)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/header-logo-hyperlink/#post-10456969)
 * Hi Ben,
    Thank you very much 🙂 Bence

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Header logo hyperlink’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/virtue/3.4.15/screenshot.png)
 * Virtue
 * [Support Threads](https://wordpress.org/support/theme/virtue/)
 * [Active Topics](https://wordpress.org/support/theme/virtue/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/virtue/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/virtue/reviews/)

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [link](https://wordpress.org/support/topic-tag/link/)
 * [logo](https://wordpress.org/support/topic-tag/logo/)
 * [multilangual](https://wordpress.org/support/topic-tag/multilangual/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * 11 replies
 * 3 participants
 * Last reply from: [bencico](https://wordpress.org/support/users/bencico/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/header-logo-hyperlink/#post-10456969)
 * Status: resolved