Skip to main content
Robert's user avatar
Robert's user avatar
Robert's user avatar
Robert
  • Member for 11 years, 8 months
  • Last seen more than 11 years ago
  • Germany
awarded
awarded
comment
Wordpress Permalink changes to question mark (?) in URL
As you said probably php is not passing to mysql the correct encoding, I changed also in php.ini default_charset = "utf-8" but didnt solve it.
comment
Wordpress Permalink changes to question mark (?) in URL
I find the reason: this happens only when column wp_posts.post_name containts %d8%a8%db%8c which is in persian بی , so by removing %d8%a8%db%8c from post_name it works. maybe mysql has problem in finding this collation.
comment
Wordpress Permalink changes to question mark (?) in URL
in fiddler i can see that GET ahangbaz.com/1300/… HTTP/1.1 ----->>>> HTTP/1.1 301 Moved Permanently Content-Type: text/html; charset=UTF-8 Location: ahangbaz.com/1300/?-???-???? Server: Microsoft-IIS/7.5
comment
Wordpress Permalink changes to question mark (?) in URL
Do you have IIS 7.5 environment to reproduce ? it works for some posts like ahangbaz.com/1106/…
awarded
Loading…