MyBB Community Forums

Full Version: redirect a thread t1 to a thread t2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I wanted to know if there is a way, I can redirect a thread t1(say) to a thread (t2)


meaning

suppose there are two threads, t1 and t2
if a user sees the thread t1 on a google search, he will click on thread t1 shown in the google search.
but, if there is a way, that t1 can be redirected to t2, so that when a user clicks on thread t1, he gets redirected to thread t2 and he sees only he contents of thread t2

If it is not clear, what I wanted, please let me know.
I will elaborate more if needed.
You can try this plugin:


http://mods.mybb.com/view/thread-link
(2013-01-14, 12:13 PM)JovanJ. Wrote: [ -> ]You can try this plugin:


http://mods.mybb.com/view/thread-link

thanks
i will look into it
You can try via .htaccess

RewriteCond %{REQUEST_URI} (.*)/t1/?$
RewriteRule ^(.*)$ http://www.yourdomain.com/t2/ [NE,R,L]

With the code above, you can even redirect t1 to another domain, if you like.