[pmwiki-users] Search returns original page AND redirected page

Patrick R. Michaud pmichaud at pobox.com
Wed Aug 8 13:08:55 CDT 2007


On Wed, Aug 08, 2007 at 01:58:57PM -0400, the Other michael wrote:
> On my wiki -- search brings up the extant page [[NewPage]], and an old
> page that USED to have the same data, but now consists only of a
> (:redirect [[NewPage]]:) statement.
> 
> Most of these pages were "created" using the Rename recipe:
> http://www.pmwiki.com/wiki/Cookbook/RenamePage

Are you performing an actual search (i.e., with search terms), or 
simply getting a list of pages somehow?

If you're doing an actual search, then the old page shouldn't be
appearing unless it actually has the search term(s) in its text
somewhere.  So, that seems a little odd.

The RenamePage recipe is fairly old and doesn't cause the
.pageindex file to be updated with the information about the
newly renamed pages.  You might try removing the .pageindex 
file from wiki.d/ and see if that resolves the problem.
(But really, it shouldn't be a problem.)

Do you have any caching enabled on the site?

Is there a url we can look at?

Pm



More information about the pmwiki-users mailing list