![]() |
Creative solution needed: Splitting a site in two, how to redirect half?
I need some help brainstorming.
One of our subforums has outgrown the rest of the site, so we're splitting it off onto its own domain to become an entirely separate site. Here's the tricky part: we want to redirect every thread from that subforum to the new domain, but leave all other threads/forums intact. There's nothing in the thread URL which states the forum it's from, so a simple redirect won't work. There are tens of thousands of threads in that subforum. All ideas welcome |
A simple bit of php on a showthread hook, to detect the forum, and redirect if necessary.
|
Quote:
|
I recommend the hook showthread_getinfo which is called right after the requested thread is validated and exists.
From there you can use the $threadinfo variable. |
Even better!
|
All times are GMT. The time now is 07:05 PM. |
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:
|