Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 08 Dec 2010, 19:27
v.bampton v.bampton is offline
 
Join Date: Dec 2010
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
Reply With Quote
  #2  
Old 11 Dec 2010, 11:59
v.bampton v.bampton is offline
 
Join Date: Dec 2010
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.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mini Mods 404 Page Redirect To Thread MichaelDance Modification Graveyard 5 15 May 2010 16:33
Miscellaneous Hacks 404 Page Redirect To Thread ChopSuey vBulletin 3.8 Add-ons 2 05 Feb 2010 08:30
404 Page Redirect To Thread ChopSuey vBulletin 3.5 Add-ons 2 27 Jan 2010 23:42
Miscellaneous Hacks 404 Page Redirect To Thread ChopSuey vBulletin 4.x Add-ons 2 27 Jan 2010 12:34
Miscellaneous Hacks 404 Page Redirect To Thread ChopSuey vBulletin 3.7 Add-ons 0 27 Jan 2010 10:09



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:30.

Layout Options | Width: Wide Color: