Feature request: prevent publishing pages in draft
Permalink
I'm in a situation where multiple pages need to be added in bulk and kept in the draft folder. As the parent page doesn't exist yet, in the Sitemap clicking on the "drafts" and then adding a new page places it under drafts where it belongs.
When it comes time to publish and the new parent page has been created, what should happen in the editor should set the "location" (clicking on the page in Sitemap and choose "locations"), then change the canonical URL and delete the old /!drafts URL.
Apart from being quite tedious, the process is prone to a major problem - if there's a lot of pages and the editor is not careful, a page can be published under "/!drafts" which then automatically gets picked up by Google (via the sitemap.xml file).
It's easy to miss this because as an admin/editor, the page still exists in the "drafts" folder and after making several changes, it's not immediately clear what pages in drafts are unpublished and which ones have bee accidentally published.
Using "workflows" is one way to try to prevent this - although the user account being used is the super admin so they will override any workflows anyway. I really can't think of any real-world scenario where a site editor should publish any page under "/!drafts", so I have a feature request to prevent accidental draft pages being published (and left under drafts), and when a page is finally moved, it will drop any canonical URLs that include "/!drafts" in it.
Possible?
When it comes time to publish and the new parent page has been created, what should happen in the editor should set the "location" (clicking on the page in Sitemap and choose "locations"), then change the canonical URL and delete the old /!drafts URL.
Apart from being quite tedious, the process is prone to a major problem - if there's a lot of pages and the editor is not careful, a page can be published under "/!drafts" which then automatically gets picked up by Google (via the sitemap.xml file).
It's easy to miss this because as an admin/editor, the page still exists in the "drafts" folder and after making several changes, it's not immediately clear what pages in drafts are unpublished and which ones have bee accidentally published.
Using "workflows" is one way to try to prevent this - although the user account being used is the super admin so they will override any workflows anyway. I really can't think of any real-world scenario where a site editor should publish any page under "/!drafts", so I have a feature request to prevent accidental draft pages being published (and left under drafts), and when a page is finally moved, it will drop any canonical URLs that include "/!drafts" in it.
Possible?