I switched to permalinks today and first everything seemed to be fine. After a while i realized that some of the permalinks use names of pages long deleted (not listed in the backend anymore). The link points to a non existent pagename but WordPress still finds the right page (with the wrong name in the url), displays it and the highlighting of the navigation also works.
Other side effects: all images are gone (not in the source, but they are not displayed) and it takes about 20 seconds until a page has loaded completely (before: about 1-2 seconds).
The number of posts dealing with permalink issues is overwhelming yet i coudn't find anything yet dealing with the above. Letting WordPress create a new .htaccess didn't help (that's what one would have supposed anyway).
The only place where these pagenames still exist is the database. Is there a way to clean the wp_posts table and just keep what still is effectively in use (public & private)? I tried this once manually - ending up with the need of reinstalling.
The missing images indicate that some manual adjustment has to be done. Ok then, i didn't search on this one yet.
Any ideas about the "old pagename in permalink" thing and getting rid of all these entries in wp_posts table?