Force Domain Redirect

Forces your WordPress site to load on the domain registered in the WP admin.

Author:M Williams (profile at wordpress.org)
WordPress version required:3.0
WordPress version tested:5.8.3
Plugin version:0.3
Added to WordPress repository:01-09-2014
Last updated:20-01-2022
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:80
Rated by:4
Plugin URI:http://nimbus.agency
Total downloads:7 476
Active installs:200+
plugin download
Click to start download

Redirects http://somedomain.tld to http://someotherdomain.tld

Assuming you have 2 or more domains in use for a single WordPress site. This plugin forces the use of only one no matter which is entered in the address bar.

If, for some reason, your host won’t automatically redirect from one domain to another, then this plugin will do it. It checks the URL used to access the site and does a 301 redirect if incorrect.

In theory htaccess should do this, but in my case it didn’t. Perhaps because I am using domain aliases (or CNAMEs) and I wanted to insure that the main one was always in use, even when accessed using old links.


ChangeLog