Creating Permalinks? (4 posts)

  1. gutterboy
    Posted 9 years ago #

    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!

  2. gutterboy
    Posted 9 years ago #

    Can anyone point me in the right direction please?

  3. skippy
    Posted 9 years ago #

    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.

  4. gutterboy
    Posted 9 years ago #

    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. :)

Topic Closed

This topic has been closed to new replies.

About this Topic