• Hey guys,

    I’ve wrote a script to input posts into WP in bulk; but I’m stuck on what to do to create the permalink? I’ve looked through the coding but still find it rather confusing on what code exactly I need to execute to create the permalink.

    Any help?

    Thanks a lot!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter gutterboy

    (@gutterboy)

    Can anyone point me in the right direction please?

    WordPress doesn’t store the permalinks in the database at all. The permalink structure stored in the database (wp_options table) is used to parse the incoming request and prepare a query to fetch posts that match the structure.

    So if you’re inserting posts directly to the database, you shouldn’t need to worry about permalinks.

    Thread Starter gutterboy

    (@gutterboy)

    Hmmm…….. I must be thinking of something else then; I’m talking about the URL it creates & inserts into the “posts” table in the “guid” section.

    Thanks for the help. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Creating Permalinks?’ is closed to new replies.