• Resolved marckd

    (@marckd)


    hello everybody

    after an enormous work, I have migrated my site with over 36000 posts to WordPress

    but now I need to resolve this, the links from the past system are like read.php?id=NUMBER
    and I want this to be redirected to the new permalinks from WordPress

    how do I do it?

    I know the theory, get the ID from GET_, connect to database, get the permalink, do the redirect

    but I don’t if there is a simple solution to this, or if I have to code it alone, and if so, I don’t know how does WordPress makes the redirect, do I use the guid or the post_name row?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘how to get the permalink from a post ID??’ is closed to new replies.