WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#12901 closed defect (bug) (worksforme)

cannot change frontpage slug if static frontpage is set-up

Reported by: thomask Owned by:
Milestone: Priority: lowest
Severity: normal Version: 3.0
Component: General Keywords:
Focuses: Cc:

Description

If you set static frontpage, than the slug settings at the page edit is not accesible.

It seems OK, because the URL of that page is than equal to the URL of the blog so slog is not used that way, but it is still necesary to change it, as this slug is e.g. in all subpages of that frontpage

so e.g. if you want to set default "about-me" page as static frontpage and then give it some subpages, ale subpages are then example.com/about-me/subpage-slug

You have to to turn off the static frontpage, change slug, and then set frontpage settings back

Change History (6)

comment:1 dd324 years ago

Why would you have children of a front-page post to start with? - Thats the reason why no-ones probably ever mentioned it.

Personally, I'd expect the children of a front-page to be at Parent level 0..

comment:2 layotte4 years ago

  • Cc layotte added

I actually ran into this same issue; I think this is valid...

This is the setup we're using (WordPress MU):

About (Front Page)

-- History
-- Directory

Academic Programs

-- Undergraduate
----- etc.
----- etc.
-- etc.

etc.

The front page URL is:
http://domain.tld/site/

The children page of the front page is:
http://domain.tld/site/about/history/
http://domain.tld/site/about/directory/

You cannot rename the front-page slug without going through a couple of steps (removing it from front-page setting).

So the question is: should the children of the front-page be at the root level? i.e in my example should the children page URL be:
http://domain.tld/site/history/
http://domain.tld/site/directory/

(which seems to go against the normal site structure)

OR

should we be able to change the slug of a front page?

Lew

comment:3 follow-up: dd324 years ago

You can enable the 'Slug' metabox in Scren options, That will allow you to edit the page slug even if the page is set for page_on_front.

comment:4 in reply to: ↑ 3 layotte4 years ago

Replying to dd32:

You can enable the 'Slug' metabox in Scren options, That will allow you to edit the page slug even if the page is set for page_on_front.

Ah, I did not know that...

So, is the current URL schema for children of the front-page the desired result?

Lew

comment:5 dd324 years ago

  • Milestone 3.0 deleted
  • Resolution set to worksforme
  • Status changed from new to closed

So, is the current URL schema for children of the front-page the desired result?

Yeah, It has to include the page slug, If someone didnt want the page slug there, the page should be a top-level page itself.

I'm closing as worksforme, since you cant change the Permalink of the page, but you can change the slug if need be.

comment:6 layotte4 years ago

  • Cc layotte removed

Sounds good, thanks.

Note: See TracTickets for help on using tickets.