Pagina 1 van 1

van portal index maken

Geplaatst: 17 apr 2005, 21:11
door Trinithy
Hoe kan ik van de portal.php index.php maken en dat wel alle links kloppen?
Dat zou ik namelijk graag willen zodat wanneer je bij mijn site komt je op het portal komt en niet op het forum index
Alvast bedankt

Geplaatst: 17 apr 2005, 21:44
door Bee
Ja, het is mogelijk. Ik zal even kijken of ik de tutorial voor het hernoemen van index.php nog kan vinden, heb het wel eens gebruikt voor http://www.newcybertron.nl

Geplaatst: 17 apr 2005, 23:51
door Bischke

Code: Selecteer alles

# 
#-----[ OPEN ]------------------------------------------ 
# 
groupcp.php 
# 
#-----[ FIND ]------------------------------------------ 
#(First Find) 
         'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("index.$phpEx") . '">') 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
         'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("forumindex.$phpEx") . '">') 
# 
#-----[ FIND ]------------------------------------------ 
# 
      $message = $lang['Not_group_moderator'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
# 
<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ FIND ]------------------------------------------ 
# 
   $message = $lang['Group_type_updated'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
# 
<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ FIND ]------------------------------------------ 
#(2nd Find) 
                  'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("index.$phpEx") . '">') 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
                  'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("forumindex.$phpEx") . '">') 
# 
#-----[ FIND ]------------------------------------------ 
# 
               $message = $lang['Already_member_group'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
# 
<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ FIND ]------------------------------------------ 
#(3rd Find) 
            'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("index.$phpEx") . '">') 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
            'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("forumindex.$phpEx") . '">') 
# 
#-----[ FIND ]------------------------------------------ 
# 
         $message = $lang['This_closed_group'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
# 
<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ FIND ]------------------------------------------ 
#(4th Find) 
      'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("index.$phpEx") . '">') 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
      'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("forumindex.$phpEx") . '">') 
# 
#-----[ FIND ]------------------------------------------ 
# 
   $message = $lang['Group_joined'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
# 
<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ FIND ]------------------------------------------ 
#(5th Find) 
         'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("index.$phpEx") . '">') 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
         'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("forumindex.$phpEx") . '">') 
# 
#-----[ FIND ]------------------------------------------ 
# 
      $message = $lang['Unsub_success'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
# 
<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ FIND ]------------------------------------------ 
#(6th Find) 
               'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("index.$phpEx") . '">') 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
               'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid("forumindex.$phpEx") . '">') 
# 
#-----[ FIND ]------------------------------------------ 
# 
            $message = $lang['Not_group_moderator'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
            $message = $lang['Not_group_moderator'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ FIND ]------------------------------------------ 
# 
               $message = $lang['Could_not_add_user'] . "<br /><br />" . sprintf($lang['Click_return_group'], "<a href=\"" . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . "\">", "</a>") . "<br /><br />" . sprintf($lang['Click_return_index'], "<a href=\"" . append_sid("index.$phpEx") . "\">", "</a>"); 
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
<a href=\"" . append_sid("index.$phpEx") . "\">", "</a>"); 
# 
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
# 
<a href=\"" . append_sid("forumindex.$phpEx") . "\">", "</a>"); 
# 
#-----[ FIND ]------------------------------------------ 
# 
               $message = $lang['Could_not_anon_user'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
# 
<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ FIND ]------------------------------------------ 
# 
               $message = $lang['User_is_member_group'] . '<br /><br />' . sprintf($lang['Click_return_group'], '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=$group_id") . '">', '</a>') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
# 
<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ OPEN ]------------------------------------------ 
# 
index.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
      "META" => '<meta http-equiv="refresh" content="3;url='  .append_sid("index.$phpEx") . '">') 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
      "META" => '<meta http-equiv="refresh" content="3;url='  .append_sid("forumindex.$phpEx") . '">') 
# 
#-----[ FIND ]------------------------------------------ 
# 
   $message = $lang['Forums_marked_read'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a> '); 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
   $message = $lang['Forums_marked_read'] . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("forumindex.$phpEx") . '">', '</a> '); 
# 
#-----[ FIND ]------------------------------------------ 
# 
      'U_MARK_READ' => append_sid("index.$phpEx?mark=forums")) 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
      'U_MARK_READ' => append_sid("forumindex.$phpEx?mark=forums")) 
# 
#-----[ FIND ]------------------------------------------ 
# 
            'U_VIEWCAT' => append_sid("index.$phpEx?" . POST_CAT_URL . "=$cat_id")) 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
            'U_VIEWCAT' => append_sid("forumindex.$phpEx?" . POST_CAT_URL . "=$cat_id")) 
