problem with permalinks
-
i’m seeing some weird behavior, although i suspect it is “expected” behavior. here’s the situation:
i had a page, whose permalink was (eg) “credit-cards”. i had defined a number of pages that were “beneath” that one, defined as sub-pages with that one as the parent. hence, the permalinks were like so:
credit-cards/page-1, credit-cards/page-2, etc.i subsequently needed to create a category, with the permalink “credit-cards”. i changed the permalink on the old page to “credit-cards-old”, just to be sure there was no ambiquity.
so, now i have a category (url = “/credit-cards”) with posts in it. all of the previously created sub-pages are still live, and i can link to them successfully using “/credit-cards/page-1” etc.
here’s the problem: when that page (/credit-cards/page-1) comes up, the browser address bar contains its url/address as:
/credit-cards-old/page-1
this is bad. i want it to contain the correct permalink/url, which should be /credit-cards/page-1. i have tried hacking the database to remove the parent/child relationship between the old page and the its former sub-pages (changing “post_parent” in wp_posts), but that just results in a wordpress “not found” error.
anybody have any ideas how i can remedy this situation?
thanks so much in advance.
-laz
- The topic ‘problem with permalinks’ is closed to new replies.