How can I get the list of all pages URLs including their shortlink IDs? July 28, 2022 by Tarik Billa You can get this from the guid column in the posts table of your database.