Posts Tagged ‘post slug’

How to use WordPress Post Slugs to generate permalinks

Wordpress Permalink Post Slug
For a very long time now we have been looking for a method to get permalinks from our Worpress database. We searched on Google for everything we could think of, find WordPress permalinks in database, WordPress MySQL permalinks and so on. We searched on this issues for many months to now avail.

We found out the the post title is stored in a ‘slug’ in the database so we tried to access ‘post_slug’, but this is not a field name in the posts table.