John Horton Posted December 31, 2022 Posted December 31, 2022 My migration is a little messy and a lot of old links are broken. Is there a way to redirect like a 404 to a good page instead of giving the user the "The page you requested does not exist" message? In other words, can broken links should be redirected to my forum index page?
Solution opentype Posted December 31, 2022 Solution Posted December 31, 2022 You wouldn’t want every 404 to go to the homepage. That would confuse users and search engines. Is there something unique about the URLs of those old links which don’t work anymore? If so, on a self-hosted installation, you could target the links with htaccess redirects. Daniel F 1
Jim M Posted December 31, 2022 Posted December 31, 2022 As opentype mentioned, it would not be beneficial to direct all URLs to a similar page. However, if there are unique characteristics that you could capitalize on, say like you want a contact forum going to our software's contact form. That could be handled by a redirect on your hosting provider's end (likely through .htaccess as opentype mentioned).
John Horton Posted December 31, 2022 Author Posted December 31, 2022 Can I edit the text on that error page? That seems like the most prudent solution.
Marc Posted January 3, 2023 Posted January 3, 2023 You can edit the text anywhere on the site by using translation. Please take a look at the following guides on translating text on the site, which should help you to achieve this https://invisioncommunity.com/4guides/themes-and-customizations/languages-and-localization_326/translating-using-the-visual-language-editor-r119/ And https://invisioncommunity.com/4guides/themes-and-customizations/languages-and-localization_326/translating-using-the-standard-editor-r120/ John Horton 1
Gary Posted January 4, 2023 Posted January 4, 2023 Hi @John Horton, Thanks for circling back and letting us know the issue has been resolved. As usual, if anything else comes up, please don’t hesitate to let us know.
Recommended Posts