Support » Plugins » Hacks » wp_redirect to page number of a specific post?

  • $pageNumberContainingPostId = ???

    wp_redirect( get_bloginfo(‘url’)
    . ‘/page/’
    . $pageNumberContainingPostId );

    Is this possible?

    In english, to be able to redirect wordpress to a page that contains say post_ID=50

    Thanks in advance

Viewing 1 replies (of 1 total)
  • The page a blog post is on changes as the number of posts does, so in short, no it wouldn’t be possible, since the page number is not static.

Viewing 1 replies (of 1 total)
  • The topic ‘wp_redirect to page number of a specific post?’ is closed to new replies.