News:

Join the Facebook Fan Page.

Main Menu

I need help

Started by Dracon, March 20, 2007, 01:11:26 PM

Previous topic - Next topic

Dracon

I created my new site and its working fine.
Its address is gsx.swiftphp.com but when I open it it says Index of/ SMF and when I click SMF then site opens so can anyone help me with direct oppening of site.

青山 素子

There are two ways to correct this:

1. Put a redirect page that will put everyone to the SMF directory.
2. Move SMF to the root.


For #1, create a page named index.php that has the following code in it:


<?php header('Location: http://gsx.swiftphp.com/SMF/'); ?>


Upload that file to the main website directory.


For #2, move the complete contents of the SMF directory into the main website directory, and run the repair_settings script from the downloads area to fix the path changes.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Advertisement: