Help - Search - Members - Calendar
Full Version: Website directories as pages?
Forums > Resource Center > Webmasters' Corner > Webmasters' Corner Resolved Topics
The Markster
So I've always wondered how some websites have separate directories as pages. (Virb.com, for instance.) See how each page is like "virb.com/about" and "virb.com/privacy," instead of "virb.com/about.php" or "virb.com/privacy.php"? The way I've been going about my own site navigation is by PHP GET variables. My pages are something like "the-markster.net/?x=blogs" and "the-markster.net/index.php?x=resources". So I'd appreciate any help or answers. Thanks. _smile.gif

- - - - - - -

Btw, about the Virb site, I've been guessing that they actually make separate directories with their own index files .. though I've also been thinking that there's an easier way to accomplish that.
Clashing
you use index.php inside the folder of your content. for example, you have um, resources... simply make the folder named resources then a file inside that folder and name it index.php. that is your homepage for resources.

i don't know if that really answers your question... but just giving my thought.

ohh, to use less files... you can use php includes.
speakerboxx123
i do the same thing as virb.com, its alot difficult though...
for example i have a tutorials page and i put:
http://royal-edge.sour-cream.com/tutorials/index.php
The Markster
Ohh. Well, thanks to both of you for your input. _smile.gif I guess I do have to make separate directories with their own index files.
The Markster
QUOTE(brownsugar @ Jul 28 2007, 09:42 AM) *
Mark (I think), were you still needing help with any of this..?

Yes, please! sad.gif
Clashing
What help do you need on?? Maybe, I could do in some way...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.