janbolmeson is trying to redirect a deleted topic to another topic using the redirect function, but it doesn’t seem to work. JammyDodger suggests testing the redirect as a non-admin user, as admins can still access deleted topics.
After testing, janbolmeson confirms that the redirect doesn’t work, but JammyDodger provides the correct format for setting up the redirect.
janbolmeson discovers that Chrome caches redirects, which may interfere with testing. However, the main issue is that redirects don’t work for topics in private or non-public categories. Moving the deleted topic to a public category resolves the issue, and the redirect works as expected.
Did you test the redirect using a test user or as your admin account? The admin would have access to the deleted topic so would land on that, but a regular user should follow the redirect you’ve set up in permalinks.
Hmm… Couldn’t get it to work… But then I found out something strange - it seems that Chrome caches redirects? Because when I changed browser then it seems to work… investigating some more…
OK! Figured it out.
If the topic is in a private / non-public category, then redirects seem to be “stopped”. When I moved the deleted topic back to the public category and deleted it from there, then redirect worked…