Installing
Automatic Installation
In the WordPress plugin directory, find “TGEI Semi Headless” and click install. After install is complete, click activate.
Manual Installation
- In the WordPress plugin directory, find “TGEI Semi Headless” and click download.
- Unzip the downloaded file. It should have a folder named “TGEI-SemiHeadless”
- Upload all contents of the TGEI-SemiHeadless folder to your wordpress site into the plugins folder in wp-content
- Log into the admin area of your wordpress site
- Go to the Installed Plugins page
- Find TGEI Semi Headless and click activate.
Once activated, TGEI Semi Headless does not do any redirecting until the status is changed to “on” in the settings page. By default, all posts, pages, archives, and author pages are set to redirect.
Setup
Access Settings Page
You can get to the settings page in two ways:
Method 1
From the WordPress Plugin page where all your installed plugins are listed. There is a link to the settings page from there.

Method 2
From the WordPress Menu: Tools -> TGEI Semi Headless

Setting Page Properties

TGEI Semi Headless Status
This turns the plugin On or Off. If the plugin is off, redirection will be disabled even if a post/page status is set to Block.
By default, the setting is set to Off.
Redirect URL
This is the website address that the site’s visitor will be redirected to when they visit a blocked page. The URL must start with http:// or https://
The plugin will display an error if the plugin status is On and no Redirect URL is specified.
The plugin will also display an error if the Redirect URL points to a blocked page as that will cause an infinite redirection loop.
Error 404 Redirect URL
This is the website address that site’s visitors will be redirect to when they visit a page that does not exist. The URL must start with http:// or https://
If this is not specified, the visitor will be redirected to the URL specified in the Redirect URL.
Homepage
By default, the Homepage that you set in WordPress is blocked.
Default Search Results Page
By default, the default search results pages are blocked. These are the pages that have the URL http://yoursite.com/?s=search-query
Search queries via WordPress REST API are not blocked. Refer to the WordPress Rest API Handbook on how to search using the WordPress REST API.