Jump to content

Website Directory Structure Help


ultigma

Recommended Posts

I'm trying to figure out what the best way to structure a website's folders, for websitel expansion, before I begin building it. I'll try and explain what i think is best and hopefully get opinions for better site structure. hopefully this can be easily understanded. I'm planning o nthe website to be big so I want to get it rright from the start.

 

-------------------------------------------------------------------------------

  • Public_HTML
    • index.php
    • about.php
    • contact.php
    • /shop/
      • /football/
        • /shirts/
        • /shoes/
      • /tennis/
    • /blog/
      • /football/
        • /uk/
          • post-about-uk-team.php
          • another-post.php
          • more-posts.php
        • /spain/
          • post-about-spanish-team.php
          • you-get-the-idea.php
        • /other/
      • /tennis/
        • /uk/
          • post-about-uk-player.php

Is this the right way to go about structuring a website ooooorrrrrr

-----------------------------------------------------------------------------------

 

Public_HTML

  • index.php
  • about.php
  • contact.php
  • shop.php?category=football
  • shop.php?category=football&item=shirts&product=id
  • shop.php?category=football&item=shoes&product=id
  • shop.php?category=tennis
  • shop.php?category=tennis&item=shirts&product=id
  • shop.php?category=tennis&item=shoes&product=id
  • blog.php?sport=football
  • blog.php?sport=football&country=uk
  • blog.php?sport=football&country=uk&post=id
  • blog.php?sport=tennis

and so on?

 

So tell me, which way are most websites structured? perhaps its a combination of the 2; if so, how would it be structured

 

Thanks for everyones time. All opinions welcomed =)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.