• Resolved ScytheZ

    (@scythez)


    Hello,

    i have a wordpress (latest version) site with 6 plugins which i developed on wamp on localhost. I have uploaded the files and db to a domain (changed all db entries in options to point to the new site) and all things work fine except the language switcher which is set on the header menu and still points to https://localhost or https://localhost/en.

    Also if i leave the Detect browser language setting activated it automatically redirects me to localhost.

    If i type manually /en on the domain it works as it should also every post / page / category works as intended.

    The only thing that still points to localhost is the switcher on both languages.

    I have disabled all the plugins, except polylang and also reverted to the default theme (2017) with no succes. Is there anything else i can try? My checked options on the menu entry are: Displays language names, Displays flags and hides the current language.

    Also pll_home_url() redirects to localhost… although in my db home was set to the new domain.

    Any help is greatly appreciated!

    • This topic was modified 6 years, 6 months ago by ScytheZ.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Localhost remains on the language switcher in menu’ is closed to new replies.