Want to hire someone to make a simple discourse plugin for me

AI-generated summary

The original poster, anon36895752, is looking to hire someone to create a Discourse plugin that redirects users to the top search result for a given query, similar to the search page. The plugin should perform a 301 redirect to the top result. anon36895752 is willing to pay via PayPal and will cover the fees.

gdpelican has since created the plugin, making it available on GitHub as “teleport.” anon36895752 has tested the plugin and reported that it works perfectly, even providing a PHP script to help with redirects when migrating from phpBB with SEO mod.

Hello,

I would like a plugin that works almost identical to the way the search page works, but slightly different. The plugin should do a search for the query, and then do a 301 redirect to the top search result. For example:
http://bassmusic.io/redirect?q=ableton+device+presets
would give the user a 301 redirect to:
http://bassmusic.io/t/ableton-device-presets/7537

Because that is the top result for:
http://bassmusic.io/search?q=ableton+device+presets

If anyone is interested in working on this please contact me with the amount of compensation you require and the timeline in which you could provide it. I can pay with paypal, and i will take the fee on my end so you get the full amount.

Thanks!

@kpfleming Thanks for letting me know.

I’ve completed this plugin, and made it available to anyone who wants to use it here:

http://github.com/gdpelican/teleport

10 Likes

Thanks James!

I’ve sent you the rest of the money. Plugin works perfectly.

If anyone happens to be migrating from phpbb with SEO mod, you can do all your redirects with a simple php script and this plugin.

<?php
header("HTTP/1.1 301 Moved Permanently"); 

$actual_link = basename($_SERVER['REQUEST_URI']);
$parts = explode('-',$actual_link);
if($_SERVER['REQUEST_URI'] == "/"){
	$redirect_url = "http://new.forum.url";
} else if(sizeof($parts) > 1){
	array_pop($parts); // remove the -t123.html
	$redirect_url = "http://new.forum.url/teleport/search?q=".implode("+", $parts);		
} else {
	$redirect_url = "http://new.forum.url";
}
header("Location: ".$redirect_url);
?>
4 Likes