Wordpress Arabic url is not working in windows iis server

Auto-Install Applications > Wordpress


URLS with Arabic slugs are going to 404 on IIS windows server and working fine on Apache server.

when you Arabic in URL like /ar/product-categories/الأرز/

it is redirecting to 404 when you edit the slug into English it's working



This issues is caused due to IIS does not recognize the multi language urls, so

Try adding the following code at the end of the wp-config.php file:

if ( isset($_SERVER['UNENCODED_URL']) ) {