Website Building » WordPress » How do I redirect a WordPress page without plugins?

How do I redirect a WordPress page without plugins?

Last updated on February 3, 2023 @ 11:38 am

There are a couple of ways you can redirect a WordPress page without using any plugins. The first way is to use the built-in WordPress redirection functions.

To do this, you will need to navigate to the WordPress admin area and click on the “Pages” tab. From here, you will need to select the page you want to redirect and click on the “Redirect” button.

The second way to redirect a WordPress page is to use the wp_redirect() function. This function can be accessed by using the WordPress codex page.

To redirect a page using the wp_redirect() function, you will need to first create a new post or page. Once you have created the post or page, you will need to copy the code below and paste it into the body of the post or page.

PRO TIP: There is no guarantee that redirecting a WordPress page without plugins will work as intended. It is advisable to use a plugin or other tool to ensure that the page is redirected correctly.

wp_redirect( ‘http://www.yourdomain.

com/oldpage.php’ );.

The final step is to specify the new page URL. To do this, you will need to insert the yourdomain.

com URL into the URL field.

Drew Clemente

Drew Clemente

Devops & Sysadmin engineer. I basically build infrastructure online.