# 
#-----[ OPEN ]------------------------------------------ 
# 
login.php 
# 
#-----[ FIND ]------------------------------------------ 
#(1st find) 
redirect(append_sid("index.$phpEx", true)); 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
redirect(append_sid("forumindex.$phpEx", true)); 
# 
#-----[ FIND ]------------------------------------------ 
#(1st find) 
                  $url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "index.$phpEx"; 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
                  $url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "forumindex.$phpEx"; 
# 
#-----[ FIND ]------------------------------------------ 
# 
               $message = $lang['Error_login'] . '<br /><br />' . sprintf($lang['Click_return_login'], "<a href=\"login.$phpEx?redirect=$redirect\">", '</a>') . '<br /><br />' .  sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
# 
<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ FIND ]------------------------------------------ 
# 
         $message = $lang['Error_login'] . '<br /><br />' . sprintf($lang['Click_return_login'], "<a href=\"login.$phpEx?redirect=$redirect\">", '</a>') . '<br /><br />' .  sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
# 
<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ FIND ]------------------------------------------ 
#(2nd find) 
         redirect(append_sid("index.$phpEx", true)); 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
         redirect(append_sid("forumindex.$phpEx", true)); 
# 
#-----[ FIND ]------------------------------------------ 
#(2nd find) 
      $url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "index.$phpEx"; 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
      $url = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : "forumindex.$phpEx"; 
# 
#-----[ FIND ]------------------------------------------ 
#(3rd find) 
      redirect(append_sid("index.$phpEx", true)); 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
      redirect(append_sid("forumindex.$phpEx", true)); 
# 
#-----[ OPEN ]------------------------------------------ 
# 
posting.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
      $redirect = "index.$phpEx"; 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
      $redirect = "forumindex.$phpEx"; 
# 
#-----[ OPEN ]------------------------------------------ 
# 
privmsg.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
      $msg = $lang['Message_sent'] . '<br /><br />' . sprintf($lang['Click_return_inbox'], '<a href="' . append_sid("privmsg.$phpEx?folder=inbox") . '">', '</a> ') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
# 
<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ OPEN ]------------------------------------------ 
# 
profile.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
redirect(append_sid("index.$phpEx", true)); 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
redirect(append_sid("forumindex.$phpEx", true)); 
# 
#-----[ OPEN ]------------------------------------------ 
# 
viewforum.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
   'url' => append_sid('index.'.$phpEx), 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
   'url' => append_sid('forumindex.'.$phpEx), 
# 
#-----[ OPEN ]------------------------------------------ 
# 
viewonline.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
               $location_url = "index.$phpEx"; 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
               $location_url = "forumindex.$phpEx"; 
# 
#-----[ FIND ]------------------------------------------ 
# 
               $location_url = "index.$phpEx"; 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
               $location_url = "forumindex.$phpEx"; 
# 
#-----[ FIND ]------------------------------------------ 
# 
               $location_url = "index.$phpEx"; 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
               $location_url = "forumindex.$phpEx"; 
# 
#-----[ FIND ]------------------------------------------ 
# 
               $location_url = "index.$phpEx"; 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
               $location_url = "forumindex.$phpEx"; 
# 
#-----[ FIND ]------------------------------------------ 
# 
               $location_url = "index.$phpEx"; 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
               $location_url = "forumindex.$phpEx"; 
# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/usercp_activate.php 
# 
#-----[ FIND ]------------------------------------------ 
#(1st Find) 
         'META' => '<meta http-equiv="refresh" content="10;url=' . append_sid("index.$phpEx") . '">') 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
         'META' => '<meta http-equiv="refresh" content="10;url=' . append_sid("forumindex.$phpEx") . '">') 
# 
#-----[ FIND ]------------------------------------------ 
#(2nd Find) 
            'META' => '<meta http-equiv="refresh" content="10;url=' . append_sid("index.$phpEx") . '">') 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
            'META' => '<meta http-equiv="refresh" content="10;url=' . append_sid("forumindex.$phpEx") . '">') 
# 
#-----[ FIND ]------------------------------------------ 
#(3rd Find) 
            'META' => '<meta http-equiv="refresh" content="10;url=' . append_sid("index.$phpEx") . '">') 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
            'META' => '<meta http-equiv="refresh" content="10;url=' . append_sid("forumindex.$phpEx") . '">') 
# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/usercp_email.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
   redirect(append_sid("index.$phpEx", true)); 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
   redirect(append_sid("forumindex.$phpEx", true)); 
