One of my clients' sites has suddenly and for no apparent reason decided to disregard the custom permalink structure when you add a new post. The permalink structure is set to /%postname%/ So whereas the normal behavior when you create a new post called "New Post" and save it would be to generate a permalink like http://www.mysite.com/new-post/ now it's creating default permalinks like http://www.mysite.com/?p=5709
I tried changing the custom permalink setting to something else, saving it, and changing it back, and it didn't correct the issue. I've found that manually changing the permalink in the post editor to the correct one works, and you can then visit the page at that new permalink.
So apparently there's some setting or glitch that's causing the editor to generate the wrong permalink. Any thoughts?
Thanks so much!