Linking to a page in the same directory

When you create a hyperlink within your Web site, you should not use the full URL. Since both the page you are linking from and the page you are linking to are on the same host, you can omit the protocol and domain name of the server.

For example, this is a link to another page in the same directory. If you view the source, you will see that the link simply contains the file name.


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.