Genesis 35:20

And Jacob set a pillar upon her grave: that is the pillar of Rachel’s grave unto this day.

Rachel was buried at the place where she died. That burial place was on the way to Ephrath. Jacob set a pillar over her grave to mark the burial place and preserve her memory.