WikiJournals maintain several domains that redirect to Wikiversity pages:
http://www.wikijmed.org → WikiJournal_of_Medicine
http://www.wikijsci.org → WikiJournal_of_Science
http://www.wikijhum.org → WikiJournal_of_Humanities
However, the registrar (godaddy) has an issue where a random 5-character string is added as a subpage (on approx 1% of attempts). Obviously on a wiki, this just goes to a non-existent subpage.
Is there any way to create an extension to redirect incoming links of a particular type to non-existent subpages of a specific page? I don't know much about the back end of mediawiki, but here's an example of someone else's PHP fix here. Any ideas or suggestions welcomed!