I want to redirect the same directory, but different url structure. The url structure I use: http:example.com/car/cadillac/image/2
I want to direct http: example.com/car/cadillac/image/ url. Because this url is 404. I want to redirect to http: example.com/car/cadillac/
(In fact, the problem comes from the "image" link structure: How to change the permalink structure of a master page?) As an alternative, I thought about the routing rule. But the cpanel 301 redirect is not successful.
http: example.com/car/cadillac/image/ How can we redirect the URL to http: example.com/car/cadillac/ ?