We would like to redirect all invalid urls for the forum i.e. all “Not found” to be redirected to an external URL.
Can it be done using Permalinks? Or Some other way?
We have a hosted solution so can’t run commands as such.
We would like to redirect all invalid urls for the forum i.e. all “Not found” to be redirected to an external URL.
Can it be done using Permalinks? Or Some other way?
We have a hosted solution so can’t run commands as such.
Could we get some pointers as to what should the core code for the redirect be?
You are not looking for a redirect here, honestly the only way I can think of doing this is monkey patching a bunch of places.
Also a 404 redirecting is terrible practice, a custom 404 page is far more defensible.