Support » Fixing WordPress » How to get the PostID by permalink using url_to_postid()

  • Hi,

    I am trying to get the post id in my blog, http://intersoftpt.wordpress.com. I am using asp.net. When I started to google it, I found that we can use ReWrite API to use the function url_to_postid().
    Can anyone give me an example or a snippet on how to apply that class and call that particular function in asp.net?
    My scenario is to create a comment in my aspx page and automatically added in my blog as well.
    Thanks in advance.

    Best Regards,
    Andi Santoso

Viewing 1 replies (of 1 total)
  • This support forum is for blogs that are self-hosted. If your question is about a blog hosted at WordPress.com then you’ll find help at wordpress.COM support.

    If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.

    If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.

Viewing 1 replies (of 1 total)
  • The topic ‘How to get the PostID by permalink using url_to_postid()’ is closed to new replies.