I would like to export all my URL rewrites in a CSV, via Magento 2 admin panel I can't do it. I followed this guide below but I didn't find anything native.


How could I export it via CSV directly from the database?


Create a SQL script with the content below.

select * from url_rewrite;

And run it in that way to generate your CSV file.

mysql -h -u magento -pmagento magento < url_rewrites.sql > url_rewrites.csv

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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