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

  • 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…

  • What to do after publishing a website

    Congratulations on publishing your WordPress website! Publishing a WordPress website is an exciting moment, but it is just the first step in the long process of maintaining and improving your online presence. Here are some things you should consider doing after publishing your WordPress website: 11 Things to do after publishing a website Optimize your…

  • 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…

  • 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…

Leave a Reply

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