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 in to your MainWP Dashboard
  2. Go to the MainWP > Extensions > Clean and Lock extension page
  3. Locate the 301 Redirect option box
  4. Enter URL where you want to redirect the traffic
  5. Click the Save Settings button

Remove 301 Redirect Rule

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

Exclude Custom Pages from Redirection

  1. Login in to 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 the redirection option
  5. Enter wanted pages (one per line)
  6. Click the Save Settings button
Do not add a full-page URL in the box. It's enough to add just a page slug. For example, if you want to exclude http://yourdomain.com/sample-page/, add /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.


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