I need to redirect my customers when a 404 page is thrown. To achieve this, I need to check whether a particular target path exists in the url rewrite management table.
For example : if my target path is "category1/category2/product1", how would I check that this target path is present in the url rewrite management table, and how to retrieve all information / entries matching the target path shown above ?
Best Answer