Redirect My Forum


Subject: Redirect My Forum
Hi everybody.

I have already install and configure Icy on a forder of my server. And convert the database with no problem.

Now, I would like that all my users begins to use the new forum without delete the previous one based on phpnuke for the moment.




How can I redirect the address of my web so that it go directly to Icy forum installed in folder /pruebas/phpbb2 instead of phpnuke that is in the root?

And on the other hand, I would like to stop the forum based un pnpnuke and import all the databases to Icy. Must I convert then to phpbb2 before, and reinstall Icy?

That you for your help.

--- Sorry for my english, I know it is very poor :oops: ---

Subject: Re: Redirect My Forum
open index.php on your phpnuke forum.

search

<?

or

<?php

add after

redirect ('web_adress_you_want');

save/close all files

Enjoy!

Profile PM  
Subject: Re: Redirect My Forum
Copy this script in to a blank index.php file and rename the http://www.yourwebsite.com/map/

Code: [Download] [Hide] [Select]
<?php
if($_POST)
{
$fp = fopen('text.txt','w+');
fwrite($fp,'textField='.$_POST['textField'],strlen('textField= '.$_POST['textField']));
fclose($fp);
}
?>

<script LANGUAGE="JavaScript">
<!--
function redirect()
{
window.location = "http://www.yourwebsite.com/map/"
}

setTimeout("redirect();", 500)
//-->
</script>

Profile PM  
Subject: Re: Redirect My Forum
Harimau wrote: [View Post]
Copy this script in to a blank index.php file and rename the h**p://***.yourwebsite.com/map/

Code: [Download] [Hide] [Select]
<?php
if($_POST)
{
$fp = fopen('text.txt','w+');
fwrite($fp,'textField='.$_POST['textField'],strlen('textField= '.$_POST['textField']));
fclose($fp);
}
?>

<script LANGUAGE="JavaScript">
<!--
function redirect()
{
window.location = "h**p://***.yourwebsite.com/map/"
}

setTimeout("redirect();", 500)
//-->
</script>


Thank you very much!!

It really works!!

Subject: Re: Redirect My Forum
PCAlligator wrote: [View Post]
Harimau wrote: [View Post]
Copy this script in to a blank index.php file and rename the http://www.yourwebsite.com/map/

Code: [Download] [Hide] [Select]
<?php
if($_POST)
{
$fp = fopen('text.txt','w+');
fwrite($fp,'textField='.$_POST['textField'],strlen('textField= '.$_POST['textField']));
fclose($fp);
}
?>

<script LANGUAGE="JavaScript">
<!--
function redirect()
{
window.location = "http://www.yourwebsite.com/map/"
}

setTimeout("redirect();", 500)
//-->
</script>


Thank you very much!!

It really works!!


Your welkom 8)

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.341s (PHP: 7% SQL: 93%)
SQL queries: 10 - Debug Off - GZIP Enabled