Home arrow Forum Prevent to show unintegrated forum (part 2)
  Welcome, Guest. Please login or register.
Did you miss your activation email?
January 09, 2009, 04:36:27 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.1.x (Moderators: -Wolverine, kai920)
| | | |-+  Prevent to show unintegrated forum (part 2)
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Prevent to show unintegrated forum (part 2)  (Read 1053 times)
kai920
Moderator
Joomla Expert
*****

Karma: +14/-2
Offline Offline

Posts: 275



View Profile
Prevent to show unintegrated forum (part 2)
« on: February 23, 2006, 10:18:32 PM »

I have it setup now so that www.kaitech.hk/forums will auto-redirect to the bridged forum, but I've found that access directly to a topic will not - for example, http://www.kaitech.hk/forums/index.php?topic=332.msg2525 does not auto-redirect to the bridged forums with the appropriate topic.

Any idea what to add to the following code?  Actually, I'm thinking that I may need to do a .htaccess hack...

Code:
if ( !WIRELESS && ($_SERVER['REQUEST_URI'] == "/forums/" || $_SERVER['REQUEST_URI'] == "/forums/index.php") ) {
  header( 'Location: http://www.kaitech.hk/index.php?option=com_smf&Itemid=71' );
      exit();
}

Follow this thread for background info.

Logged

Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login