![]() |
Redirect SMF index.php?topic* to a single 404 page
I've just upgraded from SMF to vBulletin 4.1.0 Suite, and most of it's working great but there's one thing I can't solve.
The old SMF links all look like /index.php?topic=11785 The new links don't tie up at all and the upgrade involved merging back in a couple of different databases, so there are no import id's left that I can find (yes, saw that script a bit too late!) What I want to do is redirect all of those old SMF links to a single 404 page which explains why it's broken. I wondered about an htaccess redirect, but whatever I do, any links which include index.php keeps redirecting back to forum.php. What I am missing? Is there a vBulletin redirect that is overriding my attempts? Any help would be much appreciated! Victoria |
Just in case anyone else comes across this thread with the same problem, I found a workaround.
Add the following at the top of the index.php file (replacing the link with your own 404 page) and it redirects any threads with variables. PHP Code:
|
All times are GMT. The time now is 06:24 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|