Difference between revisions of "SUNScholar/Repository Website Metrics/Robots"
Jump to navigation
Jump to search
m |
m |
||
| Line 3: | Line 3: | ||
</center> | </center> | ||
For an example visit: '''<tt>http://scholar.sun.ac.za/robots.txt</tt>''', then check the following. | For an example visit: '''<tt>http://scholar.sun.ac.za/robots.txt</tt>''', then check the following. | ||
| − | |||
| − | |||
| − | |||
To enable, create a "robots.txt" file in the modules folder for the XMLUI as the logged in "dspace" user. | To enable, create a "robots.txt" file in the modules folder for the XMLUI as the logged in "dspace" user. | ||
| Line 14: | Line 11: | ||
Then rebuild DSpace to activate. | Then rebuild DSpace to activate. | ||
| + | |||
| + | ==References== | ||
| + | * https://github.com/DSpace/DSpace/pull/498 | ||
| + | * https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/static/robots.txt | ||
Revision as of 15:03, 9 June 2015
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.