UCSF University of California, San Francisco      About UCSF       Search UCSF       UCSF Medical Center     
  Education & Training    Research    Patient Care   
 
Print This Page For Normal View, Click Here For Larger Font Sizes', Click Here

 
 
Information Services Unit
Web Resources
Announcements
Web Techniques
Web Worker Meetings
Training Resources
Web Style Guide
 

Building a Sitemap

A sitemap is useful for a couple of reasons. First, it may help your users find specific pages and second, it will enhance your ranking in search engines.

You may use Xenu to build a list of the pages on your site. Xenu will use the title tag of each page to create the sitemap, so the first thing you will need to do is be sure that each page has a unique and descriptive title. Generally the title tag should be the same as the title on the page.

Once you have updated your page titles, creating the sitemap is a very quick process.

  1. If you have not already done so, download Xenu TM from their website. Install Xenu and edit preferences. Be sure the Site Map option is checked in the preferences.

  2. Run Xenu for broken links as you usually do. Copy and paste, or type in the URL of your site.

    Note: Be sure that it is written like this: http://medschool.ucsf.edu/about/index.aspx (be sure to include "index.aspx").

    Xenu will ask you if you would like a report. Click 'yes'.

  3. At the top of the report there will be link to the sitemap Xenu has created. Click on the link to view the sitemap links. This will contain links to all the pages in your site.

    (There may also be a few School of Medicine pages that are linked from the global navigation which you will not want to include in your site's sitemap. These should be pretty obvious when you see them, but for your reference, they are listed at the bottom of this tutorial.)

    Double check here to be sure that all the links have unique, descriptive names. You may have to go back to your site to update page titles at this point and repeat steps 1 and 2 as necessary until you are satisfied with the look of your sitemap.

  4. Once you are satisfied with the sitemap links in the Xenu report, view the source from the Xenu report.




    Do a search on 'sitemap' to locate the sitemap in the source code.

  5. Now follows the trickiest part of creating a sitemap.

    Copy the ordered list of URLs. Copy from the <ul> to the </ul> tags.





    Paste this code into the code view of a new page you have created from your template.

    (Delete those URLs which are not a part of your site. You may also decide to delete the URLs to certain other pages as well, for simplicity's sake. )

  6. Save the page as sitemap.aspx, link to it and you are done.

    Important: Remember to keep your sitemap up to date!

Links which may be excluded from your sitemap:

These links are from the UCSF navigation and should be excluded from your sitemap:

  • http://www.ucsf.edu/
  • http://www.ucsf.edu/about_ucsf/
  • http://www.ucsfhealth.org/
  • These links are from the School of Medicine navigation and should be excluded from your sitemap:

  • http://medschool.ucsf.edu/
  • http://medschool.ucsf.edu/education/
  • http://medschool.ucsf.edu/research/
  • http://medschool.ucsf.edu/patient_care/
  • http://medschool.ucsf.edu/index.aspx
  • These links are from the "Find" navigation and should be excluded from your sitemap:

  • http://medschool.ucsf.edu/departments.aspx
  • http://medschool.ucsf.edu/faculty/index.aspx
  • http://medschool.ucsf.edu/deans.aspx
  • http://medschool.ucsf.edu/adminresources.aspx
  • http://medschool.ucsf.edu/compliance/index.aspx
  • These particular links are from the "See Also" navigation and a call out box in the LeftHandNavigation. They are specific to the "About the Schoool" site. These type of links will also show up on your report. They should be excluded from your sitemap.

  • http://www.library.ucsf.edu/ucsfhistory/
  • http://dentistry.ucsf.edu/
  • http://nurseweb.ucsf.edu/www/ix-as.shtml
  • http://pharmacy.ucsf.edu/
  • http://saawww.ucsf.edu/graduate/
  • http://medschool.ucsf.edu/news/index.aspx
  • These links are from the footer navigation and should be excluded from your sitemap.

  • http://medschool.ucsf.edu/design/redesign/global/footer/site_map.aspx
  • http://medschool.ucsf.edu/design/redesign/global/footer/contact_info.aspx
  •  

    Updated: May 17, 2007
        Site Map    Contact Info     ©UC Regents