php – WordPress 6.1.1 UTF8 Slug Limit Increase

Question

I have recently updated my WordPress to 6.1.1 and my site uses UFT8 Characters (Thai) in permalink by increasing wp_posts -> post_name from 255 varchar to 3000 and also enabling

if ( isset($_SERVER['UNENCODED_URL']) ) {
$_SERVER['REQUEST_URI'] = $_SERVER['UNENCODED_URL'];}

in wp-config.php

after the update the WordPress I have lost the limit of varchar in post_name to 255 and pages started showing 400 bad request.

now after changing the post_name to 3000 again its still not working but only works if it resave the product page. Is there a way to solve this ?

reference website – https://delivery.doubleapaper.com/

specific product which shows 404 – (copy paste URL) delivery.doubleapaper.com/product/double-a-care-alcohol-%e0%b9%81%e0%b8%ad%e0%b8%a5%e0%b8%81%e0%b8%ad%e0%b8%ae%e0%b8%ad%e0%b8%a5%e0%b9%8c-%e0%b8%82%e0%b8%99%e0%b8%b2%e0%b8%94-20-ml-%e0%b8%a5%e0%b8%b2%e0%b8%a2%e0%b8%99%e0%b9%89

0
Asim 1 month 2022-12-29T10:37:58-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse