Computer problems,Computer help
*AX SOFT>>>Programming & Design

Put main site in root of website?


I have my own website and several blogs all of which are hosted by me. The website is written in static html.
The main site is in the root of the website and the blogs are sub-directories. The root being public_html.
I'd like to change the main site into a dynamic site. Therefore, am I right in putting all the files in public_html folder and not it's own folder?
I don't know if I'm making any sense.

Putting the main site in public_html one way to do it.

But assuming that your web server is an AMP, putting the main site in public_html/folder and: 1) using htaccess or 2) using a redirect PHP script is another way.

I prefer the second way because compared to the first, it keeps my file system neater.

Tags
  General - Computers & Internet   Software   Security   Programming & Design   Facebook   Flickr   Google   MSN   MySpace
Related information
  • When I have a form set to Post instead of Get, How do i...?

    form tag have 3 attributes 1)method 2)action 3)name suppose u r not used method attribute in form tag that time defaultly get method will be called.First u declare method as post after that u o...

  • How can I declare a global variable inside javascript function..?

    if u create any variable inside a function its scope will be local to that function only and not global. declare ur variable outside the function.

    ...
  • How can I make people visit my Blog site ?

    there are many ways to drive traffic your site,some more succesful than others. below i will list some ways i feel are effective in doing this. 1.if you are a member of any forums include a l...

  • Is it possible to convert jpg file to PES?

    Unfortunately you cannot just convert a Jpeg file to a PES. What you need is software which allows you to digitize the Jpeg file which then can become a PES file. This is not really my area o...

  • There seems to be two different ways of Int((1/sin(x))dx). One?

    both answers are correct. they differ by a constant.

    ...
  • [C#] How do I get the name of the current program's namespace?

    Hello, To get the current program (application) namespace, I assume you mean the "default namespace", you do the following: 1) Open Visual Studio 2) Load your Project (solution) to...

  • Does the Linux Professional Institute Certification (LPIC) program have an advantage in trying to find a job?

    Hello, (ANS) If you stand back a little here and bear in mind that with the cost of computing rising especially in terms of business's & companies & Corporations having to pay out v...

  • Are there any good resources for creating pi calculation programs?

    Well, I found a recursive arctan formula. The General Formulae We have just seen that there are infinitely many formulae for Pi using the Fibonacci numbers! They are: Pi/4 = arctan(1) = arcta...

  •  

    Categories--Copyright/IP Policy--Contact Webmaster