Just create a custom template template-redirect-home.php and assign it to that page and redirect to homepage on load with sth like this:
add_action( 'template_redirect', function(){
if(is_page_template('template-redirect-home.php')){
wp_safe_redirect( get_home_url(), 301, '');
}
});
You can also use Custom links in the menu to not access the page directly from the menu.
Related Posts:
- Private pages that work when you are not logged into WP admin
- List all private pages user has access rights to read
- Can’t locate a hidden private page
- How to update the counter of private pages in the dashboard?
- How to control who can view certain pages in BuddyPress? [closed]
- Bad pages redirection
- 404.php only works if I’m logged in. Everybody else redirects to wp-login.php – why?
- Contact Form on WordPress Sites?
- Page returns 404 with POST variables, but not without
- Proper way to get page content
- Password protect page with multiple passwords
- What is the use of $page_title and how to use it?
- Some pages are missing from the Parent Page select in the Editor
- How to display code if it is not certain pages?
- Custom Search Page Pagination Not Working
- How to count current user’s pages?
- Dynamic content in a static page
- WordPress protected Pages
- add_rewrite_rule: Issue converting path to url
- How To Display Date (/Time/Author) In pages?
- Why is custom template not seen as page with is_page()?
- How to change redirect after moving a page to trash?
- Displaying Child pages of the current page in post format and their thumbnails (featured image)?
- How do I create multiple page while active a theme
- Static files or dynamic WP pages for “static content”?
- Add new page with preselected parent
- Can I set a timer for pages to be published?
- Add a Menu Link (to a WordPress Page) in the Admin Menu/Sidebar
- Cannot get grandparent object
- Too Many Pages in WordPress? 2013
- How to use the same code for multiple pages?
- Is there a way to create a URL (new WP page) that can only be accessed from a specific source?
- htaccess modify headers IF url ends with “news”
- How to change only the home page / front page url on wordpress
- Give access to a simple .html file to users that bought a specific ‘digital product’
- List child pages by slug not ID?
- Force page to open in html mode
- Dash after page title
- How to make tag post listing page working?
- Admin pages, edit notes of the title of posts and pages
- Can’t get done anything with admin.php response
- Role – edit page but not publish
- get_pages() & “child_of”
- Unique page URL redirect to file_get_contents() at domain
- Cannot add a class to h2 tag
- How to detect if is_404() or is_page() or etc…? [closed]
- Redirect page to default subpage
- WordPress pages creation work distribution & then combining – Localhost XAMPP
- Add a static page that links to homepage
- How can I get the blog page ID?
- How to have a next page for post?
- Can I change the “Home” text in the menu?
- Search child pages from a specific page parent
- Proper procedure for wp_insert_post?
- Read more on pages WordPress
- Parent page shows no child content
- How to disable delete option for a specific page? [closed]
- Weebly Migration to WordPress [closed]
- Need to create a custom page on a website
- How To Render Shortcode In AJAX Response?
- How to create different template designs for different pages in WordPress [closed]
- Do I have to widgetize my pages?
- Page templates in subdirectories and auto generator
- Use page template for custom $_GET content
- Get rid of “comment” field on non-blog pages [duplicate]
- Custom page only editable by one user
- Page Title repeating
- How to control display of page lists on sidebar that doesn’t have childrens
- Is there a template tag/function for getting the URL (or slug or name or ID) of the blog page when using a “static” front page
- Problems in creating a static site with WordPress
- Creating new page/tab in groups section not working! [closed]
- Prompting for review / reapproval of page content
- Limit the amount of main pages
- Add separate list of pages under Admin
- add title to widgets of wordpress
- Custom user tables not working after migration
- remove “Edit” from select pages
- Stop playing music (rev slider) when user opens new tab
- Include parent page in list of child pages
- URL redirect to home page issue in word press site
- How to sorted Parent Page in WP-admin
- How to select what posts goes into which custom page template?
- Displaying all pages which comes under a category id
- If page or sub page not working as expected
- How to see the dashboard of a downloaded wordpress website?
- Remove and change pages label
- Access link page and not folder content of that link
- How can I get the page from menu as posts?
- Setting Default Screen Options
- Content template when adding a new page
- Auto-Create Pages from Template Directory
- Passing variables through a href link from one page to another page
- page wordpress add extra unwanted stuff
- How to align bold,italic and underline in wp-admin?
- How to remove the trackback and pingback text on the bottom of my pages?
- Output the published date / last modified date of specific page
- Remove social media sharing buttons on a download page
- Page-parent field not appearing in editor [closed]
- How to remove container box in WordPress pages? [closed]