Closed Bug 1187498 Opened 9 years ago Closed 9 years ago

Disable SiteMapIndex extension if running on under development site instead of production

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

References

Details

Attachments

(1 file)

Currently the SiteMapIndex extension will happily replace robots.txt with it's own copy and add the SiteMap: line to the end. We should check for bugzilla.mozilla.org in the extension code and do not move robots.txt if not production. For instance bugzilla-dev.mozilla.org should not be indexes by Google and others.

dkl
Attached patch 1187498_1.patchSplinter Review
Attachment #8638794 - Flags: review?(dylan)
Blocks: 992925
Comment on attachment 8638794 [details] [diff] [review]
1187498_1.patch

r=dylan
Attachment #8638794 - Flags: review?(dylan) → review+
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   5f0d261..37ffd0f  master -> master

To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   1179fd1..96a679e  development -> development
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
See Also: → 1720283
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: