Pagehandler Hijack

Warning: This plugin has't been updated in over 6 years. It may no longer be maintained.

What you can do to help:

Dynamically rewrite the "page handler" portion of a url

Last updated
Pagehandler Hijack settingsChange "friends" to "contacts" in the urlInbound links to /friends gets rewritten to /contacts, internal links are updated
Recommended Releases
Elgg Release Download Date Links
1.103.0 (8.93 kB)2015-Mar-22
1.92.0 (8.92 kB)2015-Mar-22
1.81.1 (6.24 kB)2013-Feb-24
Show all releases

This plugin allows an administrator to dynamically rewrite the page handler portion of the url simply by setting a replacement value in the settings.  Site internal URLs are updated to reflect these changes, inbound links to the original default page handler are redirected to the replacement handler.

Explanation

The elgg url system has 3 parts - the domain name, the page handler, and the page options.

eg. http://example.com/pagehandler/option1/option2?getvariable=value

Most textual parts of the Elgg url consist of the pagehandler, the remaining options usually being numerical IDs and usernames.  In essence, this plugin allows an administrator to replace that textual element with a different word.

The most common use case would be for someone who has renamed "groups" or "friends" and wants the corresponding URLs to reflect those changes.

Changing the page handler will account for 90% of all url instances of the wording.  Note however that this plugin cannot change name of the page options or variables at this time.

Matt Beckett

I'm a self-employed web developer, family man, nerd, scuba diver. Manager/maintainer of this elgg community site, and core Elgg development team member.

Stats

  • Category: Misc
  • License: GNU General Public License (GPL) version 2
  • Updated: 2015-3-22
  • Downloads: 1795
  • Recommendations: 16

Other Projects

View Matt Beckett's plugins