This is my permalink structure
How can I check test-post exist or not? I’m using wpml for multi language so not able to checking using slug.
Post ID is causing issues while checking. Is there any solution for this?
This format is working
https://example.com/in/test-post/, but not this
Thanks in advance.
Read more here:: How to check a post exist when the permalink has post id in it?