A little late to the party but would it also make sense to add a robots.txt file? I realise they work in slightly different ways. [[[ User-agent: * Disallow: / ]]]
How about --record-only "merging" these differences in publish to prevent accidental merge? (I saw the later SERVER_NAME commit but we might prevent it from even appearing in publish). Kind regards, Daniel Den fre 16 okt. 2026 kl 11:43 skrev <[email protected]>: > > Author: ivan > Date: Fri Oct 16 09:43:56 2026 > New Revision: 1939149 > > Log: > In site/staging: Try to implement INFRA suggestion to hide subversion-staging > site > from indexing via .htaccess. See INFRA-28512. > > NOTE: This changes **should not** merged to publish. > > .htaccess: Add `Header set X-Robots-Tag "noindex, nofollow"`. > > [1]: https://issues.apache.org/jira/browse/INFRA-28512 > > Modified: > subversion/site/staging/.htaccess > > Modified: subversion/site/staging/.htaccess > ============================================================================== > --- subversion/site/staging/.htaccess Fri Oct 16 09:38:10 2026 > (r1939148) > +++ subversion/site/staging/.htaccess Fri Oct 16 09:43:56 2026 > (r1939149) > @@ -14,3 +14,7 @@ RedirectMatch permanent ^/issue-tracker( > RedirectMatch ^/issue[^A-Za-z0-9]?(\d+)$ > https://issues.apache.org/jira/browse/SVN-$1 > RewriteRule ^/?download(\.html)?/?$ /download.cgi [PT] > > +# Staging site only > +<IfModule mod_headers.c> > + Header set X-Robots-Tag "noindex, nofollow" > +</IfModule> >

