Force Domain Redirect

A plugin for WordPress

What it does

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.

Example: nimbusdigital.co.uk/force-domain-redirect/ will be forced to nimbus.agency/force-domain-redirect/

Changelog

v0.2 (2015-06-13)
– BugFix: Now handles https as well as http

v0.1
– Initial release

Nimbus Digital

We are a digital media agency. We primarily build and design websites. We are based in London but service clients around the world.

Please browse our site to find out more and see examples of our work.