WP Manifestindependent plugin directory
manifest / seo / wp-redirect-website-to-url

Redirect Website to URL

Redirect all pages and posts in a WordPress website to a single hard-coded URL

by Idearia Srl · github.com/idearia/wp-redirect-website-to-url · website

7stars
2forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/idearia/wp-redirect-website-to-url/archive/refs/heads/master.zip

From the readme

WordPress Redirect Website to URL Redirect all WordPress pages & posts to a hard-coded URL; doesn't affect the backend. It uses the templateredirect action as suggested in https://wordpress.stackexchange.com/a/76807/86662. Usage 1. Download the PHP file and configure the hard-coded options to suit your needs. 2. Copy the PHP file to either the plugins directory or the mu-plugins directory; in the latter case, there's no need to activate the plugin. Options The plugin has a bunch of hard-coded options, that can be changed right in the PHP file:

Read the full README on GitHub →