Hey Guys,
If you knew me, you would have expected this, but I am wanting to organise my files into a more efficient system. I want to have my root directory to just contain my index file (which will redirect) and all the folders that my other files are in. So I will have a main folder, and then I will have a members folder.
Right now everything is in the root, so I have:
www.mydomain.co m/myfile.php
But if I do this new system I will have:
www.mydomain.co m/main/myfile.php
I seem to recall there being a way to resolve addresses using the htaccess file, where you can change the display from www.mydomain.co m/main/ to just www.mydomain.co m/
Is that right? If so, what is the htaccess line?
If you knew me, you would have expected this, but I am wanting to organise my files into a more efficient system. I want to have my root directory to just contain my index file (which will redirect) and all the folders that my other files are in. So I will have a main folder, and then I will have a members folder.
Right now everything is in the root, so I have:
www.mydomain.co m/myfile.php
But if I do this new system I will have:
www.mydomain.co m/main/myfile.php
I seem to recall there being a way to resolve addresses using the htaccess file, where you can change the display from www.mydomain.co m/main/ to just www.mydomain.co m/
Is that right? If so, what is the htaccess line?
Comment