+ Reply to Thread
Results 1 to 3 of 3

Thread: Pages help

  1. #1
    razor25 is offline x10Hosting Member razor25 is an unknown quantity at this point
    Join Date
    Mar 2009
    Posts
    3

    Pages help

    I just finish some editing with my basic site..im just a perfect noob....that is a dunno nothing but ive managed to do this
    tornwar.x10hosting.com

    how to get new pages
    tornwar.x10hosting.com/index
    tornwar.x10hosting.com/home
    like that help me plz thnx

  2. #2
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: Pages help

    the easiest way is to do this:

    tornwar.x10hosting.com/index => put a file called "index.html" in the folder /public_html/index/
    tornwar.x10hosting.com/home => put a file called "index.html" in the folder /public_html/home/
    etc.

    This makes a pretty ugly solution. Anytime you want to add a new page you have to create a new folder and complete new page. This is the big limitation of using strictly only HTML.

    Now, if we do something like this

    tornwar.x10hosting.com/index => is the same as tornwar.x10hosting.com/index.php?page=index
    tornwar.x10hosting.com/home => is the same as tornwar.x10hosting.com/index.php?page=home

    Which is quite a bit cleaner. We do this through PHP and htaccess.

    So, the choice is yours. Learn two new programming languages, or do what is easier to implement, but harder to change.

    Best of luck!
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  3. #3
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: Pages help

    Quote Originally Posted by garrettroyce View Post

    Now, if we do something like this

    tornwar.x10hosting.com/index => is the same as tornwar.x10hosting.com/index.php?page=index
    tornwar.x10hosting.com/home => is the same as tornwar.x10hosting.com/index.php?page=home

    Which is quite a bit cleaner.
    If you use this system, doesn't this leave you with SEO problems?

    For a noob, the folders/pages option is a good way to start :grin:

+ Reply to Thread

Similar Threads

  1. how can i convert Php pages and code into asp pages and code
    By n4tec in forum Scripts & 3rd Party Apps
    Replies: 11
    Last Post: 01-10-2009, 09:40 PM
  2. Replies: 4
    Last Post: 07-13-2008, 07:03 AM
  3. help-add content to all pages at once
    By andhrafun in forum Scripts & 3rd Party Apps
    Replies: 3
    Last Post: 09-19-2007, 03:41 AM
  4. Ads on my pages
    By cokacola650 in forum Free Hosting
    Replies: 2
    Last Post: 02-16-2006, 10:38 AM
  5. Replies: 7
    Last Post: 09-16-2005, 10:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers