2008-06-29, 01:12 AM
Pages: 1 2
2008-06-29, 01:15 AM
ya.
Just make a file called index.php and put in on the timelessac.net78.net so it means on root and here is the code need to have in file
I am sure this will work, though haven't tested yet LOL..
I am using this in many of my sites
So it would be ok with you
FAISAL
Just make a file called index.php and put in on the timelessac.net78.net so it means on root and here is the code need to have in file
<?php
echo "<meta http-equiv=\"REFRESH\" content=\"0;URL=forum/index.php\">";
?>
I am sure this will work, though haven't tested yet LOL..
I am using this in many of my sites
So it would be ok with you
FAISAL
2008-06-29, 01:16 AM
[attachment=9588]
Upload this file to your site's main directory. it will redirect your index page to your forum...
Upload this file to your site's main directory. it will redirect your index page to your forum...
2008-06-29, 01:18 AM
Well Thanks Arno. But I think instead of using his full URL<
It's better to use forum/index.php
so if in future he changes the host or URL he don't need to modify the file
Though same thing in php format and using forum/index.php <for future prefrences> you can use you want <LIKE>
If your using this, so do the same upload index.php to your root
FAISAL
It's better to use forum/index.php
so if in future he changes the host or URL he don't need to modify the file
Though same thing in php format and using forum/index.php <for future prefrences> you can use you want <LIKE>
If your using this, so do the same upload index.php to your root
FAISAL
2008-06-29, 01:20 AM
Here's another alternative:
Make an index.php file with the following:
Make an index.php file with the following:
<?php
header('Location: http://timelessac.net78.net/forum/index.php');
?>
2008-06-29, 01:20 AM
it is up to him. He can change the domain name whatever he wants
2008-06-29, 01:23 AM
(2008-06-29, 01:20 AM)arno Wrote: [ -> ]it is up to him. He can change the domain name whatever he wants
Exactly but actually if he don't want to get into this code. AND AS far as I understood he will not want,
Because if yes, He will never ask this question here.. THough it's up to him
<nice to see you, it's first time saw you >
FAISAL
(2008-06-29, 01:20 AM)MrDoom Wrote: [ -> ]Here's another alternative:
Make an index.php file with the following:
<?php header('Location: http://timelessac.net78.net/forum/index.php'); ?>
Mr. DOOM Good I learnt a new thing
very lovely. Is it a funciton header();? LOL seems to be
Thanks
FAISAL
2008-06-29, 01:25 AM
also there is an other alternative. you can add below codes to .htaccess file in main directory. if doesnt exist you can create a empty file named .htaccess:
is there another solution?
DirectoryIndex forum/index.php
is there another solution?
2008-06-29, 01:27 AM
(2008-06-29, 01:25 AM)arno Wrote: [ -> ]also there is an other alternative. you can add below codes to .htaccess file in main directory. if doesnt exist you can create a empty file named .htaccess:
DirectoryIndex forum/index.php
is there another solution?
BUT sadly some hosts don't allow .htaccess (
And you know mostly free host dont
FAISAL
2008-06-29, 01:29 AM
Yeah I know. The server must be Unix... Beside Unix servers are more common than other systems.
I have found a new one.
You can use iframe but I dont recommend that way. So it isnt necessary to explain...
I have found a new one.
You can use iframe but I dont recommend that way. So it isnt necessary to explain...
Pages: 1 2