WP Database generate content for post_name column

Question

I ran a query that deleted all content in post_name (used for SEO-friendly URLs) column.

UPDATE wp_posts SET post_name = ''

I thought that WordPress would automatically populate new ones if I update the permalink structure but I was wrong.

I also tried this function and still no luck.

Is there anyway to at least get the links working again?

0
, , , jkcoding 6 years 2015-08-23T01:18:18-05:00 0 Answers 101 views 0

Leave an answer

Browse
Browse