How to redirect to a new domain using Rank Math: Bulk Redirection using rank math

Rank Math SEO plugin makes it super easy to redirect any URL to a URL of your choice. I will explain to you how to redirect to a new domain using Rank Math using simple steps. The same method can be used to perform Bulk Redirection using rank math.

How to redirect to a new domain using Rank Math

There are different types of redirections available on Rank Math. These include 301, 302, 303, 307, and 308 redirections. Each of these redirection rules has its purpose.

In this case, we will be utilizing 301 redirections as you want to permanently move all your old domain content URLs to a new domain without changing their structure.

How to perform Bulk Redirection using rank math

If you just migrated your site from one domain name to another, it is wise to perform a permanent redirection from your old domain to the new domain. This will ensure that visitors accessing the old domain content will be automatically redirected to your new website.

The method below will help you to achieve this by editing your site’s .htaccess file. Make sure to download a copy before performing any changes to the .htaccess file.

This can also be achieved on the domain register level. By setting a 301-redirection rule on your old domain.

How to Edit .htaccess file using Rank Math SEO plugin

If you still have access to your WordPress admin dashboard, then consider editing your .htaccess file using Rank Math. This is a safe and convenient way.

To do this, follow these simple steps:

  1. Login to your WordPress admin dashboard
  2. On the right sidebar, click Rank Math > dashboard
How to redirect to a new domain using Rank Math
  1. Now scroll down and select the ‘Redirections’ option and click on ‘Settings’
Bulk Redirection using rank math
  1. Chose the ‘.htaccess file’ and read the instructions before adding the following code to redirect your old domain’s content to the new domain (website).
# BEGIN WordPress
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{HTTP_HOST} ^olddomain.com$ [OR]
  RewriteCond %{HTTP_HOST} ^www.olddomain.com$
  RewriteRule (.*)$ http://www.newdomain.com/$1 [R=301,L]
</IfModule>
# END WordPress

Note that Rank Math will create a backup of your website’s .htaccess file. If something goes wrong you can always restore the backup from your File Manager on your hosting panel. The backup will be labeled as .htaccess.bk or something of that kind.

Disclosure: We may earn commission for purchases that are made by visitors on this site at no additional cost on your end. All information is for educational purposes and is not intended for financial advice. Read our affiliate disclosure.

Share this:

Similar Posts

  • 9 Best WordPress caching plugins for improving site speed

    Are you looking for the best WordPress caching plugins? Caching is an essential aspect of website performance, as it helps to reduce the load on the server and speed up the delivery of content to users. If you’re using WordPress to power your website, you have a range of caching plugins to choose from that…

  • Nginx Rewrite rules for Rank Math Sitemap in Plesk

    If you are using an Nginx server to run and cache your site you might encounter a sitemap error on your rank Math sitemap setting. Rank Math will notify you of the error indicating that the Nginx caching prevents the creation of your website’s sitemap. It will prompt you to add an additional manual rewrite…

  • Kadence AI Review: Unveiling the Power of This SEO-Friendly Tool

    Kadence AI is a revolutionary feature that has transformed the process of creating and customizing websites using the Kadence Theme for WordPress. The AI-powered web creation process offers several innovative features that streamline website development and design. One of the standout features of Kadence AI is its “AI-Powered Inline Content,” which empowers users to improve…

  • How to fix cURL error 7 failed to connect to Port 443

    If you have encountered a “cURL error 7 failed to connect to Port 443” you know how stressful it is to figure out a solution. It causes a website to have a poor security check score altering your site’s performance. I once encountered a “cURL error 7 failed to connect to Port 443” on one…

  • How to Use Geolocation Features on Your Website to Increase Conversions

    How to Use Geolocation Features on Your Website to Increase Conversions Master the art of location-based personalization to boost your website conversions by up to 300%. This comprehensive guide covers implementation strategies, statistical insights, and proven techniques. Table of Contents 1. Introduction to Geolocation and Conversions 2. Statistical Impact of Geolocation on Conversions 3. Types…

  • Geolocation vs Geofencing: Complete Guide to Location-Based Technologies

    Geolocation vs Geofencing: The Complete Guide to Location-Based Technologies Understanding the fundamental differences, applications, and choosing the right solution for your business in Table of Contents 1. Introduction to Location Technologies 2. What is Geolocation? 3. What is Geofencing? 4. Key Differences Analysis 5. Market Statistics and Trends 6. Technology Comparison 7. Business Applications 8….

Leave a Reply

Your email address will not be published. Required fields are marked *