There are multiple ways to troubleshoot redirecting issue in WordPress.
Troubleshoot 1.
- Login to your WordPress admin panel.
- Navigate to Settings page and click General Settings.
- Double-check and ensure that both, the WordPress and Site addresses, match.
Troubleshoot 2.
- Login to cPanel and go inside File Manager section.
- Check for a .htaccess file outside as well as inside of public_html.
- Open the .htaccess file and check for the redirection rule.
Troubleshoot 3
- Inside File Manager, go to your WordPress installation folder and find the wp-config.php file.
- Open wp-config.php file and check your script for the following two global variables – define( ‘WP_HOME’, ‘http://www.mydomain.com’ ); and define( ‘WP_SITEURL’, ‘http://www.mydomain.com’).
- Please verify that the WP_HOME address matches the WP_SITEURL hostname in the code.
Troubleshoot 4.
- Login to your Cloudflare account.
- Select the domain where you want to edit your page rule.
- Now locate the rule to Edit.
- To remove the rule, click the Delete button (x icon) and confirm it by clicking OK.
To know the detailed procedure, visit the
blog.