| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 106794 | 2010-01-23 07:19:00 | Website Building/Server Question | Chris09 (15218) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 851171 | 2010-01-23 07:19:00 | Hi there I currently have a forum registered to my domain. I build it right under the public_html directory. Go to the address, goes to the forum. Sweet as sugar. But I'm wanting to put a site infront of the forum. I cannot move the forum obviously, because all the links break. How do I direct my domain, or make website at index.html be hit first, and only by clicking the link on the website, or going straight to the domain mywebsite.com/forums to go to the forums (index.php) which is in the same directory. Is there a way to do it, or do I have to reinstall the whole forum under public)html/forums/? Thanks |
Chris09 (15218) | ||
| 851172 | 2010-01-23 08:24:00 | Create (or edit it if you have one already) a file ".htaccess" in your public_html directory. Add the following line to the file: "DirectoryIndex index.html". This should direct the server to serve up the ".html" file ahead of the ".php" that it is currently doing. You could then add a "forums.php" file that jumps to the "index.php" in the same directory to catch the forum request. Don't include the speechmarks shown around the above references :-) In the long run it would probably be tidier to re-install the forums software. |
wuppo (41) | ||
| 851173 | 2010-01-23 13:08:00 | But I'm wanting to put a site infront of the forum. I cannot move the forum obviously, because all the links break. You can fix/change the links, very easily :), What forum software are you using??, if your using something like phpBB, SMF, vBulletin etc... All you have to do is go in to your admin config panel, & look for where it says about where your site is installed & change the where your forum is installed & then you can move the forum software to the new folder, its very easy. If you say what forum software you are using I can tell you how to do the changes. In the long run it would probably be tidier to re-install the forums software. You Dont need to do that! All that’s needs to be done is some simple changes in the forum config. |
stu161204 (123) | ||
| 851174 | 2010-01-23 20:18:00 | Create (or edit it if you have one already) a file ".htaccess" in your public_html directory. Add the following line to the file: "DirectoryIndex index.html". This should direct the server to serve up the ".html" file ahead of the ".php" that it is currently doing. You could then add a "forums.php" file that jumps to the "index.php" in the same directory to catch the forum request. Don't include the speechmarks shown around the above references :-) In the long run it would probably be tidier to re-install the forums software. Ah! Thank you so much! I cannot believe I missed that! All fixed, though I'll remember for next time. You can fix/change the links, very easily :), What forum software are you using??, if your using something like phpBB, SMF, vBulletin etc... All you have to do is go in to your admin config panel, & look for where it says about where your site is installed & change the where your forum is installed & then you can move the forum software to the new folder, its very easy. If you say what forum software you are using I can tell you how to do the changes. You Dont need to do that! All that’s needs to be done is some simple changes in the forum config. Ohhhhhh Really? I'm using IPB 2.3.5. I would say I've had a look myself, but it was probably a man look, therefor I will have missed it. Haha. |
Chris09 (15218) | ||
| 1 | |||||