# 
#-----[ FIND ]------------------------------------------ 
# 
                  'META' => '<meta http-equiv="refresh" content="5;url=' . append_sid("index.$phpEx") . '">') 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
                  'META' => '<meta http-equiv="refresh" content="5;url=' . append_sid("forumindex.$phpEx") . '">') 
# 
#-----[ FIND ]------------------------------------------ 
# 
               $message = $lang['Email_sent'] . '<br /><br />' . sprintf($lang['Click_return_index'],  '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
               $message = $lang['Email_sent'] . '<br /><br />' . sprintf($lang['Click_return_index'],  '<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/usercp_register.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
            $message = $lang['Profile_updated_inactive'] . '<br /><br />' . sprintf($lang['Click_return_index'],  '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
            $message = $lang['Profile_updated_inactive'] . '<br /><br />' . sprintf($lang['Click_return_index'],  '<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ FIND ]------------------------------------------ 
# 
            $message = $lang['Profile_updated'] . '<br /><br />' . sprintf($lang['Click_return_index'],  '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
            $message = $lang['Profile_updated'] . '<br /><br />' . sprintf($lang['Click_return_index'],  '<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ FIND ]------------------------------------------ 
# 
            "META" => '<meta http-equiv="refresh" content="5;url=' . append_sid("index.$phpEx") . '">') 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
            "META" => '<meta http-equiv="refresh" content="5;url=' . append_sid("forumindex") . '">') 
# 
#-----[ FIND ]------------------------------------------ 
# 
         $message = $message . '<br /><br />' . sprintf($lang['Click_return_index'],  '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
         $message = $message . '<br /><br />' . sprintf($lang['Click_return_index'],  '<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/usercp_sendpasswd.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
            'META' => '<meta http-equiv="refresh" content="15;url=' . append_sid("index.$phpEx") . '">') 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
            'META' => '<meta http-equiv="refresh" content="15;url=' . append_sid("forumindex.$phpEx") . '">') 
# 
#-----[ FIND ]------------------------------------------ 
# 
         $message = $lang['Password_updated'] . '<br /><br />' . sprintf($lang['Click_return_index'],  '<a href="' . append_sid("index.$phpEx") . '">', '</a>'); 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
         $message = $lang['Password_updated'] . '<br /><br />' . sprintf($lang['Click_return_index'],  '<a href="' . append_sid("forumindex.$phpEx") . '">', '</a>'); 
# 
#-----[ OPEN ]------------------------------------------ 
# 
includes/page_header.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
   'U_INDEX' => append_sid('index.'.$phpEx), 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
   'U_INDEX' => append_sid('forumindex.'.$phpEx), 
# 
#-----[ OPEN ]------------------------------------------ 
# 
admin/index.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
      "U_FORUM_INDEX" => append_sid("../index.$phpEx"), 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
      "U_FORUM_INDEX" => append_sid("../forumindex.$phpEx"), 
# 
#-----[ FIND ]------------------------------------------ 
# 
               case PAGE_INDEX: 
                  $location = $lang['Forum_index']; 
                  $location_url = "index.$phpEx?pane=right"; 
                  break; 
# 
#-----[ IN-LINE FIND ]------------------------------------------ 
# 
                  $location_url = "index.$phpEx?pane=right"; 
# 
#-----[ IN-LINE REPLACE WITH ]------------------------------------------ 
# 
                  $location_url = "forumindex.$phpEx?pane=right"; 
# 
#-----[ OPEN ]------------------------------------------ 
# 
admin/page_header_admin.php 
# 
#-----[ FIND ]------------------------------------------ 
# 
   'U_INDEX' => append_sid('../index.'.$phpEx), 
# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
   'U_INDEX' => append_sid('../forumindex.'.$phpEx), 

Geplaatst: 18 apr 2005, 15:23
door Trinithy
laat maar ik heb zelf al een klein scriptje gemaakt dat veel makkelijker is
ik zet hem hier wel neer:
dat moet je dan in index.php zetten

Code: Selecteer alles

<?php


if($_SERVER['HTTP_HOST'] == "www.jouwsite.nl" OR
$_SERVER['HTTP_HOST'] == "jouwsite.nl" OR
$_SERVER['HTTP_HOST'] == "http://jouwsite.nl" OR
$_SERVER['HTTP_HOST'] == "http://jouwsite.nl" OR
$_SERVER['HTTP_HOST'] == "www.jouwsite.nl/" OR
$_SERVER['HTTP_HOST'] == "jouwsite.nl/" OR
$_SERVER['HTTP_HOST'] == "http://jouwsite.nl/" OR
$_SERVER['HTTP_HOST'] == "http://jouwsite.nl/"){


header("location:http://www.jouwsite.nl/forum/portal.php/");
exit;
}
?>