remove category /notes/ from link and redirect