XF 2.2 Redirecting invalid Xenforo URLs

djbaxter

in memoriam 1947-2022
I am helping a member @zerohero here with redirection issues (see https://xenforo.com/community/threads/xenforo-redirects-for-vbulletin.142137/post-1488565). It turns out his old vBulletin URLs are not the problem. Rather the problem is that the indexed pages have invalid Xenforo URLs.

For example, from the Google index we get this URL:


This is invalid: It should be


The indexed URLs that don't contain the node number at the end.

The forum is currently using XF friendly URLs but I suspect this is due to using previous versions and/or routes that didn't work.

Regardless of how we got to this point, how do we redirect the invalid URLs?
 
Top Bottom