Website Content

  Homes arrow Website Content arrow Page 4 - Designing Your Website's Directory Structure
 Webmaster Tools
 
Base64 Encoding 
Browser Settings 
CSS Coder 
CSS Navigation Menu 
Datetime Converter 
DHTML Tooltip 
Dig Utility 
DNS Utility 
Dropdown Menu 
Fetch Content 
Fetch Header 
Floating Layer 
htaccess Generator 
HTML to PHP 
HTML Encoder 
HTML Entities 
IP Convert 
Meta Tags 
Password Encryption
 
Password Strength
 
Pattern Extractor 
Ping Utility 
Pop-Up Window 
Regex Extractor 
Regex Match 
Scrollbar Color 
Source Viewer 
Syntax Highlighting 
URL Encoding 
Web Safe Colors 
Forums Sitemap 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WEBSITE CONTENT

Designing Your Website's Directory Structure
By: Jase Dow
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 27
    2004-12-07

    Table of Contents:
  • Designing Your Website's Directory Structure
  • You understand what...
  • I would also...
  • The website file...
  • You could put...

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     

    SEARCH DEV MECHANIC

    TOOLS YOU CAN USE

    advertisement

    Designing Your Website's Directory Structure - The website file...


    (Page 4 of 5 )

    The website file manager interprets this as "look in the folder named common for the file named logo.gif".

    However, the link on any webpage contained in one of the sub-directories would be as shown below.

    "../common/logo.gif"

    The website file manager interprets this as "go up one level, then look down in the folder named common for the file named logo.gif".

    This difference in the link may not be a problem unless you use SSI or ASP (Active Server Pages) to build your webpages from a common header file and a common footer file. Then you need a different link in the common file depending upon whether the page linked to the common file is the default webpage (where you would use common/filename) or a webpage contained in a sub-directory (where you would use ../common/filename). There are several ways to solve this problem.

    1. If your website has a server-side scripting engine like ASP or PHP and you know how to program, you could implement code that selects the proper link.

    2. You could use the complete path, including the domain name, on all pages. This will cause problems if you ever have to move your website to a different web host (Until all the dns servers across the planet have been updated).

    More Website Content Articles
    More By Jase Dow

       

    WEBSITE CONTENT ARTICLES

    - Words of Wisdom from SEO Chat Forums
    - Three Ways to Approach Content Differently
    - Thinking Beyond the Sale
    - Don`t Use Article Spinning Software
    - Give Customers the Gift of Convenience
    - Target Your Content for SEO
    - You Need Likes as Well as Links
    - Double Check These Before Going Live
    - Liven Up Your Blog with Video Content
    - Get Your Spelling and Punctuation Right
    - Improve Your Site`s Grammar
    - Content Marketing Checklist
    - Keep Traffic on Your Web Pages
    - Use a List to Increase Traffic
    - Write With a Purpose

    Developer Shed Affiliates

     



    © 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap