Managing WordPress Redirections – Redirection Plugin

Sometimes you need to create redirects from additional domain to a specific landing page or from an old article to a new one. We recommend that you create the redirects with a WordPress plugin or with a PHP code. One of the recommended plugins is the Redirection plugin.

You can do more advanced regular expression (regex) redirects with this plugin but in this guide, we are going through two of the most common and simple redirects.

Redirect the old article to a new one

If you change your URL slug from one of the site's article or page, you should create a redirect from the old URL to a new one. That way the old URL doesn't return a 404 error. Let's say for example that your old URL is https://example.net/old-article and you need to create a redirect to https://example.net/new-article.

Write your old URL slug (/old-article) to Source URL and the new URL slug (/new-article) to Target URL. Save your new redirect by clicking the Add Redirect button.

Redirecting additional domain to a landing page

Sometimes you want to create a landing page and use a specific additional domain redirect with it. You might have a main domain example.net and an additional domain example.com. You want to create a redirect from example.com to https://example.net/example.

Write your whole URL (https://example.com) to the Source URL and add the landing page URL slug (/example) to the Target URL. Save your new redirect by clicking the Add Redirect button.

You can see all created redirects in the list view on the plugin page and can also modify them later if needed.

Remember to test and make sure your redirects are working like they should. It is recommended to also test the redirects in all forms for example with a www and non-www URLs.

Please read more specific instructions from the plugin documentation.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.