Hi there, welcome to the forum.
This topic has been discussed several times in the forum.
I’d like to mention this one: the solution is OK, but especially good to explain “the context”. Also the suggestion two posts after to use symlinking is a very very common approach to this “issue”.