What is the post_name field in wp_posts in wordpress?

I am porting an application in Wordpress. We have thousands of Wordpress posts that we will embed as custom_types in the wordpress database. What is the post_name field in wp_posts? Can we have two entries with the same name by name? Is this for friendly urls?

+4
source share
2 answers

post_nameis a message. They must be unique .

Read more about WP_Postmember variables in the code .

+8
source

, post_name . post_name UNIQUE MySQL, , , , . , , , wp_posts post_name.

, , , .

0

Source: https://habr.com/ru/post/1611945/


All Articles