You can just do this by logging into the WordPress root directory using any FTP software like FileZilla. Disable all the plugins of your WordPress site. Sometimes, a simple hard refresh can fix this issue. This bad gateway issue can be seen due to bugs in the database, server timeout, firewall, issues in the PHP code, faulty plugins or when your site has been attacked using DDoS. When you want to fetch information from a site, you send request to the server using your browser if something doesn’t get processed along the way, you will encounter this issue. You will face this issue due to some different reasons. You should now be able to access your site without facing the issue. Edit the file and search for the keyword Rewrite. define('WP_HOME','') Īlso, Inside the public_html look for the.
Add the following lines of code the file. This config file is located inside the /home/user/public_html/wp-config.php. You can also check this from the wp-config.php file if you are not able to access the WordPress admin dashboard. Login to your WordPress Dashboard and go to settings and check the WordPress URL settings. If the issue persists, try clearing the CDN cache or disable it temporarily. This issue is likely to occur due to server misconfiguration or plugins redirect function or due to incorrect WordPress settings.Ĭlear your browser’s cookie and cache, and then clear the cache from the WordPress admin page and see if it fixes the issue. ERR_TOO_MANY_REDIRECTSĮRR_TOO_MANY_REDIRECTS is often seen in WordPress sites. You can also contact your hosting support to resolve the issue.
Setting the right credentials solves this issue in most cases.
*/Ĭheck if the database name, username and the password are correct. ** Database Charset to use in creating database tables. ** The name of the database for WordPress */ĭefine('DB_HOST', '') ** MySQL settings - You can get this info from your web host ** // This issue can also occur due to your hosting provider or when your website has been compromised. This is an config file which is stored in the root directory of your WordPress site. This issue occurs if the credentials inside the wp-config.php file gets mismatched. When you face this issue, your site won’t be able to fetch the data and information stored in your database. You are likely to encounter this above message, if your WordPress site is having problem connecting with your MySQL database. Here are some of the top 10 most common errors and their solution in WordPress you are likely to encounter during the Web Development process. It is always advisable to fully back up your WordPress site so that you can continue from where you left if something went wrong in the process. FTP Client (FileZilla, Cyberduck, etc.).