uschindler edited a comment on pull request #70:
URL: https://github.com/apache/solr-site/pull/70#issuecomment-1031265377


   OK, let's keep with a single htaccess file on root level. We will see if 
INFRA complains about slowness. Maintenance is another fact (but how long do we 
need to keep the redirects?). As all folders are versioned we only need the 
top-level redirects for a while until all search engines have updated their 
links.
   
   RewriteMap would be cool, but when looking at the whole folder layout: 
Couldn't it be simplified with a few regular expression redirects? To me it 
looks like something like this:
   
   ```
   RedirectMatch ^/guide/(file1|file2|file3)\.html /guide/subdir1/$1.html
   RedirectMatch ^/guide/(file4|file5|file6)\.html /guide/subdir2/$1.html
   ```
    Of course if there are also file renames that won't work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to