almost perfect for my needs, fast and lightweight
-
my only problem was the loss of query-params when I share a link without language-slug
i changed redirect_uncanonical in class-site.php:$query_string = parse_url($_SERVER['REQUEST_URI'], PHP_URL_QUERY);
if (!empty($query_string))
$query_string = '?' . $query_string;
wp_redirect($url . $query_string);
orginal was just wp_redirect($url);
//don’t just copy this code ;-P should be done a bit more beautiful but solved my needs
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this review.