allfriends with url rewrite