Laravel mendapatkan URL lama
str_replace(url('/'), '', url()->previous())
Determined Dolphin
str_replace(url('/'), '', url()->previous())