Versions Compared

Key

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

You may have several hundred links pointing to your Millennium/Sierra/Legacy catalogs that you would like redirected to Primo.  This article includes some ideas about how you might accomplish redirecting legacy catalog links to Primo. 

Step-by-step guide:  Apache Redirect

This setup presumes you will be pointing your legacy catalog domain (e.g., catalog.example.edu) to a server that will have the following Apache configuration using Apache virtual hosts:

...

RewriteRule "^/record=(.+)" "http://library.calstate.edu/yourinst/books/record?id=$1" [R,L]

#If URL contains a searcharg query string, put the query string into a Primo URL as searchable keyword.  

...

RewriteRule ^/search(.*) https://csun-primo.hosted.exlibrisgroup.com/primo-explore/search?search_scope=EVERYTHING&vid=01CALS_UNO&facet=tlevel,include,available$$I01CALS_UNO&tab=everything&offset=0&query=creatorany,contains,%1 [L,QSA,NE,NC]

...

RewriteRule ^(.*)$ https://csun-primo.hosted.exlibrisgroup.com/primo-explore/search?search_scope=EVERYTHING&vid=01CALS_UNO&facet=tlevel,include,available$$I01CALS_UNO&tab=everything&offset=0 [L,QSA,NE,NC]

Alternative method: PHP Redirect

 

...

Thanks for Ian Chan (Unlicensed) for sharing this example script from San Marcos!

PHP URL Redirect Script (San Marcos)

Filter by label (Content by label)
showLabelsfalse
max5
spacesULMSS
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "ULMSS"
labelskb-how-to-article

...

Page Properties
hiddentrue


Related issues