Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Log into VIVO as an administrator, go to Site Admin -> SPARQL query.
  2. Clear all of the text from the text area, enter the following query in the text area:

    Code Block
    SELECT ?a ?b WHERE { ?a <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#rootTab> ?b }
  3. Scroll down and click “Run Query” and you should get a result like this:
  4. To get the default namespace from the result, take everything in braces up to and including the last forward slash. In this case the default namespace is

    Code Block
    http://vivo.mydomain.edu/individual/
  5. If you do not have a the default namespace that matches does not match the domain name where your VIVO application is installed, you can use follow the steps below:
    1. Use the “Change Namespace of Resources” option under Site Admin – Ingest Tools
    to correct it. If you just change your configuration in runtime.properties, VIVO will not run correctly. Once you’ve made the change in the SiteAdmin, you will need to change it in runtime.properties, re-deploy and restart tomcat.
    1. to set the default namespace to match your VIVO application domain name as in the above examples.
    2. Set Vitro.defaultNamespace in runtime.properties to the value for your namespace
    3. Restart Tomcat

Long URLS

If you checked your default namespace and ensured it matches the domain name where your VIVO application is installed, you may find that you still have long URLs on some people profiles.

...