So I remain with my suggestion to go for a central mysql database and rescrape your library one last time.
If you want to continue with your current setup you would need to configure pathsubstituion