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 Frontend Redirect Rules
- Login into your MainWP Dashboard
- Go to the MainWP > Extensions > Dashboard Lock extension page
- Locate the Frontend Redirect Rules option box
- Enter the URL where you want to redirect the traffic
- Click the Save Settings button
Remove Frontend Redirect Rules
- Login into your MainWP Dashboard
- Go to the MainWP > Extensions > Dashboard Lock extension page
- Locate the Frontend Redirect Rules option box
- Delete the URL from the Redirect frontend traffic field
- Click the Save Settings button
Exclude Custom Pages from Redirection
- Login into your MainWP Dashboard
- Go to the MainWP > Extensions > Dashboard Lock extension page
- Locate the Frontend Redirect Rules option box
- Locate the Exclude slugs from the 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 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 Frontend Redirect Rules may affect your WP-Cron function. If you notice that scheduled functions are not working, please remove the Frontend Redirect Rules.