简体   繁体   中英

wordpress permalink redirect to home page if there have any unicode characters

i have a client who recently change his host server and face a werid problem. i belive it's all happend for unicode characters.
Ex: http://example.com/wp-content/uploads/2014/07/dog-meghivo-430x430.jpg (it's show a images because it's don't have any unicode characters) but when a unicode characer is avaliable in url it's not showing any images and redirect to homePage.

Problem: http://example.com/wp-content/uploads/2014/07 /dôg-meghivo-430x430.jpg (ô)
so i want to know how to fix this .i search many time in google for this topic but i can't find the solution. Thank

it's a new bug on the new version of WordPress. It's happened because you changed your permalink after changing your server. The solution is to Upload your post image again and update the post. It's should work fine after that. But you can try to change your permalink setting's to post id

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM