how to automatically add the id of a webpage to the url

  • Answered
my website contains blog posts i wrote myself. But in order to submit and display comments for that particular article, my php code requires that add the id of the article to the url (for example
the problem is that i have to add the id myself in the browser, how the id automatically appear in the url.
Hello, Thank you for your question on how to add the post ID to your URL. Without any specific information to go on, I can only answer generally. For WordPress, you would simply set your permalink settings to include what you desire. The 'plain' setting will include the post ID by default. Kindest Regards, Scott M