404 error: Wordpress not showing Persian (Unicode) URLs correctly on IIS

If you're using IIS as your default web server and your Unicode URLs are redirecting to a 404 error page, you just need to add the following block of code to your wp-config.php page: if($_SERVER) $_SERVER = $_SERVER; No need to say that you should install URL Rewrite on IIS and then restart the service. This will set everything back

Reza Reza

Joyce’s juicy letter to Nora Barnacle

16 December 1909: 44 Fontenoy Street, Dublin My sweet darling girl, At last you write to me! You must have given that naughty little cunt of yours a most ferocious frigging to write me such a disjointed letter. As for me, darling, I am so played out that you would have to lick me for a good hour before I

Reza Reza

From Seamus Heaney’s Nobel speech

One of the most harrowing moments in the whole history of the harrowing of the heart in Northern Ireland came when a minibus full of workers being driven home one January evening in 1976 was held up by armed and masked men and the occupants of the van ordered at gunpoint to line up at the side of the road.

Reza Reza

My Pick

Weather
9 °C
Tehran
scattered clouds
9° _ 9°
42%
2 km/h
Fri
13 °C
Sat
11 °C
Sun
4 °C
Mon
2 °C
Tue
1 °C

Discover

404 error: Wordpress not showing Persian (Unicode) URLs correctly on IIS

If you're using IIS as your default web server and your Unicode URLs are redirecting to a 404 error page, you just need to add the following block of code

Reza Reza