When I enter the xenforo URL in the browser without the slug like the following then it is redirecting fine but not with it. http://localhost/threads/223846/
So I tried to use the following regex to strip the slug out but it seems to be doing nothing. Am I missing a step or is this not how its to be done?
/^(/threads/)[^.]+.(\d+)/?$/+/\1\2
You don’t need a \2. And you need a \ before the period that you’ure searching for. You’ve got only one thing in parentheses. Maybe something like
Hey, im in the same situation and this worked for me!
But when the URL (xenforo URL) has inner pages like for example"https://website[.]com/threads/thread-slug/page-3" then again ill get the " Oops! That page doesn’t exist or is private." error page. Any fix for this?