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
- Login in to your MainWP Dashboard
- Go to the MainWP > Extensions > Clean and Lock extension page
- Locate the 301 Redirect option box
- Enter URL where you want to redirect the traffic
- Click the Save Settings button
Remove 301 Redirect Rule
- Login in to your MainWP Dashboard
- Go to the MainWP > Extensions > Clean and Lock extension page
- Locate the 301 Redirect option box
- Delete the URL from the 301 Redirect URL field
- Click the Save Settings button
Exclude Custom Pages from Redirection
- Login in to your MainWP Dashboard
- Go to the MainWP > Extensions > Clean and Lock extension page
- Locate the 301 Redirect option box
- Locate the Exclude slug from redirection option
- Enter wanted pages (one per line)
- Click the Save Settings button
Do not add a 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 /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.