Hi Louis Assuming you are using an Apache proxy you should be able to use a rewrite directive to redirect links coming into the server with the old prefix, redirecting to the new handle prefix and dspace7 handle location
e.g. something like RewriteRule ^/handle/123456789/(.*) /handle/myregisteredhandle/$1 [R=302,L] or the equivalent in nginx Edmund On Wednesday, September 4, 2024 at 7:46:27 AM UTC+10 Louis Takacs wrote: > Hi > > Our repository is running 7.6.2 and we've just enabled a proper handle > prefix (with CNRI registration), which is working fine for new entries. > However, we have several thousand older entries created with the > non-activated, default ../handle/123456789/#### prefix. > > I know we can run the [dspace]/bin/dspace update-handle-prefix script to > change the '123456789' to a proper prefix, but is the old URI, the fake > one, resolved/redirected to the new one in this process? If not, is there a > recommended way to make redirects on such a batch of entries after changing > the prefix? > > Thank you! > > kind regards, > > Louis > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/88e97ccb-6cad-4502-ba8c-199a4686d645n%40googlegroups.com.
