I am writing a script to create the custom url rewrite in magento. This will take a csv file as input and create the url rewrite.

I have a field in the csv file as id_path also.

I have one concern that do I need to follow a particular format for the id_path or I can have any unique value in this field?

Following are given in magento documentation



suppose my target_path is destination.html should I use id_path as destination or destination.html ?

1 Answer 1


From my console

enter image description here

you can see id_path is a unqiue ID not related to the actual redirect rule in any way more than an ID.

The image is saying a redirect will happen when domain.com/dealerlocator is called and the final path will be domain.com/ustorelocator/location/map.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.