![]() |
|
Thread Tools |
#1
|
|||
|
|||
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 No members have liked this post.
Last edited by sub_ubi; 18 Aug 2017 at 06:58. |
#2
|
|||
|
|||
A simple bit of php on a showthread hook, to detect the forum, and redirect if necessary.
The following members like this post: sub_ubi
|
#3
|
|||
|
|||
Brilliant, thank you
No members have liked this post.
|
#4
|
|||
|
|||
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.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com Contact me for custom vBulletin 3/4 work & server/website management. |
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 15:51.