Todo #10157
closedSetup new redirect subdomain and processes
100%
Description
We currently use pfsense.org to host a file "j.php" which redirects requests to the appropriate (usually help) resource. For example, clicking the "Help ->FreeBSD book" menu item links to https://www.pfsense.org/j.php?jumpto=fbsdhandbook
We need to recreate this functionality on the netgate.com domain. The cleanest and more secure way to do this seems to be to setup a new subdomain, E.g.: redirect.netgate.com which will point to a new NGINX block on www.netgate.com The redirects provided will be synced with a file maintained in GitLab providing the ability to update the redirects without touching the server.
This redirect system will also be used to redirect the new user survey.
Updated by Jim Pingle almost 5 years ago
I don't think it actually uses the php file now but nginx redirects, so we might also want to take the opportunity to make better URLs to use in the menu for redirecting in general not just changing the hostname of the server. For example, redirect.netgate.com/book, or redirect.netgate.com/go/book or along those lines.
Updated by Anonymous almost 5 years ago
Sounds good. As soon as we get the OK on the subdomain from IT I'll update the URLs
Updated by Jim Pingle almost 5 years ago
There is still one remaining reference after f07e6d64f0f94fe7f58fc7ada12d42bcf705dc88
src/usr/local/www/head.inc:425: $help_menu[] = array(gettext("Bug Database"), "https://www.pfsense.org/j.php?jumpto=redmine");
Updated by Jared Dillard almost 5 years ago
- Status changed from New to Feedback
- Assignee changed from Jared Dillard to Anonymous
I added the redirect for "Bug Database" using the new process and replaced the redirect in the code. Everything seems to be operational.
Updated by Jim Pingle almost 5 years ago
Updated by Jim Pingle almost 5 years ago
- Status changed from Feedback to Resolved
URLs in Help menu are good now on 2.5.0 and 2.4.5.