Fixed paths generation when website is in subfolders