I think I have solved this. See https://svn.apache.org/repos/asf/zest/site/content/.htaccess which simply lists the redirects we want.
Cheers Niclas On Fri, Dec 18, 2015 at 9:54 AM, Niclas Hedhman <[email protected]> wrote: > No, I don't think the posted links should be edited, but the redirect > should be fixed to work. > > Why is the single rule not sufficient?? > qi4j.org/* -> zest.apache.org/java/* <http://zest.apache.org/*> > > zest.apache.org/java/ is currently redirecting to > zest.apache.org/java/latest/ , and I am ok that there is a pop-up > redirect page, but I think it can be fixed with .htaccess files. > > Cheers > Niclas > > On Fri, Dec 18, 2015 at 6:48 AM, Paul Merlin <[email protected]> wrote: > >> Niclas Hedhman a écrit : >> > While going through Qi4j tags in Stack Overflow, I noticed that a fair >> > amount of good links have been posted by (mostly) Paul and they don't >> > resolve properly, since we have injected a "/java/" in the URL space. >> >> I can edit the links I posted on SO but this won't fix the issue for all >> other deep links to qi4j.org that are present elsewhere. And there are >> some. >> >> > So, I am not sure where the http://qi4j.org redirect works, but it >> should >> > bring us to http://zest.apache.org/java/ instead of the / >> >> Makes sense. But for ~all links to work we would need something like: >> >> qi4j.org/1.0/* -> zest.apache.org/java/1.0/* >> qi4j.org/1.2/* -> zest.apache.org/java/1.2/* >> qi4j.org/1.3/* -> zest.apache.org/java/1.3/* >> qi4j.org/1.4/* -> zest.apache.org/java/1.4/* >> qi4j.org/1.4.1/* -> zest.apache.org/java/1.4.1/* >> qi4j.org/2.0/* -> zest.apache.org/java/2.0/* >> qi4j.org/2.1/* -> zest.apache.org/java/2.1/* >> qi4j.org/latest/* -> zest.apache.org/java/latest/* >> qi4j.org/develop/* -> zest.apache.org/java/develop/* >> qi4j.org/* -> zest.apache.org/* >> >> If this is not possible then the more simple redirection you suggested >> would already be much better than the actual situation. >> >> I have no idea where/how redirection is set up at Apache. >> >> > > > -- > Niclas Hedhman, Software Developer > http://zest.apache.org - New Energy for Java > -- Niclas Hedhman, Software Developer http://zest.apache.org - New Energy for Java
