Pages help

razor25

New Member
Messages
3
Reaction score
0
Points
0
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
 

garrettroyce

Community Support
Community Support
Messages
5,609
Reaction score
250
Points
63
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!
 

freecrm

New Member
Messages
629
Reaction score
0
Points
0
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:
 
Top