How To Redirect a URL in WordPress

How To Redirect a URL in WordPress

Learn WordPress and create any Website in less than 7 days with our "Make A Pro Website" WordPress course. Learn how you can redirect a URL in WordPress.

Learn WordPress and create any Website in less than 7 days with our "Make A Pro Website" WordPress course.

Learn how you can redirect a URL in WordPress.

Let’s say you’ve a website and you’ve changed the URL of a page in it.

Now if someone visits the page, they will get an error like ‘Page Not Found’.

So you need to redirect the visitors to the new URL.

You can do this by following our 2 simple steps.

So let’s get started.

Table of contents:

00:00 Intro

02:27 Install the redirection plugin

03:21 Create a redirection

05:56 Create a temporary redirection

09:17 Domain Redirection (How to redirect your entire website to a new domain)

So to redirect the URL

we're going to do 2 steps.

Step 1 : Install the Redirection Plugin

To install the plugin, go to WordPress Dashboard ► Plugin’s ► Add New

Now search for ‘Redirection’ and click ‘Install’ & ‘Activate’.

Once you’ve installed the plugin, you can go to the next step.

Step 2 : Create a Redirection

To create a redirection, first you need to setup the plugin.

To set it up, go to WordPress Dashboard ► Tools ► Redirection

Now click ⇒ Start Setup ► Continue ► Finish Setup ► Finished

Now you will get a page where you can create a redirection.

So to create a redirection to your page,

First, copy and paste the old URL of your page in the ‘Source URL’ field.

Now in the ‘Target URL’ field, copy and paste the new URL which you’ve saved in notepad.

Once you’ve added the old & new URLs, click ‘Add Redirect’.

So now you’ve successfully redirected your page.

And when someone clicks on the old link they will be redirected to the new URL.

Now let’s say you’re making some changes to your site.

And you want to show a ‘Maintenance’ page, temporarily to your visitors.

To do that, first you need to add a temporary redirect to your page.

To add it, go to WordPress Dashboard ► Tools ► Redirection

Now copy and paste the URL of your page you’re working on in the ‘Source URL’ field.

And in the ‘Target URL’ field, copy and paste the ‘Maintenance’ page URL.

Now if you want to create a ‘Maintenance’ page, watch this video ➜

Once you’ve added the maintenance page URL,

Click on the ‘Settings’ icon right next to ‘Add Redirect’ button.

Now choose ‘Temporary Redirect’ in HTTP code and click ‘Add Redirect’.

So now you’ve successfully added the temporary redirect.

Now if you want stop the temporary redirect,

Go to the Redirections dashboard in WordPress and click ‘disable’ on the page to which you’ve added the temporary redirect.

Once you disable the temporary redirect, your original page will be back.

wordpress web-development php

What is Geek Coin

What is GeekCash, Geek Token

Best Visual Studio Code Themes of 2021

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Hire PHP Developer - Best PHP Web Frameworks for Web Development

Hire our Laravel, CodeIgniter, YII, Zend, Cake PHP, Core PHP developers for your custom web development projects. Choose best PHP Web Frameworks & get satisfactory results.

Custom PHP Development Company | PHP Web Development Service

One programming language that has its root in Website development even at present is PHP Website Development. The PHP programming is executed on the server side which means it functions on web servers which helps the website in its...

Hire Dedicated Core PHP Developers | Hire PHP Developer

Our dedicated PHP developers write bug-free and optimized code for custom PHP web development projects. Hire us today and get satisfactory results.

PHP Web Application Development Company

As a top **PHP Web Application Development Company in USA**[https://www.dataeximit.com/php-development-services/](https://www.dataeximit.com/php-development-services/ "https://www.dataeximit.com/php-development-services/"), we at Data EximIT have...

Noteworthy PHP Development Tools that a PHP Developer should know in 2021!

![This is image title](https://telegra.ph/file/856eae74f33107c93ca2c.jpg "This is image title") Hypertext Preprocessor, commonly known as PHP, happens to be one of the most widely used server-side scripting languages for developing web...