Using robots.txt to hide from search engines
System administration
- Finding your Server ID
- Increasing JIRA application memory
- Using the database integrity checker
- Precompiling JSP pages
- Logging and profiling
- Backing up data
- Restoring data
- Search indexing
- Using robots.txt to hide from search engines
- Licensing your JIRA applications
- Viewing your system information
- Monitoring database connection usage
- Viewing JIRA application instrumentation statistics
- Generating a thread dump
- Finding your JIRA application Support Entitlement Number (SEN)
- Auditing in JIRA applications
- Important directories and files
- Integrating JIRA applications with a Web server
- Securing JIRA applications with Apache HTTP Server
- Changing JIRA application TCP ports
- Connecting to SSL services
- Running JIRA applications over SSL or HTTPS
- Configuring security in the external environment
- Data collection policy
- JIRA Admin Helper
- Raising support requests as an administrator
- Start and Stop JIRA applications
On this page
Related content
- No related content found
The robots.txt protocol is used to tell search engines (Google, MSN, etc) which parts of a website should not be crawled.
For JIRA instances where non-logged-in users are able to view issues, a robots.txt file is useful for preventing unnecessary crawling of the Issue Navigator views (and unnecessary load on your JIRA server).
Editing robots.txt
JIRA (version 3.7 and later) installs the following robots.txt
file at the root of the JIRA web app ($JIRA-INSTALL/atlassian-jira
):
# robots.txt for JIRA
# You may specify URLs in this file that will not be crawled by search engines (Google, MSN, etc)
#
# By default, all SearchRequestViews in the IssueNavigator (e.g.: Word, XML, RSS, etc) and all IssueViews
# (XML, Printable and Word) are excluded by the /sr/ and /si/ directives below.
User-agent: *
Disallow: /sr/
Disallow: /si/
Alternatively, if you already have a robots.txt
file, simply edit it and add Disallow: /sr/
and Disallow: /si/
.
Publishing robots.txt
The robots.txt
file needs to be published at the root of your JIRA internet domain, e.g. jira.mycompany.com/robots.txt
.
If your JIRA instance is published at jira.mycompany.com/jira
, change the contents of the file to Disallow: /jira/sr/
and Disallow: /jira/sr/
. However, you still need to put robots.txt
file in the root directory, i.e. jira.mycompany.com/robots.txt
(not jira.mycompany.com/jira/robots.txt
).
Related content
- No related content found