PPdirectory - Best Free Website Directory

From iCulturalDiplomacy
Revision as of 09:33, 24 October 2014 by Margare3478 (talk | contribs) (Created page with " There are many "wysiwyg" web page design applications that let you create a webpage as easy as typing text. The stumbling block is understanding how to link pages together t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


There are many "wysiwyg" web page design applications that let you create a webpage as easy as typing text. The stumbling block is understanding how to link pages together to form a web site.

The first trouble is that sites are consisted of in virtual directory sites. And the system administrator can move your web site to a various folder, or even a different computer, without changing its virtual address.

The 2nd trouble is that lots of people have no idea how to compose a relative link. Relative links have the benefit that you don't need to know the course to the page that you want to connected to, you just need to know where it is "relative" to the web page containing the link.

Designing Your Directory site Structure

The first step to executing a site is to create the directory structure. Let's design a directory site structure for a simple download site.

To keep the files arranged, you need to create sub-directories (folders) on the website. Despite the fact that the website consists just of articles and digital downloads, you need 5 sub-directories, as described below.

articles
downloads
basic
usual
cgi-bin

You understand what the "posts" and "downloads" sub-directories are for, but exactly what are the other 3 sub-directories for? It's standard practice to offer particular features on your site, as noted below.

About
Contact
Frequently Asked Question
Privacy Policy
Search
Sitemap
User Arrangement

Each of these features needs a website. Instead of discarding the web pages on top level of the website, or mixing them in with downloads or articles, let's put them together in a folder named "basic" (I make certain you can think about a much better name).

All of your webpages use specific things in common, for example, your logo graphic. If your internet server offers SSI (Server Side Consists of) all your webpages can share a typical header file and an usual footer file.

Your contact page could use an email form. If your server provides server-side scripts, you would place the e-mail form script in a folder named "cgi-bin". Cgi-bin represent "Usual Entrance User interface - Binary". Couple of people make use of CGI any more, and those that do don't use binary files, but the folder name has stuck as a conventional place to shop scripts. Virtually all web sites have a preconfigured cgi-bin folder, and the site could be configured so that the cgi-bin folder is the only folder with rights to run scripts.

I would also advise that you produce particular sub-directories for some of the above discussed directories. Many web pages contain images. You can dispose all the images in the exact same folder with the webpages, but when you get even more than about 50 files in a folder, it ends up being challenging to preserve. You ought to create an "images" sub-directory in the short articles, downloads, and basic directories. The downloads directory site should likewise have a "files" sub-directory to save the downloads.

This plan of directories and sub-directories will certainly offer great file organization for the example site. Understanding my reasoning for this directory site structure should help you to create a directory site structure for the website you want.

Default Page Configuration

Every website has at least one default website configured (likewise called the "home" page). The default webpage is the web page that is returned when the user clicks or gets in on a link consisting of just the domain name, without a specific file name. On a Unix or Linux internet server, the default webpage will generally be "index.

The website administrator, or if your webhost supplies the needed "control panel" feature, you can actually configure any page to be the default page. If your web server has more than one default page configured, I would advise getting rid of all but the default page that you intend to use.

Now, let's assume that all of your webpages need to link to an image file called "logo design. gif" stored in the "usual" folder. The relative link on your default webpage would be as shown below.

"common/logo. gif".

The website file manager translates this as "appearance in the folder named usual for the file called logo design. gif".

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

". / common/logo. gif".

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

This distinction in the link could not be a trouble unless you utilize SSI or ASP (Active Server Pages) to construct your web pages from an usual header file and a common footer file. You need a various link in the common file depending upon whether the page linked to the common file is the default web page (where you would use common/filename) or a webpage contained in a sub-directory (where you would make use of. / common/filename). There are a number of means to fix this trouble.

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

2. You can utilize the full course, including the domain name, on all pages. If you ever have to move your internet site to a various internet host (Until all the dns servers across the world have been updated), this will trigger problems.

3. You might put your web page in a sub-directory, as an example "typical", and make your default page into a re-direct to your web page. Then you would utilize ". / common/filename" for all links. The following meta tag, positioned the head area of your default webpage, will instantly reroute the users browser to your real home page.

meta http-equiv="refresh" content="0, url=" [1].

In this article, I showed you the best ways to develop a directory structure for your site and how to create relative links to connect all your web pages together to form an internet site. Website visitors do not prefer to do a great deal of scrolling, so try to keep your web pages to only 2 or three screens high. Please, say goodbye to sites that include only one mile long page!

Copyright(C) Bucaro TecHelp.

Authorization is given for the below article to forward, reprint, distribute, utilize for ezine, newsletter, web site, offer as totally free perk or part of an item for sale as long as no modifications are made and the byline, copyright, and the resource box below is consisted of.


There are many "wysiwyg" page design applications that let you produce a web page as simple as typing text. The stumbling block is knowing how to link web pages together to form a website. The default website is the web page that is returned when the user clicks or goes into on a link including just the domain name, without a particular file name. You require a different link in the usual file depending upon whether the page connected to the usual file is the default webpage (where you would use common/filename) or a webpage contained in a sub-directory (where you would make use of. In this short article, I revealed you how to create a directory structure for your website and how to develop relative links to link all your websites together to form an internet site.

In case you liked this short article along with you would like to be given more details about web directory is kindly pay a visit to our own web site.