How do I redirect a page in Wordpress?

To redirect a page in WordPress, you can follow these simple steps for an efficient solution:

Using a Plugin

  • Install a Plugin: Navigate to your WordPress dashboard, go to ‘Plugins’ > ‘Add New’. Search for ‘Redirection’ (a popular choice) and install it.

 

WordPress dashboard highlighting plugins section.

 

  • Setup Redirect: After activation, go to ‘Tools’ > ‘Redirection’. Input the URL of the page you want to redirect from in the ‘Source URL’ field, and the destination URL in the ‘Target URL’ field.

 

Website redirect setup progress bar at 100%.

 

  • Activate Redirect: Press ‘Add Redirect’. Your page will now automatically redirect visitors to the new destination.

 

Website setup progress bar at 100% completion.

 

Modifying .htaccess File (Advanced)

  • Access .htaccess File: Using an FTP client or your hosting file manager, locate and edit the .htaccess file in your WordPress root directory.

 

Screenshot of FileZilla FTP client interface.

 

  • Add Redirect Code: Insert the line: Redirect 301 /old-page/ http://www.yoursite.com/new-page/, replacing /old-page/ with your current page path and the full URL following it with the destination address.

 

WordPress .htaccess file configuration code snippet.

 

  • Save Changes: Make sure to save the .htaccess file after editing. The redirect is now active.

 

Screenshot of Htaccess Pro settings page with save button.

 

Choose the method that best suits your comfort with WordPress and web technology. Using a plugin is recommended for beginners for its simplicity and ease of management.