News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Starting the program on my webserver

Started by tomfoolerly, January 08, 2010, 10:00:26 AM

Previous topic - Next topic

tomfoolerly

Issue resolved.  Thanks for the help.

I need to know what to put in the root of my web server to drive people going to my base url to my forum pages.

I can hard type in //mywebsite/simplemachinesforum/ and get to the board.

What I need to know how to do is imbed the command line in my root so people only have to put in //mywebsite/ and they get routed into the forum.

I want to do this as I am still learning about developing other parts and want to generate so traffic.

Any help would be great.

Thanks -- Tom

Jerry

if you don't want to move your forum, you could just put a redirect in your root that leads to your forum.
example:
index.php:
<?php
header 
('Location: http://url.to.my/forum/');
?>


Either that or you can move your forum to your root directory, then run repair_settings.php What is repair_settings.php?


- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

tomfoolerly

Thanks for the help.  That worked.  I had the syntax a little off.  That's what happens when you are out of practice.  ;D

Jerry



- Jerry
Find me on:
Facebook
Twitter
PlanetSMF

"If all you look for is the negative in things, you will never see the positive."

Advertisement: