home_url always return to default language main site
-
Hello.
I found some problem with my theme which using Polylang. At my own private test server everything is working fine, but when I move it to client server something is going wrong.
As standard I using:
<a href="<?php echo home_url('/'); ?>"></a>
… to return to main page. It’s not a static page. It’s coded in index.php
When I browsing site in default language (pl-PL) everything working fine, but when I change language to en-GB and I go for example to: https://www.site.pl/en/contact/ and when I try to return to main page by clicking logotype it’s returning me to https://www.site.pl not to https://www.site.pl/en/Please help me cause it’s frustrating me, cause I tried everything what I knowed that could help.
- The topic ‘home_url always return to default language main site’ is closed to new replies.