ultigma Posted August 13, 2013 Share Posted August 13, 2013 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_HTMLindex.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 https://forums.phpfreaks.com/topic/281121-website-directory-structure-help/ Share on other sites More sharing options...
ankur0101 Posted August 17, 2013 Share Posted August 17, 2013 If I would be in your shoes, I would simply create 2 directories called shop and blog, I would install Opencart in shop directory and Wordpress in blog directory. Your structure sounds good if you are using your own custom code. Link to comment https://forums.phpfreaks.com/topic/281121-website-directory-structure-help/#findComment-1445562 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.