I am facing an wiered problem while adding new Page in the wordpress.
Steps:
- Create a new page with title “Test one” and save it in the draft.
- Immediately create another page with title “Test two” and save it in draft.
- Observe that page with title “Test one” is not visible in the drafts section, only “Test two” is visible.
I have also observed the post id assigned to the page after save. The post id for the two pages was same while saving it. (now it shows only latest one.)
The first page gets updated by the second one because of the same post id.
The same behaviour is occurred with Posts as well.
Can anybody explain why wordpress behaving like this and do not allow to add new page?
I have searched over an internet about the issue and read that for SEO the site should have handle duplicate contents for SEO.
Is this the case that’s why wordpress not allowing to create new page
with similar title?
Thank you.
2
Answers
The issue was created because of Cache-Control header which was set in the .htaccess file.
Due to this edit-post.php is getting served from the disk cache.
One more quick question if anybody has answer to this.
I have tried your issue with fresh wordpress working well
May other plugin causes issue.