
How to Set Up URL Redirects for Broken and Duplicate Pages
301 and 302 redirects forward traffic from inactive pages to active pages. 301 redirects are for permanent changes while 302 redirects are temporary.
301 Redirects
Use 301 redirects when:
- Changing a page's URL permanently
- Deleting pages and redirecting to homepage
- Importing content with changed URLs
- Redirecting to another domain
301 redirects transfer search engine rankings from old to new pages.
302 Redirects
Use 302 redirects when:
- Taking pages down temporarily
- Replacing pages seasonally
- Making temporary updates
302 redirects maintain original page rankings since changes are temporary.
Creating Redirects
- Open Developer Tools
- Click URL Mappings
- Add redirects using proper format
- Click Save
Redirect Format:
/old-url -> /new-url 301
For collection pages (blogs, products), use [name] variable:
/old-blog/[name] -> /new-blog/[name] 301
Important Notes:
- Maximum 2500 redirect lines
- Top redirects take priority
- Source page must be deleted/deactivated
- Only works with integrated custom domains
- Cannot redirect image/file URLs
- Homepage (/) cannot be redirected
Common Examples
Page URL change:
/about -> /team 301
Deleted page to homepage:
/history -> / 301
Seasonal page rotation:
/summer-sale -> /fall-sale 302
Troubleshooting
Common errors:
- Invalid mapping: Missing parts
- Invalid mapping: Too many parts
- 404 errors: Check destination page is active
- Multiple redirects within 2 minutes trigger 404 page
Follow proper formatting and ensure destination pages are active for successful redirects.
Related Articles
7 Reasons Why WordPress and SEO Services Are Essential for Your Online Success
