|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (10 bit)
Join Date: Mar 2006
Location: Maryland
Posts: 550
|
Point Domain To A Different Root Folder
We all know that when you have a website up and running, the root folder is where your "index.html" or "index.php" goes. Is it possible to have it in a sub directory from the root and have your site point to that folder without having to type in the web address and folder name.
Example, say I have my index file in [root]/second/ and I want to be able to type in.. "www.mysite.com" (rather than "www.myspace.com/second/") and have it automatically access the folder "second" and then therefore my index file will be loaded from there.
__________________
Kerberos2: Corsair Obsidian 700D ASUS M4A89TD Radeon HD 5850 A-DATA 8GB DDR3 1333 AMD Phenom II x6 1055T @ 2.8GHz w/ Corsair H50 Corsair 850HX PSU WD Blue 160GB 7200 RPM SATA HDD WD Black 640GB 7200 RPM SATA HDD ASUS DVD/CD Drive |
|
|
|
|
|
#2 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,384
|
You could probably use an htaccess 301 redirect.
Code:
redirect 301 / http://www.mysite.com/second
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|