Forums

how to update the slugs? (1 post)

  1. carlla
    Member
    Posted 2 years ago #

    I am creating new attachments on wp_posts through mysql, but the slug isn't working as an permalink.

    But when I upload a new image through WP those same slugs work fine (all them, mine and WP's).

    I took a look at wp_insert_post() and find wp_cache_flush(). What does this function do exactly? Could be this the diference between wp_insert_post and mysql wp_post new entry?

    thanks in advance =]

Topic Closed

This topic has been closed to new replies.

About this Topic