WordPress – Default Single Post URL of any Content Type Post

wordpress-default-post-url

In WordPress tutorial I will explain what is default url of single post of any content type post.

Single Post URL of Post type content

Single post url depend on permalink settings.
WordPress Dashboard Settings Permalinks

Single Post URL of custom content type

This depend on value of rewrite when registering custom content type.

Default Single Post URL of any content type

The default url of single post of any content type is:

example.com/?p=123

Where, 123 is post ID.

How to get post ID

Go to edit page of that post. See the url of that edit page. It will be something like this:

https://example.com/wp-admin/post.php?post=999&action=edit

999 is the ID of this post. Like this you can get ID of any page / post of any content type.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *