301 Redirect

Redirection is the process of forwarding one URL to a different URL. There are three main kinds of redirects: 301, 302, and meta refresh. It is a way to send both users and search engines to a different URL from the one they originally requested.

Add 301 Redirect Rule

  1. Login into your MainWP Dashboard
  2. Go to the MainWP > Extensions > Clean and Lock extension page
  3. Locate the 301 Redirect option box301 Redirect
  4. Enter URL where you want to redirect the traffic
  5. Click the Save Settings button

Remove 301 Redirect Rule

  1. Login into your MainWP Dashboard
  2. Go to the MainWP > Extensions > Clean and Lock extension page
  3. Locate the 301 Redirect option box301 Redirect
  4. Delete the URL from the 301 Redirect URL field
  5. Click the Save Settings button

Exclude Custom Pages from Redirection

  1. Login into your MainWP Dashboard
  2. Go to the MainWP > Extensions > Clean and Lock extension page
  3. Locate the 301 Redirect option box
  4. Locate the Exclude slug from redirection option
  5. Enter wanted pages (one per line)
  6. Click the Save Settings button
Do not add full page URL in the box. It’s enough to add just page slug. For example, if you want to exclude http://yourdomain.com/sample-page/, add just /sample-page/ in the box.

Important Notes

Adding the 301 Redirection may affect your WP-Cron function. If you notice scheduled functions are not working, please remove the 301 redirection.