SUNScholar/Repository Website Metrics/Robots

From Libopedia
Revision as of 15:02, 9 June 2015 by Hgibson (talk | contribs)
Jump to navigation Jump to search
BACK TO REPOSITORY WEBSITE METRICS

For an example visit: http://scholar.sun.ac.za/robots.txt, then check the following.

To enable, create a "robots.txt" file in the modules folder for the XMLUI as the logged in "dspace" user.

mkdir $HOME/source/dspace/modules/xmlui/src/main/webapp/static
nano $HOME/source/dspace/modules/xmlui/src/main/webapp/static/robots.txt

Copy and paste the contents of the github file mentioned above and modify as required.

Then rebuild DSpace to activate.