htaccess redirect with domain masking for Wordpress site not working htaccess redirect with domain masking for Wordpress site not working wordpress wordpress

htaccess redirect with domain masking for Wordpress site not working


Wordpress canonical URL functionality is designed to do this.

Although this plugin is not actively supported anymore, it just might work.

<?php/* Plugin Name: Disable Canonical URL Redirects Plugin URI: http://www.ImagineThought.com/ Description: Disables the "Canonical URL Redirect" feature of WordPress (in versions of Wordpress 2.3 and greater). To use this plugin, simply activate it. Then, disable this if you need to re-enable the "Canonical URL Redirect" feature of WordPress.   Version: 1.0.11.0228 Author: Geoffrey Griffith Author URI: http://www.ImagineThought.com/ License: GPL*/ remove_filter('template_redirect', 'redirect_canonical'); ?>