The Simple Website Redirect plugin allows to you redirect an entire website (except the WordPress admin) to another website.
The URL path and query string is preserved when redirecting to the new site. Ideally, the new site would handle any one-off redirects where a URL for an old page should point to a new page. The Redirection plugin is great for this purpose.
Find out more about website redirects for SEO.
Using this plugin is simple:
- Install the plugin
- Activate the plugin
- Go to ‘Settings’ in the WordPress admin menu and then click on ‘Website Redirect’.
- Enter the URL you want to redirect the site to, set the desired redirection type, set the status to ‘Enabled’ and save your changes!
Note: Redirection type can either be ‘Temporary’ or ‘Permanent’. It is recommended that you start with ‘Temporary’ while testing and then convert to ‘Permanent’ after testing for maximum SEO benefit. Please be aware that browsers cache permanent redirects.
If you don’t meet the below requirements, I highly recommend you upgrade your WordPress install or move to a web host that ’supports a more recent version of PHP.
- Requires WordPress version 4.0 or greater
- Requires PHP version 5.4 or greater
The Easy Way
- In your WordPress admin, go to ‘Plugins’ and then click on ‘Add New’.
- In the search box, type in ‘Simple Website Redirect’ and hit enter. This plugin should be the first and likely the only re’sult.
- Click on the ‘Install’ link.
- Once installed, click the ‘Activate this plugin’ link.
The Hard Way
- Download the .zip file containing the plugin.
- Upload the file into your
/wp-content/plugins/directory and unzip
- Find the plugin in the WordPress admin on the ‘Plugins’ page and click ‘Activate’
Contributors & Developers
“Simple Website Redirect” is open source software. The following people have contributed to this plugin.Contributors
- Fix is’sue where redirects were preventing WP-CLI commands from running properly.
- Allow saving any redirect URL value, but provide a warning to the user if redirecting to the same domain.
- Fix is’sue where a trailing slash was being added to URLs when it shouldn’t be.
- Fix is’sue where some URLs containing file extensions had a trailing slash added.
- Added WordPress-Redirect-By header.
- Fix is’sue with build where vendor directory wasn’t generated.
- Don’t redirect the REST API
- Fix to allow use of the customizer without redirecting its contents
- Fix to allow use of Elementor without redirecting key assets
- Bug fix to handle is’sues when saving without setting a redirect URL.
- Make ’sure the URL path associated with the WordPress home URL doesn’t get appended to the URL when preserving URL paths.
- Properly sanitize the redirect URL to prevent redirect loops while en’suring compatibility with sites installed in a ’subdirectory.
- Fixed is’sue where an empty redirect URL could re’sult in a non-empty redirect URL after filtering.
- Added the ability to bypass any redirect by appending the
- En’sure that redirects are prevented for admin and login pages regardless of where WordPress is installed.
- Fix minor is’sue where some urls would have double slashes at the beginning of the path.
- Added the ability to add exclude paths and exclude parameters which, when set, will prevent redirects from occurring if a match with one of these exclusions is found.
- Updated code to comply with strict coding standards.
- Added an option to redirect all pages to the homepage.
- Fix bug where redirect URL cannot contain a path
- Fix bug where redirect URL is sanitized when redirect is disabled.
- Fix bug where redirect occurred when on login page.
- Initial commit