Skip to main content
WPO: Page-to-Page Redirect Examples

A simple guide to add page-to-page redirects within the BigScoots WPO Portal.

Justin Catello avatar
Written by Justin Catello
Updated over 3 months ago

A "page-to-page redirect" refers to a process in web development where a user who tries to access a specific web page is automatically redirected to a different web page.

This helps in maintaining a seamless user experience and avoids "404 Page Not Found" errors.

In this example, we'll demonstrate the implementation of a redirect. If a user attempts to access "www.bigscoots.com/old-page," they will be automatically redirected to "www.example.com/new-page."

Step #1: Log in to your WPO Portal and navigate to Site details > Redirects.

Step #2: Now you can add page-to-page redirects by following the same regex pattern as shown below:

adding /?$ to the end of /oldpage ensures that the page will redirect regardless if the URL is entered into the browser with or without the trailing slash.

/oldpage/?$ https://bigscoots.com/newpage/

What is a Regex pattern?
โ€‹
A regex pattern for redirects is a way to set rules that match and handle groups of similar URLs, allowing you to efficiently redirect pages.

Format for importing a .txt file of redirects

Use one line per entry, and follow the examples below.

/oldpage1/?$,https://bigscoots.com/newpage1/,301
/oldpage2/?$,https://bigscoots.com/newpage2/,301
/oldpage3/?$,https://bigscoots.com/newpage3/,301

Please note: If you have any questions or would simply rather we do this for you, please pop in a support ticket and we'd be more than happy to help!


โ€‹

Did this answer your question?