{"id":23014,"date":"2021-04-21T17:00:08","date_gmt":"2021-04-21T15:00:08","guid":{"rendered":"https:\/\/qodeinteractive.com\/magazine\/?p=23014"},"modified":"2022-01-14T11:05:34","modified_gmt":"2022-01-14T10:05:34","slug":"how-to-troubleshoot-wordpress-errors","status":"publish","type":"post","link":"https:\/\/qodeinteractive.com\/magazine\/how-to-troubleshoot-wordpress-errors\/","title":{"rendered":"How to Troubleshoot WordPress Errors: Beginners Guide"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_column_text]There are various reasons why, in the last few years, WordPress has become the best platform for website creation. It is a very beginner-friendly environment, with well-coded features and functionalities which are constantly being improved, and with a multitude of themes and plugins that you can choose from that customize it. But, as with any piece of software, it is not infallible, and running into errors is normal. This makes learning the basics of WordPress error troubleshooting vital to maintaining any WordPress website.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Although this may seem difficult or complicated at first glance, having even a basic understanding of the WordPress troubleshooting process could save you a lot of time and headaches. That is why we created this comprehensive beginner&#8217;s guide to troubleshooting WordPress errors.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]However, as there are a lot of WordPress issues that can occur, you should know that it\u2019s impossible to cover them all in one article. Instead, we will introduce you to the most important troubleshooting steps and the reasons why they are taken. With this knowledge, you will be able to tackle most WordPress errors on your own.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]If you\u2019d like to skip to any specific part of the article, just click on one of the links below:<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;22px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#creating-backups\">Creating backups<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#clearing-browser-cache\">Clearing browser cache<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#clearing-other-forms-of-cache\">Clearing other forms of cache<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#deactivating-plugins\">Deactivating plugins<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#switching-to-a-default-theme\">Switching to a default theme<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#refreshing-permalinks\">Refreshing permalinks<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#recreating-the-default-htaccess-file\">Recreating the default .htaccess file<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#changing-your-wordpress-urls\">Changing your WordPress URLs<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#reinstalling-wordpress-core-files\">Reinstalling WordPress core files<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#removing-the-custom-code-you-added\">Removing the custom code you added<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#enabling-debugging\">Enabling debugging<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#scanning-your-website\">Scanning your website<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;5px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><a href=\"#asking-for-help\">Asking for help<\/a><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;80px&#8221;][vc_widget_sidebar sidebar_id=&#8221;new-top-picks-banner&#8221;][vc_empty_space height=&#8221;80px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">Before we start<\/h2>\n<p>[\/vc_column_text][vc_column_text]This guide is intended to provide you with an overview of the most important troubleshooting steps. With them, you will have a good basis for troubleshooting any WordPress error. Some of the steps that we cover can be applied to any issue, while others only address a specific subset of problems.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]We have also taken into consideration that some steps are difficult to perform if an error has caused you to lose your access to the admin dashboard. As such, those steps will have two versions of instructions\u2014one if you have access to the admin dashboard, and the other if you don\u2019t. Finally, as many troubleshooting steps require <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-use-ftp\/\">the use of FTP<\/a>, you might want to study up on it before going further.[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"creating-backups\"><\/a>Creating backups<\/h3>\n<p>[\/vc_column_text][vc_column_text]One of the most important initial steps in troubleshooting various WordPress errors is creating a backup of your website. <strong>If you have access to the admin dashboard, you should create a <a href=\"https:\/\/qodeinteractive.com\/magazine\/wordpress-backup-with-updraftplus-plugin\/\">backup using a backup plugin<\/a>. Otherwise, you should create a <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-manually-backup-wordpress-website\/\">manual backup of your website<\/a>.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]You should make it a habit to create regular backups of your website and store them in a secure location, as they can be the easiest way of solving any issue. Meaning, <strong>you can simply restore a website backup from the time when the error wasn\u2019t present.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Even if you aren\u2019t able to use a website backup now, you should create one before doing any of the troubleshooting steps mentioned below. That way you will have a backup to fall back on if you run into any additional problems or unforeseen complications during the troubleshooting process.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"clearing-browser-cache\"><\/a>Clearing browser cache<\/h3>\n<p>[\/vc_column_text][vc_column_text]In some cases, the issue you were experiencing is already gone, but you aren\u2019t aware yet. This happens when you are loading a page or post from the browser cache. This could also mean you won\u2019t properly see the results of the troubleshooting steps you have taken. Furthermore, your browser cache can cause issues with login forms, which includes denying you access to the admin dashboard.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]You should always <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-clear-wordpress-cache\/\">clear your browser\u2019s cache<\/a> while troubleshooting, as it will ensure that you are seeing the latest version of your pages. To show you how the process works, we will explain how to clear the browser cache in Chrome.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To start, <strong>click on the three dots<\/strong> in the top right corner of your screen, which will open the menu. Then, <strong>hover over the History option<\/strong> and <strong>press the new History suboption<\/strong> that appears. This will open the <em>History<\/em> page. You can also do that by typing in <strong>chrome:\/\/history<\/strong> in the address bar.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Chrome-Clear-History.jpg\" class=\"attachment-full size-full\" alt=\"Chrome Clear History\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Chrome-Clear-History.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Chrome-Clear-History-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Chrome-Clear-History-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Chrome-Clear-History-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Then, <strong>find<\/strong> and <strong>click on the <em>Clear browsing data<\/em> option<\/strong> on the left.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Chrome-Clear-Browsing-Data.jpg\" class=\"attachment-full size-full\" alt=\"Chrome Clear Browsing Data\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Chrome-Clear-Browsing-Data.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Chrome-Clear-Browsing-Data-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Chrome-Clear-Browsing-Data-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Chrome-Clear-Browsing-Data-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]The popup window that appears will have two tabs\u2014Basic and Advanced, with Basic opened by default. Within it, you need to <strong>choose the time range and the type of data<\/strong> you wish to delete and then<strong> click on the <em>Clear data<\/em> button<\/strong>. If you want to have more control over what you are deleting, you can switch to the Advanced tab and perform the same steps there.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]You can also start clearing your cache with a keyboard shortcut. If you\u2019re using Windows, press Ctrl + Shift + Delete to open the Clear browsing data popup and if you\u2019re using Safari on Mac, press Command + Alt + E.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"665\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Clear-Data.jpg\" class=\"attachment-full size-full\" alt=\"Clear Data\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Clear-Data.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Clear-Data-300x206.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Clear-Data-768x527.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Clear-Data-620x425.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Once you\u2019ve cleared your cache,<strong> open one of your pages<\/strong> to see if the issue has disappeared. If not, <strong>try to clear other forms of cache<\/strong> as outlined below.[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"clearing-other-forms-of-cache\"><\/a>Clearing other forms of cache<\/h3>\n<p>[\/vc_column_text][vc_column_text]The same issues that we mentioned in the previous section can occur if you don\u2019t clear other forms of cache related to WordPress sites\u2014plugin, CDN, and server cache.<strong> After clearing the browser cache, you need to clear these as well to see the latest version of your pages.<\/strong> Clearing all forms of cache is good practice which you should apply after each of the steps we describe below. This will help you ensure that the results you\u2019ve gotten after performing the steps are valid.[\/vc_column_text][vc_empty_space height=&#8221;22px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><strong>Clearing plugin cache<\/strong><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;28px&#8221;][vc_column_text]If you are using a caching plugin, make sure to clear its cache and then check whether the issue has gone away. Most caching plugins will have an easily accessible option or a set of options for that purpose. For example, the <a href=\"https:\/\/wordpress.org\/plugins\/w3-total-cache\/\" target=\"_blank\" rel=\"noopener\">W3 Total Cache<\/a> plugin has its cache clearing options in the admin bar, accessible both from the frontend and the backend.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To clear your cache with the W3 Total Cache plugin,<strong> log in to your WordPress admin dashboard<\/strong>. Then, <strong>hover over the <em>Performance<\/em> option<\/strong>, and <strong>select <em>Purge All Caches<\/em><\/strong> from the dropdown menu.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Purge-Cache.jpg\" class=\"attachment-full size-full\" alt=\"Purge Cache\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Purge-Cache.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Purge-Cache-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Purge-Cache-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Purge-Cache-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Another example of a handy caching plugin is the <a href=\"https:\/\/wordpress.org\/plugins\/wp-fastest-cache\/\" target=\"_blank\" rel=\"noopener\">WP Fastest Cache<\/a>. With it, you will be able to clear the cache both from the frontend and the backend of your website.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To clear your cache using this plugin, <strong>hover over the <em>Delete Cache<\/em> option<\/strong> located at the top in the admin bar,<strong> then select the <em>Clear All Cache<\/em> option<\/strong> from the dropdown menu that appears.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/WP-Fastest-Cache-Clear-All-Cache.jpg\" class=\"attachment-full size-full\" alt=\"WP Fastest Cache Clear All Cache\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/WP-Fastest-Cache-Clear-All-Cache.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/WP-Fastest-Cache-Clear-All-Cache-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/WP-Fastest-Cache-Clear-All-Cache-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/WP-Fastest-Cache-Clear-All-Cache-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Afterward <strong>check one of your site pages<\/strong> to see if the issue has gone.[\/vc_column_text][vc_empty_space height=&#8221;22px&#8221;]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><strong>Clearing CDN cache<\/strong><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Although very rarely, CDN caching issues can happen nonetheless. This is why purging the CDN cache is sometimes required to show the newest version of your site. Some caching plugins provide an option to integrate your CDN with them, so you might be able to clear the CDN cache using the plugin options. Keep in mind, this depends on which plugin you are using as they can have differing options.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]In our case, with the W3 Total Cache plugin, the process involves <strong>navigating to the <em>Performance<\/em> section<\/strong> in the menu and <strong>selecting the <em>CDN<\/em> option<\/strong>. At the top of the screen, there are buttons for purging single objects or purging all cache. <strong>Press the button that will <em>purge CDN completely<\/em><\/strong> and then <strong>check one of your pages<\/strong> to see if the error is gone.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"544\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Purge-CDN-Cache.jpg\" class=\"attachment-full size-full\" alt=\"Purge CDN Cache\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Purge-CDN-Cache.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Purge-CDN-Cache-300x168.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Purge-CDN-Cache-768x431.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Purge-CDN-Cache-620x348.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space]<ul class=\"qodef-unordered-list-item qodef-toc\">\n    <li>\n\t        <div class=\"qodef-ul-title-holder\">\n            <span class=\"qodef-ul-title-content\"><strong>Clearing server cache<\/strong><\/span>        <\/div>\n            <\/li>\n<\/ul>[vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Finally, if the issue is still present after clearing all other forms of cache, you should try to erase the server cache as well, provided the option to do so is enabled on your server. <strong>You will need to address your hosting provider and ask them to clear any server caching.<\/strong> Once they\u2019ve done that, you should <strong>check the status of one of your pages<\/strong> to see if your WordPress error is gone.[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"deactivating-plugins\"><\/a>Deactivating plugins<\/h3>\n<p>[\/vc_column_text][vc_column_text]If the issue isn\u2019t caused by caching, you should investigate the second most likely reason\u2014plugin conflict. Depending on how they were coded, some WordPress plugins could conflict with other plugins, your current theme, or even the WordPress core files. To determine if this is what\u2019s causing the problem, you should deactivate your plugins and check the website afterward. However, this process can look different depending on whether you have access to the admin dashboard or not.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]If the error you are experiencing still allows you to access the WordPress admin dashboard,<strong> you should navigate to Plugins &gt; Installed Plugins<\/strong>. This will provide you with an overview of all your installed plugins. Then, start deactivating your plugins, one by one. To do this, <strong>press the <em>Deactivate<\/em> button<\/strong> next to each plugin.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"530\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Disable-Plugins.jpg\" class=\"attachment-full size-full\" alt=\"Disable Plugins\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Disable-Plugins.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Disable-Plugins-300x164.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Disable-Plugins-768x420.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Disable-Plugins-620x339.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]After you deactivate a single plugin,<strong> reload the page where you were observing the status of the problem<\/strong>. Repeat the same process until you\u2019ve gone through all your plugins. If the issue disappears, it means that the last plugin you deactivated before the error vanished was causing it.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]In this case, <strong>we advise asking the plugin authors for further help<\/strong>. Also, to speed up their troubleshooting process, you should send them the <a href=\"#enabling-debugging\">error log<\/a>, as it can indicate which part of the plugin code led to the error.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]However, if the issue you\u2019re experiencing has locked you out of the admin dashboard, you will need to find an alternative way of disabling your plugins. For more instructions on how to do that, you can check out our article on <a href=\"https:\/\/qodeinteractive.com\/magazine\/disable-plugins-wordpress\/\">disabling plugins when locked out of WP-Admin<\/a>.[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"switching-to-a-default-theme\"><\/a>Switching to a default theme<\/h3>\n<p>[\/vc_column_text][vc_column_text]Just like plugins, the theme you are using could be causing an issue because of a conflict in the code. You should investigate this by<strong> enabling a default WordPress theme instead of your current one and then checking your website.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]How you proceed from here depends on whether you have access to the admin dashboard or not. We will show you both approaches below. Please note that you need to have a default WordPress theme installed on your website for both troubleshooting methods. If you don\u2019t have a default WordPress theme installed, you will need to <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-install-wordpress-theme\/\">install a theme<\/a> from <a href=\"https:\/\/wordpress.org\/themes\/\" target=\"_blank\" rel=\"noopener\">the WordPress theme repository<\/a> first. Then, <strong>you can perform the steps described below<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"702\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/WordPress-Theme-Repository.jpg\" class=\"attachment-full size-full\" alt=\"WordPress Theme Repository\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/WordPress-Theme-Repository.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/WordPress-Theme-Repository-300x217.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/WordPress-Theme-Repository-768x556.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/WordPress-Theme-Repository-620x449.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]To switch to a default theme from the admin dashboard, <strong>navigate to Appearance &gt; Themes<\/strong> and<strong> locate the default WordPress theme<\/strong> that you installed on your website. <strong>Hover over it<\/strong> and<strong> press the <em>Activate<\/em> button<\/strong> to switch to it instead of your current theme.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"553\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Deactivate-Theme.jpg\" class=\"attachment-full size-full\" alt=\"Deactivate Theme\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Deactivate-Theme.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Deactivate-Theme-300x171.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Deactivate-Theme-768x438.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Deactivate-Theme-620x354.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>You should be able to see a success message stating that the new theme has been activated<\/strong> shortly after. Then you can<strong> examine your website<\/strong> to see if the issue has been resolved.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Deactivate-Theme-Visit-Site.jpg\" class=\"attachment-full size-full\" alt=\"Deactivate Theme Visit Site\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Deactivate-Theme-Visit-Site.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Deactivate-Theme-Visit-Site-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Deactivate-Theme-Visit-Site-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Deactivate-Theme-Visit-Site-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>If the issue disappears after switching themes, it confirms that the theme you were using caused the problem.<\/strong> In that case, you should reach out to the theme authors for help.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]However, if you aren\u2019t able to access your admin dashboard, you will need to perform this troubleshooting method via FTP. To deactivate your current theme using FTP, <strong>connect to your server<\/strong> with your FTP credentials and <strong>locate the root WordPress directory<\/strong>, often called public_html.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/12\/Public-HTML-FTP.jpg\" class=\"attachment-full size-full\" alt=\"Public HTML FTP\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/12\/Public-HTML-FTP.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/12\/Public-HTML-FTP-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/12\/Public-HTML-FTP-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/12\/Public-HTML-FTP-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Then, <strong>navigate to the \/wp-content\/themes\/ directory, right-click on the folder of your current theme<\/strong> and <strong>select the <em>Rename<\/em> option<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/FTP-Rename-Theme.jpg\" class=\"attachment-full size-full\" alt=\"FTP Rename Theme\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/FTP-Rename-Theme.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/FTP-Rename-Theme-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/FTP-Rename-Theme-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/FTP-Rename-Theme-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]To clarify, renaming your current theme will deactivate it, and the default WordPress theme you installed will be activated in its place. Once you <strong>rename your theme<\/strong>, you should<strong> try to log in to your dashboard<\/strong>, and<strong> check if the issue persists<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/FTP-Theme-Deactivated.jpg\" class=\"attachment-full size-full\" alt=\"FTP Theme Deactivated\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/FTP-Theme-Deactivated.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/FTP-Theme-Deactivated-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/FTP-Theme-Deactivated-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/FTP-Theme-Deactivated-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>If activating the default WordPress theme resolved the error, then you\u2019ve established that the theme you were using is behind the issue.<\/strong> In that case, you should <strong>contact the theme\u2019s authors for assistance<\/strong>. Supplying them with an <a href=\"#enabling-debugging\">error log<\/a> is also a good idea as it can speed up the time it takes for the issue to be resolved.[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"refreshing-permalinks\"><\/a>Refreshing permalinks<\/h3>\n<p>[\/vc_column_text][vc_column_text]WordPress uses an SEO-friendly URL structure (i.e. permalinks) to give addresses to all content on your website. That structure can be modified within the <em>Permalinks<\/em> option of the admin dashboard or by using a plugin. But these changes might not get configured properly or simply aren\u2019t saving, which could lead to <a href=\"https:\/\/qodeinteractive.com\/magazine\/404-not-found-wordpress-error\/\">404 errors<\/a> across your website, as well as some <a href=\"https:\/\/qodeinteractive.com\/magazine\/wordpress-login-redirect-loop\/\">login or redirect issues<\/a>. Luckily, this can often be solved by refreshing the permalinks.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]If you\u2019ve recently changed a permalink slug using a third-party plugin, theme options, or WordPress permalinks options, then refreshing your permalinks is highly recommended.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]The process is simple\u2014<strong>navigate to Settings &gt; Permalinks<\/strong> and <strong>click on the <em>Save Changes<\/em> button<\/strong> in the lower-left corner of your screen.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"521\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Refreshing-Permalinks.jpg\" class=\"attachment-full size-full\" alt=\"Refreshing Permalinks\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Refreshing-Permalinks.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Refreshing-Permalinks-300x161.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Refreshing-Permalinks-768x413.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Refreshing-Permalinks-620x333.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Then, <strong>check your website<\/strong> to see if the issue is still present.[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"recreating-the-default-htaccess-file\"><\/a>Recreating the default .htaccess file<\/h3>\n<p>[\/vc_column_text][vc_column_text]One of the key server files, .htaccess lets you enable URL redirections, restrict access to certain IP addresses, increase server resources, and do a lot more besides. Because of its importance, having a faulty .htaccess file can lead to numerous errors, such as login redirection errors, the 404 error, and the <a href=\"https:\/\/qodeinteractive.com\/magazine\/http-500-internal-server-error-in-wordpress\/\">internal server error<\/a>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Therefore, <strong>you need to check whether a corrupted .htaccess file is to blame for the issue you\u2019re experiencing. The easiest way to check is by <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-backup-wordpress-files\/\">backing up this file<\/a> and then recreating the default .htaccess file before examining your site for the issue. If you notice that the error is gone, it means that your .htaccess file was causing the problem.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]As the .htaccess file is a hidden server configuration file, you need to <strong>select the proper option(s)<\/strong> for <a href=\"https:\/\/qodeinteractive.com\/magazine\/find-htaccess-file-on-wordpress-site\/\">viewing hidden files<\/a> in your chosen FTP client to be able to see it. In FileZilla, you can do so by <strong>clicking on the <em>Force showing hidden files<\/em> option<\/strong>, located in the <em>Server<\/em> tab.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Hidden-Files-Option.jpg\" class=\"attachment-full size-full\" alt=\"Hidden Files Option\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Hidden-Files-Option.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Hidden-Files-Option-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Hidden-Files-Option-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Hidden-Files-Option-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Then, <strong>navigate<\/strong> to the root directory of your WordPress site, often called public_html. Within it,<strong> find the .htaccess file, right-click on it<\/strong> and <strong>select the <em>Download<\/em> option<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"600\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Htaccess-Edit.jpg\" class=\"attachment-full size-full\" alt=\"Htaccess Edit\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Htaccess-Edit.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Htaccess-Edit-300x186.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Htaccess-Edit-768x476.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Htaccess-Edit-620x384.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>Save this file in a secure location<\/strong>, as it will serve as your backup .htaccess. Then, delete the same file from your server by<strong> right-clicking on it<\/strong> and <strong>selecting the <em>Delete<\/em> option<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"599\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Htaccess-Edit-Delete.jpg\" class=\"attachment-full size-full\" alt=\"Htaccess Edit Delete\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Htaccess-Edit-Delete.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Htaccess-Edit-Delete-300x185.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Htaccess-Edit-Delete-768x475.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Htaccess-Edit-Delete-620x383.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Afterward, if you can log in to your admin dashboard, <strong>navigate to Settings &gt; Permalinks<\/strong> and <strong>press the <em>Save Changes<\/em> button<\/strong> at the bottom. <strong>This will create a new default .htaccess file.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"521\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Refreshing-Permalinks.jpg\" class=\"attachment-full size-full\" alt=\"Refreshing Permalinks\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Refreshing-Permalinks.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Refreshing-Permalinks-300x161.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Refreshing-Permalinks-768x413.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Refreshing-Permalinks-620x333.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]However,<strong> if you aren\u2019t able to log in to your admin dashboard, you can restore the default .htaccess file by creating a new file within the root WordPress directory and adding the following code to it.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># BEGIN WordPress\r\n# The directives (lines) between \"BEGIN WordPress\" and \"END WordPress\" are\r\n# dynamically generated, and should only be modified via WordPress filters.\r\n# Any changes to the directives between these markers will be overwritten.\r\n&lt;IfModule mod_rewrite.c&gt;\r\nRewriteEngine On\r\nRewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]\r\nRewriteBase \/\r\nRewriteRule ^index\\.php$ - [L]\r\nRewriteCond %{REQUEST_FILENAME} !-f\r\nRewriteCond %{REQUEST_FILENAME} !-d\r\nRewriteRule . \/index.php [L]\r\n&lt;\/IfModule&gt;\r\n# END WordPress<\/pre>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Htaccess-Edit-Code.jpg\" class=\"attachment-full size-full\" alt=\"Htaccess Edit Code\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Htaccess-Edit-Code.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Htaccess-Edit-Code-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Htaccess-Edit-Code-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Htaccess-Edit-Code-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Once you\u2019ve created the default .htaccess file, you should<strong> check your website to see if this solved the error<\/strong>. If it hasn\u2019t, <strong>upload the backed-up version of the file<\/strong> to its old location on the server, which will override the newly generated file. Then <strong>proceed to the following troubleshooting step<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"changing-your-wordpress-urls\"><\/a>Changing your WordPress URLs<\/h3>\n<p>[\/vc_column_text][vc_column_text]Similar to an incorrect permalink structure, incorrect WordPress and site addresses could lead to 404 errors, too many redirects, and a host of other common WordPress issues. As such, you need to update these addresses every time you move your website, either from HTTP to HTTPS or otherwise. This step requires you to <strong>check your website\u2019s URLs and change them if needed.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Checking and changing your WordPress and site addresses can be done in several ways. The easiest one is to do it manually directly from the admin dashboard. If you have access to the admin dashboard and can change the addresses that way, you should try to do so. First, <strong>log in to your dashboard<\/strong> using your admin credentials and <strong>navigate to Settings &gt; General. Update the <em>WordPress Address<\/em> and the <em>Site Address<\/em> fields<\/strong> by typing the new addresses and <strong>press the <em>Save Changes<\/em> button<\/strong> at the bottom.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/WordPress-Address.jpg\" class=\"attachment-full size-full\" alt=\"WordPress Address\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/WordPress-Address.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/WordPress-Address-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/WordPress-Address-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/WordPress-Address-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>Then, revisit your website<\/strong> to check if the issue has been resolved. <strong>If you aren\u2019t able to log in to your admin dashboard, you should try one of the more technical approaches to <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-change-wordpress-url\/\">updating WordPress URLs<\/a> instead.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"reinstalling-wordpress-core-files\"><\/a>Reinstalling WordPress core files<\/h3>\n<p>[\/vc_column_text][vc_column_text]In some cases, your issues could be caused by an incomplete WordPress update, which occurred because of server timeouts, memory issues, or other reasons. A problem can also arise if you\u2019ve edited the WordPress core files (which we advise against), or if those files are corrupted for any other reason. You can test for this by <strong>reinstalling WordPress core files<\/strong> and <strong>inspecting if the issue resolves itself<\/strong> afterward.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To reinstall WordPress core files from the admin dashboard, <strong>navigate to Dashboard &gt; Updates<\/strong> in the upper left corner of your screen. If your website has the latest WordPress version, you will find the <em>Re-install Now<\/em> button there.<strong> Click on the <em>Re-install Now<\/em> button<\/strong> and <strong>wait<\/strong> until the installation process is finished.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Reinstalling-WordPress-Updates.jpg\" class=\"attachment-full size-full\" alt=\"Reinstalling WordPress Updates\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Reinstalling-WordPress-Updates.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Reinstalling-WordPress-Updates-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Reinstalling-WordPress-Updates-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Reinstalling-WordPress-Updates-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]If you aren\u2019t able to login to your admin dashboard, you will need to try other means of <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-reinstall-wordpress\/\">reinstalling WordPress core files<\/a>. As with every troubleshooting step so far, <strong>you should check your website<\/strong> after reinstalling WordPress to see if the issue is still present.[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"removing-the-custom-code-you-added\"><\/a>Removing the custom code you added<\/h3>\n<p>[\/vc_column_text][vc_column_text]On the other hand, the issue could also be caused by custom code. WordPress users can choose to add some additional CSS, JS, or PHP code snippets to improve their site\u2019s existing features or to add new ones. However, that code could conflict with the code of the active theme, plugins, or even WordPress core files. It\u2019s also possible that the custom code you add has a syntax error that caused the issue. If the problem was caused by a syntax issue, you should check the code for missing semicolons (;) and opening and closing brackets or tags. But, if the problem occurred because of a code conflict, you\u2019ll need to investigate all conflicting codes.<br \/>\n[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]In either case, you can perform simple troubleshooting to determine whether any of the code you added is causing you problems. To do so, <strong>remove all the code that you inserted<\/strong> and <strong>check your website<\/strong> afterward.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<strong>If this solves the issue, you\u2019ll know the error was caused by some faulty code you inserted. Then, you can decide to stop using that code on your site or you can carefully review it, find the faulty part, and correct it.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"enabling-debugging\"><\/a>Enabling debugging<\/h3>\n<p>[\/vc_column_text][vc_column_text]WordPress debugging is one of the most important tools for troubleshooting WordPress errors. It\u2019s not enabled by default, so you\u2019ll need to enable it yourself. This is done easily by editing a small line of code inside the wp-config.php file. If you enable debugging, all the errors and warnings will be shown on your website. The <a href=\"https:\/\/qodeinteractive.com\/magazine\/what-is-microcopy\/\">error messages<\/a> will point to specific files and lines of code, which can help you pinpoint the source of your issue.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]To enable <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-turn-on-error-logs-in-wordpress\/\">WordPress debugging<\/a>, <strong>connect to your server<\/strong> using your FTP credentials and <strong>navigate to your root WordPress directory<\/strong>, often called public_html.[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/12\/Public-HTML-FTP.jpg\" class=\"attachment-full size-full\" alt=\"Public HTML FTP\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/12\/Public-HTML-FTP.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/12\/Public-HTML-FTP-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/12\/Public-HTML-FTP-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2020\/12\/Public-HTML-FTP-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]Then, <strong>locate the wp-config.php file, right-click on it<\/strong>, and <strong>select the <em>View\/Edit<\/em> option.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Wp-Config.jpg\" class=\"attachment-full size-full\" alt=\"Wp Config\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Wp-Config.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Wp-Config-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Wp-Config-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Wp-Config-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]<strong>Open the file<\/strong> using your preferred text editor and <strong>insert the following line of code<\/strong> above the \/* That&#8217;s all, stop editing! Happy blogging. *\/ comment line:[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">define('WP_DEBUG', true);<\/pre>\n<p>[\/vc_column_text][vc_empty_space height=&#8221;50px&#8221;]<div class=\"qodef-single-image-holder   qodef-has-border \">\n    <div class=\"qodef-si-inner\" >\n                                    <img loading=\"lazy\" decoding=\"async\" width=\"969\" height=\"518\" src=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Wp-Config-Code.jpg\" class=\"attachment-full size-full\" alt=\"Wp Config Code\" srcset=\"https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Wp-Config-Code.jpg 969w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Wp-Config-Code-300x160.jpg 300w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Wp-Config-Code-768x411.jpg 768w, https:\/\/qodeinteractive.com\/magazine\/wp-content\/uploads\/2021\/04\/Wp-Config-Code-620x331.jpg 620w\" sizes=\"auto, (max-width: 969px) 100vw, 969px\" \/>                        <\/div>\n<\/div>[vc_empty_space height=&#8221;38px&#8221;][vc_column_text]If the WP_DEBUG variable was already present but set to false, you only need to change it from <strong>false to true<\/strong>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Afterward, <strong>save the changes<\/strong> you made and <strong>upload the file back to the server<\/strong>, which will overwrite the file that\u2019s currently there.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Then, <strong>open one of your site\u2019s pages<\/strong> and <strong>review the error messages<\/strong> that are shown on the screen.<strong> If they point to a file within your theme or plugin, make sure to let the authors who developed it know about the error.<\/strong> And,<strong> if the error messages point to a piece of code you added, make sure to review and correct it accordingly.<\/strong>[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"scanning-your-website\"><\/a>Scanning your website<\/h3>\n<p>[\/vc_column_text][vc_column_text]If you\u2019ve performed all the previously described steps but had no luck in solving the issue, it might mean that the problem was caused by some malware or by a hacking attack. In that case, you need to <a href=\"https:\/\/qodeinteractive.com\/magazine\/scan-wordpress-for-malware\/\">scan your website for malware<\/a>.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]If the scan finds malware inside the files of some of your plugins or your theme, you should notify their authors and ask them to clear it. On the other hand, if the scan points to one of the WordPress core files, you should reinstall them if you haven\u2019t already done so in an earlier step. Furthermore, since some premium <a href=\"https:\/\/qodeinteractive.com\/magazine\/wordpress-security-plugins\/\">security plugins<\/a> offer support and malware removal, you should consider installing one as well.[\/vc_column_text][vc_empty_space height=&#8221;72px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h3 class=\"qodef-h5\"><a id=\"asking-for-help\"><\/a>Asking for help<\/h3>\n<p>[\/vc_column_text][vc_column_text]Even though we have mentioned asking for help this several times already, it bears repeating. If, while running through these troubleshooting steps, you establish that the fault lies in some of your plugins or even your theme, you should <strong>contact their authors for help<\/strong>. In some cases, after contacting the plugin or theme authors, you might need to<strong> contact your hosting provider<\/strong> to perform additional server configurations. They can help you with things like increasing server resources or even malware removal, if necessary.[\/vc_column_text][vc_empty_space height=&#8221;28px&#8221;][vc_column_text]Asking for professional help should be your next go-to if the steps we suggested in this article didn\u2019t manage to solve the problem. You might be an old hand at opening support tickets, or this might be the first time you have to do it\u2014in either case, you can take a peek at our guide on <a href=\"https:\/\/qodeinteractive.com\/magazine\/how-to-ask-for-wordpress-support\/\">how to properly ask for support<\/a> to get the best results.[\/vc_column_text][vc_empty_space height=&#8221;68px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_column_text]<\/p>\n<h2 class=\"qodef-h4\">Final Thoughts<\/h2>\n<p>[\/vc_column_text][vc_column_text]This beginner\u2019s guide is designed to provide you with the approaches and techniques you can use to approach solving any WordPress error. We have taken the time to carefully discuss the basics of WordPress troubleshooting so you\u2019ll be equipped to tackle issues on your own. Even if these steps don\u2019t immediately solve the problem, they can help you narrow down its cause. That way, if you have to reach out for help from technical support or developers, you\u2019ll significantly reduce the overall troubleshooting time.<br \/>\n[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>WordPress errors come in all shapes and sizes but our beginner&#8217;s guide to solving them will show you how to tackle virtually any one.<\/p>\n","protected":false},"author":11229,"featured_media":23138,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[4,52,13],"class_list":["post-23014","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-tips","tag-troubleshooting","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/23014","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/users\/11229"}],"replies":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/comments?post=23014"}],"version-history":[{"count":0,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/posts\/23014\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media\/23138"}],"wp:attachment":[{"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/media?parent=23014"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/categories?post=23014"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qodeinteractive.com\/magazine\/wp-json\/wp\/v2\/tags?post=23014"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}