Redirect old-forum and wiki search results to Pheonix as appropriate. - Printable Version +- QB64 Phoenix Edition (https://staging.qb64phoenix.com) +-- Forum: Chatting and Socializing (https://staging.qb64phoenix.com/forumdisplay.php?fid=11) +--- Forum: General Discussion (https://staging.qb64phoenix.com/forumdisplay.php?fid=2) +--- Thread: Redirect old-forum and wiki search results to Pheonix as appropriate. (/showthread.php?tid=429) |
Redirect old-forum and wiki search results to Pheonix as appropriate. - mpgcan - 05-18-2022 You know how it goes. Searching for a QB64 solution, search engines return results to the old-forum or old-wiki. Clicking the link only to be informed the server is not found. With the link returned, you can use part of it to search in either the new-wiki or old-backup forum. This has become very tedious. I thought there must be a better way. A simple solution is to use Einar Egilsson's Redirector for this. It is a browser add-on for Firefox, Chrome, Edge and Opera. The Redirector allows you to search for a specific URL, substitute it for another URL and force the browser to redirect to this new URL. How to install redirector on Firefox: 1) Use the following link to get the add-on https://addons.mozilla.org/en-GB/firefox/addon/redirector/ 2) Note: This add-on is not actively monitored for security by Mozilla. Check out the "Learn more" link. After reading your choice if you wish to continue. 3) Click the Add to Firefox button. 4) Add Redirector? This extension will have permission to: Click Add button 5) Redirector was added. Click the check box. Allow this extension to run in Private Windows Click Okay button. 6) A redirector symbol is displayed at the top right of the browser confirming it is successfully installed. Configuring redirector: Redirect from the old QB64 forum to Phoenix's old-archived read only working forum. 1) Click on the redirector symbol in the drop down click "Edit Redirects" button. 2) On the new browser page that opens, click "Create New Redirect" 3) Fill in the form with the following information: Configuration information: Description: QB64_forum_old_to_archive Example URL: https://forum.qb64.org/ Include pattern: https://forum.qb64.org/* Redirect to: https://qb64forum.alephc.xyz/$1 Pattern type: Wildcard click radio buttom Pattern Description: Leave blank Example result: https://qb64forum.alephc.xyz/ To complete it, click the "Save" button. 4) Click "Create New Redirect" 5) Fill in the form with the following information: Configuration information: Redirect from the old QB64 Wiki to Pheonix's new QB64 Wiki. Description: QB64_Wiki_old_to_new Example URL: https://wiki.qb64.org/wiki/ Include pattern: https://wiki.qb64.org/wiki/* Redirect to: https://qb64phoenix.com/qb64wiki/index.php/$1 Pattern type: Wildcard click radio buttom Pattern Description: Leave blank Example result: https://qb64phoenix.com/qb64wiki/index.php/ To complete it, click the "Save" button. 6) Finally disable the first configuration "Example redirect, try going to http://example.com/anywordhere" By clicking the "Disable" button. Test: Try the following two links in your browser: https://forum.qb64.org/index.php?topic=456.0 https://wiki.qb64.org/wiki/$IF All the best MPGCAN RE: Redirect old-forum and wiki search results to Pheonix as appropriate. - Pete - 05-19-2022 Looks like a useful plugin. I made my own in QB64... Code: (Select All) REM Opens google qb64.rip links in mirror site. Pete RE: Redirect old-forum and wiki search results to Pheonix as appropriate. - madscijr - 05-19-2022 (05-19-2022, 05:21 AM)Pete Wrote: Looks like a useful plugin. Very cool! Not only does it work and is useful, but I never knew QB64 could do that, and learned something knew. Thanks Pete RE: Redirect old-forum and wiki search results to Pheonix as appropriate. - madscijr - 05-19-2022 (05-18-2022, 02:37 PM)mpgcan Wrote: A simple solution is to use Einar Egilsson's Redirector for this. It is a browser add-on for Firefox, Chrome, Edge and Opera. The Redirector allows you to search for a specific URL, substitute it for another URL and force the browser to redirect to this new URL. Thanks for sharing this and explaining how to use it. This can come in handy for any number of things... RE: Redirect old-forum and wiki search results to Pheonix as appropriate. - madscijr - 07-22-2022 (05-19-2022, 05:21 AM)Pete Wrote: Looks like a useful plugin. I added support for the wiki links, and some options. Not as compact and elegant as Pete's code, but it works! Code: (Select All) ' Opens google qb64.rip links in mirror site. |