redirect url with optional paremeters to query string
mojtabaRKS opened this issue · 1 comments
mojtabaRKS commented
hello !
i have this url :
www.website.com/category/product/page/{numberOfPage}
how to redirect to this url :
www.website.com/category/product?page={numberOfPage}
thanks for your answer :)
atymic commented
Based on the code here:
https://github.com/spatie/laravel-missing-page-redirector/blob/master/src/MissingPageRouter.php#L75-L77
Have you tried the following?
www.website.com/category/product?page={{numberOfPage}}