bloginfo('url') gives wrong results
-
Hello everybody,
I am using bloginfo(‘url’); in my template to get the URL of the current homepage depending on the language chosen. This should bring people back to the homepage of the current language when clicking the site’s logo. See for example:
https://www.achteminute.de
https://www.achteminute.de/enUnfortunately, the function bloginfo(‘url’); gives https://www.achteminute.de/en/en when beeing in the English-language mode. This leads to a random English-language post, but not the homepage. When beeing in German language mode, it gives https://www.achteminute.de.
Is there any explanation for this error?
Thanx for your help
Philipp
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘bloginfo('url') gives wrong results’ is closed to new replies.