Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permalinks: cannot define post/page permalink until after clicking Save Draft #7129

Closed
GlennMartin1 opened this issue Jun 4, 2018 · 15 comments · Fixed by #12009
Closed

Permalinks: cannot define post/page permalink until after clicking Save Draft #7129

GlennMartin1 opened this issue Jun 4, 2018 · 15 comments · Fixed by #12009
Assignees
Labels
[Feature] Permalink The permalink of a post or page and the experience of setting or editing it [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Milestone

Comments

@GlennMartin1
Copy link

GlennMartin1 commented Jun 4, 2018

Is this intended behavior?:

After creating a new post/page, it's not possible to assign a custom permalink before first saving it.

Is that the intended behavior?

Seems like the "Edit Permalink" button should be available, even before saving.

???

@GlennMartin1 GlennMartin1 changed the title [3.0] cannot define post/page name until save.... [3.0] cannot define post/page permalink until save.... Jun 4, 2018
@hansschuijff
Copy link

I agree, and miss the ability to enter a permalink too.

I also wonder if permalink shouldn't be put in the sidebar under document, instead of hanging above the title. When starting with Gutenberg I was looking for the permalink (when it couldn't yet be edited), and it took some time to find it hovering above the title since intuitively I expected it to be part of the document attributes.
When a green message is displayed at the top of the document (block saved), the placement of the permalink-hover is extra confusing, since than it invisible since it is lying behind the message and only becomes visible again after the green message-bar is removed by clicking a tiny x .

@GlennMartin1
Copy link
Author

This persists through 3.1.1.

@mtias mtias added the Needs Decision Needs a decision to be actionable or relevant label Jul 19, 2018
@designsimply designsimply changed the title [3.0] cannot define post/page permalink until save.... Permalinks: cannot define post/page permalink until after clicking Save Draft Jul 19, 2018
@ghost
Copy link

ghost commented Jul 23, 2018

Yes! I also noticed this issue. It has not been resolved in the latest version 3.3.0. The team should indeed work on this.

@afercia
Copy link
Contributor

afercia commented Sep 1, 2018

Just tested on current master and seems to me there's one more, serious, issue. The Permalink UI is hidden by default so it's hard to see what's going on. Users may think the behavior is consistent with the one they're used to in the Classic Editor, while it's not. There's a different behavior when saving manually and when autosave kicks in. To reproduce:

  • create a new post
  • enter a title and click Save Draft
  • inspect the generated permalink:

screen shot 2018-09-01 at 16 00 04

The permalink is created correctly, accordingly to what is set under Settings > Permalinks

However, when you don't save manually and "just write" leaving the autosave do its job, things work differently:

  • create a new post
  • enter a title
  • enter other content, click outside of a block and wait for the autosave
  • inspect the generated permalink:

screen shot 2018-09-01 at 16 00 42

The permalink is not correct and it's just the "plain" numeric one. My permalink setting is set to "Post name" and I'd expect the generated permalink to be based on the post name. Also, the button "Change Permalinks" shouldn't be displayed: it should appear only when the permalinks are set to "Plain".

As I see it, this should be labelled as a bug and, well, fixed 🙂

@afercia afercia added [Type] Bug An existing feature does not function as intended and removed Needs Decision Needs a decision to be actionable or relevant labels Sep 1, 2018
@designsimply designsimply added the [Feature] Permalink The permalink of a post or page and the experience of setting or editing it label Nov 6, 2018
@mtias mtias added this to the WordPress 5.0 RC milestone Nov 12, 2018
@earnjam earnjam self-assigned this Nov 15, 2018
@mtias mtias added the [Status] In Progress Tracking issues with work in progress label Nov 15, 2018
@mtias
Copy link
Member

mtias commented Nov 20, 2018

Adding to 5.0.1 as it has a proposal to review.

@faystart
Copy link

still have to rewrite the permlink name through quick edit or somewhere else instead of the editor panel?

@afercia
Copy link
Contributor

afercia commented Dec 27, 2018

Just tested on WP latest trunk, following the steps from #7129 (comment) (September 1st) and this is still an issue. More than 6 months have passed since this was originally reported, I'd recommend to give it some higher priority. /Cc @youknowriad

@SenorFusion
Copy link

SenorFusion commented Jan 21, 2019

I feel this should really be a High Priority issue.

Allowing posts to be published with these terrible URLs even though permalink settings are explicitly the opposite is really bad.

There must be ten of thousands of regular bloggers who don't use the "Save Draft" function and are unknowingly publishing their posts with these terrible permalinks.

Sure, the permalink can be updated - BUT once a post goes live and is pushed out to Pingomatic (and search engines), RSS, Email Notifications, Social Media, etc it is a significant problem for the success of the post (marketing, sharing, and seo wise) to change the URL after the fact.

Search engines have the wrong URL and have to recrawl (hopefully with a redirect, but who know) sitemaps have to be regenerated, social share counts or retweets are reset. Post Email notifications with the original link may not work. The list goes on.

Several non-technical bloggers that I support have had exactly this problem for exactly this reason. I am having to try to retrain them to manually edit the permalink (they shouldn't have to).

As mentioned above, especially because of Gutenberg presenting itself as "just write".

This is a significant regression and should be moved up the priority list.

@earnjam
Copy link
Contributor

earnjam commented Jan 22, 2019

@SenorFusion Just want to clarify that it still auto-generates the permalink based on the permalink settings at the time of publishing. So it's not publishing with a example.com/?p=123 type permalink if you have pretty permalinks enabled.

You just can't see what the permalink will be and edit it until you execute a manual save or publish.

@mikedodd
Copy link

Has anyone got a workaround or solution for this yet?

@stmarytx
Copy link

stmarytx commented Jun 4, 2019

If site editors don't tend to save drafts, but instead publish, then edit the permalink and hit Update, there's an additional problem - the postmeta table gets cluttered up with _wp_old_slug data.

@swissspidy
Copy link
Member

That's a feature of WordPress though in order to redirect old permalinks to new ones.

@stmarytx
Copy link

stmarytx commented Jun 4, 2019

Sure, and it's helpful when you're changing old permalinks, but frustrating when people are simply wanting to set the permalink to the desired slug in the first place, and they can't without saving a draft or publishing. I'm not saying to remove this functionality, just that the issue - not being able to set a permalink before saving - causes unintended side effects. :)

@stefahn
Copy link

stefahn commented Jul 17, 2019

I'm a very experienced WordPress user and it took me more than 1 minute to find out that I need to save my post in order to get the option to change the permalink. This is a no go and should be fixed with very high priority!

@shameeryou
Copy link

Permalink changing is a serious issue for us. Because of that, we are still using classic editor.

We have a non-english website, and we publish an average 40 posts per day. For all posts, we need to change the URL manulayy. So give us something better. At least an option change the URL before manually saving the draft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Permalink The permalink of a post or page and the experience of setting or editing it [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.