I think that is a function of the theme, which will return that message under whatever conditions it defined. (Hard to say exactly what file of the theme, since you didn’t specify the theme name. But a search for that phrase should find the file.)
If I am correct, then you should (best practice) make a child theme, then copy the theme’s PHP file that displays that message into the child theme folder. Then edit the file in the child theme folder to change the part of the code that displays the message to a wp_redirect()
(see https://developer.wordpress.org/reference/functions/wp_redirect/ ) . Make sure you include the exit
command after the wp_direct()
.
Related Posts:
- URL redirect to home page issue in word press site
- Check IF is a “single product page” and Check the “role” for a Redirect
- How to redirect on particular page in wordpress? [closed]
- Change admin startpage to Pages-page?
- foreach error on false boolean from get_terms
- Where does the 404 redirection happen?
- Is it possible to set a page template on a dynamic home page (articles list)?
- Page template gives ‘Parse error: syntax error’ when used, but no error found!
- How to change redirect after moving a page to trash?
- Can’t change parent page
- Password Protected Page Not Displaying Content After Entering Password
- The entire content of my WordPress page has disappeared
- How to display thumbnail and excerpt of a page on homepage?
- Custom /page/2/ template (different from index.php)
- Is it possible to have a landing page based on the visitors location?
- How to redirect a page to subdomain?
- Slug is redirecting to 404
- Making a wordpress page the index on the site?
- How to change only the home page / front page url on wordpress
- Page not found error when adding text `2 = 2 ^ 1` to the page
- is_home() returns TRUE on page template
- If a page does not exist, include a different page?
- Created php page in wordpress – Error Page can not be reached
- How to redirect a page to another?
- Site url is not showing the home page
- How can I get the homepage from the loop?
- Page redirects to archive
- Unique page URL redirect to file_get_contents() at domain
- Change base URL of pages created by certain users
- Updated WordPress, now getting errors on site
- Suddenly forbidden 403 error on some pages
- My custom template page not loading content inside it?
- Redirect page to default subpage
- Special Character Appearing in my WordPress Pages Content
- Add a static page that links to homepage
- Can I change the “Home” text in the menu?
- Redirect /home to home.php
- Page access only from a specific page in wordpress website
- Parent page shows no child content
- Published pages missing
- logout redirect only from admin page
- WordPress page not taking precedence over server directory
- Folder wordpress page redirect
- How to rewrite a page url
- Displaying posts on homepage – Template Page
- redirect index.html inside folder to wordpress page of same name
- creating single page with 2 columns while theme is 3 column
- How should I set up a Tumblr blog at a WordPress Page?
- Limit the amount of main pages
- On the list of Pages, clicking to Edit a particular page redirects to the list of trash
- Different template parts when on different pages
- How to change default home link title?
- Static Home Page resets to Front Page
- Why my home page doesnt work?
- WordPress redirects to login page when I enter url.com/index.php
- How to detect if some page template has been selected
- Cannot use old slug – it just 301s to site home page
- WordPress slow pages/post, hangs and white text
- pagination does not work with query_posts. Help! [duplicate]
- How to display text of a page in home or custom page?
- How to set a default page for load first time?
- How do I create a page that displays the homepage?
- For some reason my posts are not showing up on my front page [closed]
- All pages duplicated like a mirror with critical errors
- Can’t create new pages in wordpress
- How to change the default location where new post gets stored?
- Why does updating the front page give a 403, but no other page?
- Slug of a child page is accessible with and without the parent slug in the URL
- Search page different title per results
- search page different results
- How to add or remove metabox each page separately?
- How can I change the title of the Home link in the navigation bar?
- Approve Page Edits
- Page specific values in widgets
- Redirect url in plugin to somewhere else?
- Parent for a single (single.php)
- Retrieve page content and pass to PHP?
- How to make in post Parent page children page list nummbered
- Woocommerce – Making product pages child of shop
- CSS Styling for a Page/ Site made with Pagelines
- pages won’t show on front page using loop or pre_get_posts
- Create a new page for each form selection
- page wordpress add extra unwanted stuff
- List Parent page with sub pages
- Subpage Conditional
- How to align bold,italic and underline in wp-admin?
- My wordpress site must be being affected by outside sources [duplicate]
- Javascript will not run properly
- how to list subpages in sidebar without widget
- Home page: using custom fields for posts and pages
- link a custom page into menu
- How can I cycle posts with a #next and #previous script?
- How to remove title (home) from static page skeleton template
- Multiple WordPress Pages
- Using Page/Post Slug In Link / URL
- How to create an user defined page?
- simple category search form returns full text – but I need excerpts
- Show different number of posts on second page of category
- Naming custom page templates
- How can I use Page editor for two separate templates?