Issue:
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
Solution:
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']) ) {
$_SERVER['REQUEST_URI'] = $_SERVER['UNENCODED_URL'];}
Article ID: 1967, Created: March 25, 2018 at 8:28 PM, Modified: March 25, 2018 at 8:28 PM