Not logged in. · Lost password · Register
Forum: General Help and Support Plugins Plugin Wishlist RSS
Reindex all pages
Avatar
Daulken #1
Member since Mar 2015 · 5 posts
Group memberships: Members
Show profile · Link to this post
Subject: Reindex all pages
Hey all,

What I'm looking for is probably fairly easy, but I'm really busy and I don't actually know PHP (I can read it reasonably well, but I think this would take me way longer than it would for someone else).

Anyway, my game wiki is about 80% code generated, so the vast majority of my site is externally edited, so Backlinks just don't work well (despite the fact that I try and use them extensively).

I'm looking for a simple plugin that will go through and reindex the entire site (using the sitemap).

I can't imagine it would take more than about 10 lines of code to just do a quick and dirty version 1.0.  Then, if it's popular you could expand on it and use regex for pages to skip, or to include, or whatever.  Maybe starting namespaces, etc.  For me though, the site is only about 400 pages (most under 1k), so I'd be fine with it just doing everything.

NOTE:  Deleting the indexes forces them to reindex once the page is edited, but the pages are usually never edited directly, so that isn't a solution for me.

I'd offer a bounty, but I don't know what's appropriate.  It's worth a little bit to me just to save me having to learn enough PHP to do it, so if it's as easy as I suspect it would be, someone will get nicely rewarded.  If it's way more complex, feel free to let me know and I'm sure I'll come up with something more specific.

--Andy
Avatar
turnermm (Moderator) #2
Member since Oct 2009 · 4688 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
There is a searchindex  plugin.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
Daulken #3
Member since Mar 2015 · 5 posts
Group memberships: Members
Show profile · Link to this post
Thank you.  I searched for reindex, rebuild index, etc. and didn't come up with anything.

Didn't even occur to me that search would be the main reason people might want to do that.

--Andy
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-08-21, 18:09:11 (UTC +02:00)