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

  • IP Geolocation Databases: The Complete Guide

    IP Geolocation Databases: The Complete Guide for Understanding the technology that powers location-based intelligence in the digital world IP geolocation databases have become an essential technology for businesses seeking to harness location-based intelligence in today’s digital landscape. These powerful tools map IP addresses to physical locations, providing valuable insights that drive personalization, security, and business…

  • Geo Targetly Review: The Ultimate Geolocation Solution

    Geo Targetly Review: The Ultimate Geolocation Solution for Discover how Geo Targetly can transform your website’s performance by delivering personalized experiences based on visitor location. Try Geo Targetly Free for 14 Days Show Table of Contents Introduction to Geo Targetly Key Features & Functionality How Geo Targetly Works Benefits for Businesses Pricing Plans Comparison User…

  • Multi-Currency Payments: The Complete Guide for Global Businesses

    Multi-Currency Payments: The Complete Guide for Global Businesses Learn how to expand globally, boost conversions, and deliver superior customer experiences with multi-currency payment solutions. Table of Contents Introduction Understanding Multi-Currency Payments Benefits of Multi-Currency Payment Solutions Challenges and Considerations Market Trends and Statistics Implementation Strategies Best Practices for Multi-Currency Payments Leading Multi-Currency Payment Providers Geo…

  • How to enable TLS 1.2 and TLS 1.3 in Plesk panel

    Have you been seeing an SSL warning on your site and wondering how to enable TLS 1.2 and TLS 1.3 in Plesk panel? Plesk is a popular control panel for managing web hosting environments. It allows you to easily manage your websites, emails, and databases, as well as other aspects of your hosting environment. Transport…

  • How to enable TLS 1.2 and TLS 1.3 in Linux?

    Have you been wondering how to enable TLS 1.2 and TLS 1.3 in Linux? TLS (Transport Layer Security) is a cryptographic protocol that provides secure communication over the internet. It is used to establish secure connections between clients and servers, and it is used to encrypt data transmitted between them. There are several versions of…

  • 5 Different types of redirections

    Redirections are used to send users and search engines to a different URL than the one they originally requested. While working on your website, sometimes you may choose to change your post’s URL, or even transfer your entire site to a new domain name. You will need to redirect all the old site’s URLs to…

Leave a Reply

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