Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Regular Coder
    Join Date
    Jan 2005
    Posts
    189
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Website Folder Structure and Security

    I have noticed that unlike your average site using "page.php" or "page.asp"... a lot of larger financial sites have a folder structure in place in which every file is in it's own folder (or so it appears) and was just curious as to the reasoning behind this or what they are doing to hide the file extensions or present the information in this way? Are they just using a CMS that hides those disguisting looking file names, or is there something else going on?

    examples.
    https://www.vancity.com/MyMoney/AboutUs/
    http://www.hsbc.com/1/2/sustainabili...g-our-progress

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    They are most likely using url-rewrite with htaccess. Look it up. Its a pretty common thing on many forums and blogs.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    Regular Coder
    Join Date
    Jan 2005
    Posts
    189
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by _Aerospace_Eng_ View Post
    They are most likely using url-rewrite with htaccess. Look it up. Its a pretty common thing on many forums and blogs.
    I've used url-rewrite with .htaccess... just more curious about what the advantages are and why this might be a better option?

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Quote Originally Posted by a4udi View Post
    I've used url-rewrite with .htaccess... just more curious about what the advantages are and why this might be a better option?
    For SEO purposes its easier for search engines to get to the pages. Its also easier for the user as the url is meaningful. Something like

    http://somesite.com/index.php?pageid...ate=11-11-2008

    would be a little cumbersome where as something like

    http://somesite.com/11/11/2008/stuff/5/ would be easier to understand.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #5
    New Coder
    Join Date
    Mar 2008
    Posts
    16
    Thanks
    0
    Thanked 1 Time in 1 Post
    Basically one should make short urls and use keywords in it.
    Last edited by website_seo; 11-03-2008 at 09:50 AM.
    SEO Promotion Company providing SEO Services to UK, US, Canada and Australia.
    Read updated information on SEO at SEO Blog

  • #6
    New to the CF scene
    Join Date
    May 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm just starting out on researching this type of method used for file structure, but what i can't understand is what the file name is supposed to be in the folder? I have checked out a few sites that "a4udi" mentioned I tried typing index.htm, index.php, index.html etc.. after the folder name but I keep getting a 404 page not found code.

    A guess would be that there is one file called index in the folder, but how do they stop people from accessing the index file? If it is the htaccess file do they have to manually code htaccess file everytime they create a new folder?

    I am warming to this naming conversion and see its SEO advantages as well as it's simplicity in the address bar and also the added advantage that people don't see what page extension is being used.

    Thanks a4udi for your posting and to those who replied.

  • #7
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    They are using index.jsp

    There new about page is here: https://www.vancity.com/AboutUs/

    They changed their links. The first site likely isn't using htaccess. They are just making folders that contain files for that part of the site. They stick an index.jsp file in there that handles everything.

    The HSBC site is likely using htaccess though they don't create one for each url. They have one and the htaccess uses rules to match urls entered by the user.
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •