Can you add 301 redirects for old forum content?

Atm all the Google search results for the old forum end up in 404. If the content is still available, it would be a good idea to add 301 redirects, so users dont have to re-create questions etc.

Cheers!

Edit:
I came here through this one for example: https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwj_kaeZ5rHrAhVL3aQKHdMxBI4QFjAAegQIDRAB&url=https%3A%2F%2Fforum.manjaro.org%2Ft%2Fsolved-lightdm-fails-to-start%2F27058&usg=AOvVaw0IM_iJ6idiOsn2oP9UQtIi

Pointing to:
forum.manjaro.org › solved-lightdm-fails-to-start

6 Likes
2 Likes

+1 ! 301 or 302. The 404 is obviously not only a problem for all basic users, but also a SEO disaster.
The bookmarklet patch is just nonsense, as some may feel it’s a solution. It is not !

3 Likes

I wonder if it wouldn’t be better if the url of the old forum would have stayed forum.manjaro.org and the new forum would have become something like newforum.manjaro.org

Could you give an example of a good 301 redirect that only redirects the search results that should point to the old forum and not the ones for the new forum?

1 Like

That would also give a lot of confusion. probably worse than it is now.

I guess pretty much the only thing you could do (on http server level at least) is to redirect all 404’s (which could probably also be an issue in case it is “a real 404” where there is no content at the old one either) and then I would put a message/alert/notification on the archived one that there is a new forum…

Another option could be to place some custom javascript on the “Oops, does not exist page” here which would check if the corresponding archived.xxx… exists and if so, would redirect to that page then. Not sure how how easy that would be to implement within discourse though.

3 Likes

I would imagine just a link to the archived URL, if it exists, would be sufficient. An addendum to the error page as follows:

If you believe this post existed on the old forum, click here to be redirected.
To understand why we had rebooted the forum, view this topic.

…Or something to that effect. Not sure if Discourse could allow automatic redirection but based upon your suggestion, all that JS should do is grab the URL from the address bar, make it an anchor and append after the protocol suffix (https://) archived.

2 Likes