You can change the permalink setting to /p%post_id%, but this will also set the front property of the WP_Rewrite object to /p, so some URLs will also get this in front (/pauthor for example). You can counter this by changing the $wp_rewrite->front property again:
add_action( 'permalink_structure_changed', 'wpse5595_rewrite_front_reset' );
add_action( 'init', 'wpse5595_rewrite_front_reset' );
function wpse5595_rewrite_front_reset()
{
$GLOBALS['wp_rewrite']->front="https://wordpress.stackexchange.com/";
}
You must do this on every init so the generated links are OK, and on every permalink_structure_changed so the generated rules (that handle incoming URLs) are OK.
Comments on separate pages should be possible. I suggest you first try to find a plugin that does this, then we can figure out how to change the URL structure it uses.
Related Posts:
- How to Check if a Page Exists by URL?
- Linking comments from registered users to their profile pages
- How to get the post id from a permalink?
- How to allow slashes in single posts when i click in the edit permalink button
- How is WordPress manipulating the posts like there are folders?
- WordPress not opening posts with only numbers if permalink is post_name
- Permalink doesn’t get displayed in Twitter button (Local WordPress problem?)
- Retrieve post ID from “querying” URL
- How to remove the number of a comment in the url slug?
- Post is blank when I click on the link
- Can Permalink structure of %postname%/%post_id% improve performance
- Problem in getting user comments permalinks
- Crossposting from WP to Blogger with comments
- Why the internal link get converted into a comment?
- Oops! That page can’t be found
- Can I show category name in url for only one of my categories?
- Permalink Short code showing unnecessary link text inside the loop
- How can I make a post sub link?
- Does having category name in permalinks affect SEO when having a post in multiple categories?
- How to add a ‘News’ section to specific posts in WordPress
- Prevent Archive URLs
- Category URL to use same string as Post URL Permalink
- How do I generate formatted permalinks as specified in backend options?
- Post & Category Archives URL structure
- How to change post template via url?
- How to hide the login / profile urls on top of comment box for a post
- Default post type doesn’t display in url
- Blog posts are not appearing as subs of Blog Page
- How to add paraent in Blog post URL in wordpress
- How to remove website url field from comment form completely?
- Modify Post URL Programmatically
- Showing author page if user has no post
- Polls with respective comments?
- Why does akismet prevent jetpack comments from appearing in my moderation queue? [closed]
- Filtering the Admin Comments List to Show Only Comments from the Current User?
- Show comment number per author per day
- Comment Link from get_comments()?
- Second get_permalink inside loop points to wrong URL
- if null or int(0) value to 0
- Hide comments and posts posted by other user
- Problem with WordPress Comment
- Only show own comments in admin panel
- Where are comment ratings stored?
- Comments change the template name
- I can’t post comment via REST API
- WordPress scruity issue – Totally disable all comments by CSS — secure enough?
- Bulk append URL (add word to slug)
- Sending comment notifications to different recipients depending on taxonomy terms
- wp_new_comment requires author url and author email
- get_comments_number() vs. get_post_field( ‘comment_count’, ID )
- Where are comments coded when using custom theme?
- What is the point of get_comment_count() if you cannot limit by a comment type?
- Wrong IP address in comment section
- Comments turned off, but ‘Leave a reply’ link still there [duplicate]
- How to output number of comments with link to comments
- How do I make Twenty Ten display comments on the home page?
- How to get post id of last approved comment?
- It doesn’t matter if I have more than one comment. get_comments_number still equal to one?
- How to load new posts from wordpress db into wordpress homepage without refreshing the site?
- how show attachment image in comments query
- How to remove slug from front page?
- REST API : Get post title with comment
- Automatically register users with comments
- Comments only displaying when logged in
- WordPress keeps removing query var from the URL
- Same comment section on every page
- Comment area visible but comments not being saved
- Passing parameter through permalink structure
- Template for displaying CPT / Taxonomy URL issues
- Unable to view comments on my website
- How can I set the permalink of an article / page equal to the permalink of an existing article / page?
- How to make comment reply available only for login members of a certain user roles only?
- Using WordPress core pop-up comment function, doesn’t popup, maybe an elementor issue
- twenty seventeen theme: comments UI not visible
- where can I find the missing comments in my wordpress dashboard?
- Comments editor not rendering   and tag
- How to call out the date of user’s first comment?
- How to add category base prefix to wordpress permalink
- Links Image in “Catalog” Page to Posts
- How to create a discussion post when a custom post is created?
- Remove/hide a specify category-name from the url
- Point users to a specific url directory for some posts
- Trying to get property of non-object notices in comment-template.php
- Some comment box wordpress in 1 post [closed]
- Disqus comments only show up on newest post
- How do you remove the ability for a user to make a comment or post on a page?
- Custom Post Type permalink not working on new posts
- wp_trash_post retrashes already trashed comments?
- How to maintain changes to comment-template.php
- One of my posts is displayed as page
- Rewrite a specific Post Format to URL slug
- Get first comment link on the post itself
- Return comments_link() instead of echoing it
- just show the field comment by clicking button
- If paginated comments don’t span to a second page, how do I hide the div wrapper?
- wp_list_comments() only returns when user is loged in
- Is there a way to implement a commenting system such as that on medium or sitepoint in WP?
- Page to view single comment and all replies
- Custom permalink for ‘post’ not working
- WordPress homepage shows default theme after migration – logged-out users see different content