SUNScholar/Clean URL

From Libopedia
Revision as of 02:15, 23 December 2016 by Hgibson (talk | contribs) (Step 3)
Jump to navigation Jump to search

Introduction

The use of a "clean URL" for your web site is generally regarded as best practice, however a DSpace installation without some special tweaking does not deliver a "clean URL".

What is a "clean URL"?

The following are clean URL's;

  1. http://scholar.sun.ac.za
  2. http://open.uct.ac.za
  3. http://repository.up.ac.za
  4. http://repository.hsrc.ac.za
  5. http://repository.uwc.ac.za

In other words the URL does not contain a port number, such as 8080 in it's URL. In addition the URL does not contain a forward slash identifier for the web interface to be used, for example /xmlui or /jspui.

What is a memorable URL?

The following are memorable (easy to remember) URL's;

  1. http://www.google.com
  2. http://facebook.com
  3. http://scholar.sun.ac.za

A memorable URL therefore, is one that is SHORT, does not have repeating elements in the URL and directly relates to the purpose of the web site and does not promote the software product used to build the web site.

How to create a clean URL for a new DSpace installation

Step 1

Before the installation of DSpace think very carefully about the name of the repository. This name will be used in the URL of the repository. It is critically important that once the name has been selected and the proper URL developed, that you NEVER change it, because this will cause a lot of broken links (linkrot) and drastically affect your repository and researchers rankings.

Step 2

You need to ensure that the IP address used for the repository is properly registered by your campus network administrator. You also need to ensure that the IP address assigned to server and the DNS record assigned to server are properly configured on the server.

It is essential that you consult with your campus network administrator when completing this configuration.

Step 3

When preparing your Tomcat server to deliver the DSpace web application, make sure that the Tomcat server listens on port 80 and 433, not port 8080 and 8443. Ports 8080 and 8443 are used by Tomcat when doing a default installation of Tomcat on a linux server.

The method of installation used in the link above eliminates the need to use the Apache2 web server and therefore the reduces the load on the server.

Step 4