2

I want to create a Excel file with all used slugs in my Craft website. I've searched for a plugin but without succes. I also tried to find a useful table in the Craft database, also without succes.

Is there a simple way to achieve this?

1 Answer 1

2

I already found a solution. I just created a simple query:

SELECT content.elementId entryId, title, uri
FROM `craft_content` content
JOIN craft_elements elements ON elements.id = content.elementId
JOIN `craft_entries` entries ON entries.`id` = content.`elementId`
JOIN `craft_elements_i18n` `elements_i18n` ON elements_i18n.elementId = 
elements.id

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.