How to officially set a page as the Home page in WordPress (without /home permalink)?
-
Is it possible to officially define a page as the Home Page within the WordPress CMS so that it automatically removes the /home permalink?
For example, the default Privacy Policy Page in WordPress displays a black bar with information like: — Draft, Privacy Policy Page (see screenshot below).
On another WordPress site I’m working on, I see a similar label for the designated Home Page (see screenshot below).
However, in LayTheme, I don't see this behavior, and the permalink /home remains. (See screenshot below.)
Is there a way to set a page as the official Home Page so that WordPress treats it accordingly and removes /home from the URL?
-
ah you set the homepage in customize → frontpage
-
when you then link to / then its that page
but it will also still be available as /home/thats the only way i think
-
Thanks Armin,
I knew how to set it up, but it seems that the theme uses a solution that is not an 'official' WordPress method. I was wondering why this is the case.
In the screenshots I shared, you can see the black text that is added by WordPress itself.
-
the reason is its not possible to set a category page as the frontpage with the normal wordpress way.
and with the way i coded it for laytheme, you can also set the category page as a frontpage.
1/5
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it