modrewrite weirdness with pingback
|Reported by:||matija||Owned by:|
i'm gonna describe my problem and solution i make:
i wrote a 'page' about something, doesn't matter, let's name it 'lookme'. this page was accesible via modrw url mydomain.com/lookme. after some time, i decided to migrate it to 'post'.
i rename page name and page slug, added -old at the end. new url/name is now mydomain.com/lookme-old. i rename it while i was copying data to new one, then i delete old 'page' so only the new 'post' exists.
since then, no pingback come to this post. i check server settings, xmlrpc.php, upgrade wp to 2.2.2, nothings happen. i go deeper in code, and i found, that function url_to_postid returns nothing, while in db, i still found 'lookme-old'.
solution that works for me: i deleted row from wp_options (rewrite_rules), and generate new one via admin > options > permalinks. now works fine.
problem, i think, or solution: should you delete 'old' rules if some page is deleted and recreate another one?
Change History (4)
10 years ago
- Milestone 2.4 (next) deleted
- Resolution fixed deleted
- Status changed from closed to reopened