Having Problems with your pages linking correctly?

We have outlined a few common mistakes
made in writing HTML for CLPW.NET

These are a few common mistakes
and help for new Members.

All of the usernames created are stored under the "http://www.clpw.net/pages/" directory.

CLPW.NET Free HomePages, is site set up as a "virtual subdomain host", which means that YOUR REAL URL IS NOT http://yourusername.clpw.net/ although that is what the general public sees. That is just a virtual subdomain, for easy access to your pages. The REAL URL where all of your files are stored is:

http://www.clpw.net/pages/yourusername/ (yourusername is whatever you used as your username, at sign-up)

When you link to another page or graphic file, you have to point to the REAL URL of the page, instead of the subdomain.

Example: You have a page called page1.html in the main directory of your account (yourusername). You would write the link as: <a href="http://www.clpw.net/pages/yourusername/page1.html">Page 1</a>

If the page is in the same directory as the page you are linking from, it is a much shorter link.

Example: <a href="page1.html">Page 1</a>

The same is true with image files. Suppose you have created a directory inside of the yourusername directory called "images" and want to link to an image file called "me.gif" inside that directory. The link to the "me.gif" would be;

Example: <a href="http://www.clpw.net/pages/yourusername/images/me.gif">ME</a>

Files on a server are also "case sensitive", this includes your directory. If you name a page "Page1.html" you must link to "Page1.html", not "page1.html". Linking to a page using the wrong case will cause a "404 File not Found" error message, when someone clicks on it.

Also, because of the case sensitivity, if you signed up for a username as "bob" then your REAL URL would be:

http://www.clpw.net/pages/bob/

If you try to point to:

http://www.clpw.net/pages/Bob/

you will also get a "404 File not Found" error page.

Note: The virtual subdomains are not case sensitive. For the username/subdomain "bob" pointing to:

http://bob.clpw.net/

will automatically send them to: http://www.clpw.net/pages/bob/index.html

We hope this clears things up a bit. If you need further help, don't hesitate to write. We're happy to help.