https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292018-01-02T09:02:11ZRedmineRedmine - Feature #27876: Add project id to robots.txthttps://www.redmine.org/issues/27876?journal_id=828462018-01-02T09:02:11ZGrischa Zengel
<ul></ul><p>I thinks it's better to block the whole numeric project:</p>
<pre>
User-agent: *
Disallow: /redmine/projects/support/repository
Disallow: /redmine/projects/support/issues
Disallow: /redmine/projects/support/activity
Disallow: /redmine/projects/3
Disallow: /redmine/issues/gantt
Disallow: /redmine/issues/calendar
Disallow: /redmine/activity
Disallow: /redmine/search
</pre> Redmine - Feature #27876: Add project id to robots.txthttps://www.redmine.org/issues/27876?journal_id=828472018-01-02T09:45:11ZToshi MARUYAMA
<ul><li><strong>Tracker</strong> changed from <i>Defect</i> to <i>Feature</i></li></ul> Redmine - Feature #27876: Add project id to robots.txthttps://www.redmine.org/issues/27876?journal_id=828502018-01-02T10:02:22ZToshi MARUYAMA
<ul><li><strong>File</strong> <a href="/attachments/19809">robot.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/19809/robot.diff">robot.diff</a> added</li></ul><p>Try this patch.</p> Redmine - Feature #27876: Add project id to robots.txthttps://www.redmine.org/issues/27876?journal_id=828532018-01-02T11:16:18ZGrischa Zengel
<ul></ul><p>It works. Thanks.</p>
<pre>
User-agent: *
Disallow: /redmine/projects/support/repository
Disallow: /redmine/projects/support/issues
Disallow: /redmine/projects/support/activity
Disallow: /redmine/projects/3/repository
Disallow: /redmine/projects/3/issues
Disallow: /redmine/projects/3/activity
Disallow: /redmine/issues/gantt
Disallow: /redmine/issues/calendar
Disallow: /redmine/activity
Disallow: /redmine/search
</pre> Redmine - Feature #27876: Add project id to robots.txthttps://www.redmine.org/issues/27876?journal_id=834332018-01-31T18:20:52ZToshi MARUYAMA
<ul><li><strong>Subject</strong> changed from <i>add numerical project to robots.txt</i> to <i>add project id to robots.txt</i></li></ul> Redmine - Feature #27876: Add project id to robots.txthttps://www.redmine.org/issues/27876?journal_id=834342018-01-31T18:26:38ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Target version</strong> set to <i>4.0.0</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>I think it is no problem because project id is disclosed in project.xml and robots.txt hides non public projects.<br /><a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/17189/entry/trunk/app/controllers/welcome_controller.rb#L26">source:trunk/app/controllers/welcome_controller.rb@17189#L26</a></p> Redmine - Feature #27876: Add project id to robots.txthttps://www.redmine.org/issues/27876?journal_id=873882018-09-17T13:39:26ZGo MAEDA
<ul><li><strong>Category</strong> set to <i>SEO</i></li></ul> Redmine - Feature #27876: Add project id to robots.txthttps://www.redmine.org/issues/27876?journal_id=886492018-11-30T14:19:40ZMarius BÄ‚LTEANU
<ul><li><strong>Subject</strong> changed from <i>add project id to robots.txt</i> to <i>Add project id to robots.txt</i></li></ul>