This is a very simple PHP script for OpenCart. It goes through all products and categories and inserts a entry into the url_alias table for SEO URLS.