Pagehandler Hijack

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

What you can do to help:

Dynamically rewrite the "page handler" portion of a url

Last updated

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: 1970-1-1
  • Downloads: 2013
  • Recommendations: 16

Other Projects

View Matt Beckett's plugins