• Hi,

    I’ve a trouble.
    Indeed, in my PHP file, i’m dynamically constructing an URL for a custom breadcrumb like '<a href="'.get_site_url().'?p='.$target_id.'&lang='. $this->lang .'">'.$target_name.'</a>'
    When I’m hovering my breadcrumb everything is fine i see at the bottom of my browser an URL like https://my-wordpress-website/?p=xxx&lang=en BUT when I click the link the URL is changing on https://my-wordpress-website/?p=xxx&lang=en and the site switch on the default language without the en language.
    I’ve try many solutions like commenting lines in formatting.php or removing wptexturize filter, in vain.

    Have you a solution to deal with ?

    Thanks by advance.

    Regards,

  • The topic ‘Stop converting & in &’ is closed to new replies.