remove /notes/ from link & redirect