{"id":1738,"date":"2022-03-16T10:09:37","date_gmt":"2022-03-16T04:39:37","guid":{"rendered":"https:\/\/hostkicker.com\/blog\/?p=1738"},"modified":"2022-03-16T10:09:37","modified_gmt":"2022-03-16T04:39:37","slug":"how-to-fix-the-404-not-found-error-in-wordpress","status":"publish","type":"post","link":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/","title":{"rendered":"How to fix the 404 Not Found Error in WordPress"},"content":{"rendered":"<p><span data-preserver-spaces=\"true\">In this write-up, we will show how to fix the &#8216;404 Not Found Error&#8217; in WordPress.<\/span><\/p>\n<h2><strong><span data-preserver-spaces=\"true\">The &#8216;Error 404 \u2013 Not Found&#8217;,<\/span><\/strong><\/h2>\n<p><span data-preserver-spaces=\"true\">Many users make a mistake when changing their WordPress address and site address in their WordPress settings, and the next time they log in to their admin area, they see the error &#8216;Error 404 \u2013 Not Found&#8217;.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">To fix this &#8216;Error 404 \u2013 Not Found&#8217;, we will discuss two different methods to change URLs<\/span><\/p>\n<h3><span data-preserver-spaces=\"true\">Method 1. Change URLs Using functions.php File.<\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">You can follow this method when you cannot access your WordPress admin panel due to the &#8216;Error 404 \u2013 Not Found&#8217;.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">To start, you have to connect to your WordPress website using an FTP client.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Then, visit your WordPress theme folder. This is something like\u00a0<\/span><strong><span data-preserver-spaces=\"true\">\/wp-content\/themes\/your-theme-folder\/<\/span><\/strong><span data-preserver-spaces=\"true\">.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1739\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/03\/ftp-functions-php-file.png\" alt=\"\" width=\"680\" height=\"315\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/03\/ftp-functions-php-file.png 680w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/03\/ftp-functions-php-file-300x139.png 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Now, open your functions.php file and edit it using your text editors, such as Notepad or TextEdit.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Then, add the code given below to the bottom of the file.<\/span><\/p>\n<pre><span data-preserver-spaces=\"true\"> update_option( 'siteurl', 'https:\/\/example.com' );<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">update_option( 'home', 'https:\/\/example.com' );<\/span><\/pre>\n<p><span data-preserver-spaces=\"true\"><strong>Note:<\/strong> replace &#8216;https:\/\/example.com&#8217; with your own site URLs.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Then, save the changes and upload the file back to your server using FTP.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now, visit your site to see everything back to normal.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">After your site is working properly, you can remove this code from your WordPress functions.php file.<\/span><\/p>\n<h3><span data-preserver-spaces=\"true\">Method 2. Change URLs Using wp-config.php File<\/span><\/h3>\n<p><span data-preserver-spaces=\"true\">\u00a0While changing URLs Using functions.php File, if you&#8217;re unsure which theme you have to edit or can not find your functions.php file, you can go with this method.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">In this method, You have to add your website URLs to your WordPress configuration file named wp-config.php. This file contains important WordPress settings and is located in the root folder of your website.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You have to connect to your website using an FTP client to change this file.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">After that, locate the wp-config.php file in the root folder for your domain.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1740\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/03\/ftp-wp-config-file.png\" alt=\"\" width=\"680\" height=\"183\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/03\/ftp-wp-config-file.png 680w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/03\/ftp-wp-config-file-300x81.png 300w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">Then, add the code just above the line &#8216;That&#8217;s all, stop editing! Happy publishing&#8217;.<\/span><\/p>\n<pre><span data-preserver-spaces=\"true\"> define( 'WP_HOME', 'https:\/\/example.com' );<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">define( 'WP_SITEURL', 'https:\/\/example.com' );<\/span><\/pre>\n<p><strong><span data-preserver-spaces=\"true\">Note:<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0Replace &#8216;https:\/\/example.com&#8217; with your own domain name.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">After that, save your changes and upload them back to your server.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now, You can visit your site to ensure that everything is working properly.<\/span><\/p>\n<h2><strong><span data-preserver-spaces=\"true\">The Posts Returning 404 Error<\/span><\/strong><\/h2>\n<p><span data-preserver-spaces=\"true\">Some users may notice the 404 posts returning Error. This happens when they can access their site, their blog&#8217;s main page, but see the 404 Not Found Error when they visit one of their posts. You can fix this issue by the following method.\u00a0<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">Fixing The Posts Returning 404 Error<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">Let&#8217;s move on to fix WordPress posts returning 404 errors.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">This generally happens if your .htaccess file got deleted or something goes wrong with the rewrite rules.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Then, you have to fix your permalinks settings.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Visit\u00a0<\/span><strong><span data-preserver-spaces=\"true\">Settings \u00bb Permalinks<\/span><\/strong><span data-preserver-spaces=\"true\">, and click on\u00a0<\/span><em><span data-preserver-spaces=\"true\">the Save Changes tab<\/span><\/em><span data-preserver-spaces=\"true\">.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1741\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/03\/updatepermalinks.png\" alt=\"\" width=\"520\" height=\"367\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/03\/updatepermalinks.png 520w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/03\/updatepermalinks-300x212.png 300w\" sizes=\"auto, (max-width: 520px) 100vw, 520px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">This updates your permalinks settings and flushes out the rewrite rules. In many cases, this solution fixes the WordPress posts 404 error. But, if this does not work for you and you are still facing the same issue, then you have to update your .htaccess file manually.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">To do that, log in to your server using the FTP client, and modify the .htaccess file. This file is located in the same location where folders like \/wp-content\/ and \/wp-includes\/ are present.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">One thing you can do is to temporarily make the file writeable by changing the permissions to 666 and then following the above\/original solution. After that, make sure to change the permissions back to 660. Another way is you can manually add this code in your .htaccess file:<\/span><\/p>\n<pre><span data-preserver-spaces=\"true\"> # BEGIN WordPress<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">&lt;IfModule mod_rewrite.c&gt;<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">RewriteEngine On<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">RewriteBase \/<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">RewriteRule ^index\\.php$ - [L]<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">RewriteCond %{REQUEST_FILENAME} !-f<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">RewriteCond %{REQUEST_FILENAME} !-d<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">RewriteRule . \/index.php [L]<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">&lt;\/IfModule&gt;<\/span>\r\n\r\n<span data-preserver-spaces=\"true\"># END WordPress<\/span><\/pre>\n<p><span data-preserver-spaces=\"true\">This way you can access your post easily.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">To conclude-<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0In WordPress, we may find difficulty logging in to the admin area or visiting any of our posts due to the 404 Not Found Error. In this write-up, we have tried to explain how you can resolve this, and we hope this tutorial help fix the 404 Not Found Error in WordPress.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0If you are experiencing any other error on your site, you can fix it by following the steps told in our other article<\/span><a href=\"https:\/\/hostkicker.com\/blog\/what-to-do-when-you-are-locked-out-of-wordpress-admin-area\/\"><span style=\"font-weight: 400;\"> on <\/span><span style=\"font-weight: 400;\">what to do when you are logged out of the WordPress admin area.<\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this write-up, we will show how to fix the &#8216;404 Not Found Error&#8217; in WordPress. The &#8216;Error 404 \u2013 Not Found&#8217;, Many users make a mistake when changing their WordPress address and site address in their WordPress settings, and the next time they log in to their admin area, they see the error &#8216;Error [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":1749,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1738","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wp-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.3 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to fix the 404 Not Found Error in WordPress - Hostkicker<\/title>\n<meta name=\"description\" content=\"To fix the 404 Not Found Error in WordPress, you need to edit the URL settings. To do that you can use your function.php file or wp-config.php File First, connect to your site\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to fix the 404 Not Found Error in WordPress\" \/>\n<meta property=\"og:description\" content=\"To fix the 404 Not Found Error in WordPress, you need to edit the URL settings. To do that you can use your function.php file or wp-config.php File First, connect to your site\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostkicker\" \/>\n<meta property=\"article:published_time\" content=\"2022-03-16T04:39:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/03\/404-error-01.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"693\" \/>\n\t<meta property=\"og:image:height\" content=\"511\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Olivia Smith\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Olivia Smith\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-404-not-found-error-in-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-404-not-found-error-in-wordpress\\\/\"},\"author\":{\"name\":\"Olivia Smith\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\"},\"headline\":\"How to fix the 404 Not Found Error in WordPress\",\"datePublished\":\"2022-03-16T04:39:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-404-not-found-error-in-wordpress\\\/\"},\"wordCount\":683,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-404-not-found-error-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/404-error-01.jpg\",\"articleSection\":[\"Wp tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-404-not-found-error-in-wordpress\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-404-not-found-error-in-wordpress\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-404-not-found-error-in-wordpress\\\/\",\"name\":\"How to fix the 404 Not Found Error in WordPress - Hostkicker\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-404-not-found-error-in-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-404-not-found-error-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/404-error-01.jpg\",\"datePublished\":\"2022-03-16T04:39:37+00:00\",\"description\":\"To fix the 404 Not Found Error in WordPress, you need to edit the URL settings. To do that you can use your function.php file or wp-config.php File First, connect to your site\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-404-not-found-error-in-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-404-not-found-error-in-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-404-not-found-error-in-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/404-error-01.jpg\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/404-error-01.jpg\",\"width\":693,\"height\":511,\"caption\":\"To fix the 404 Not Found Error in WordPress, you need to edit the URL settings. To do that you can use your function.php file or wp-config.php File First, connect to your site\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-fix-the-404-not-found-error-in-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to fix the 404 Not Found Error in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"name\":\"Hostkicker\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\",\"name\":\"Hostkicker\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"width\":940,\"height\":218,\"caption\":\"Hostkicker\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\",\"name\":\"Olivia Smith\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"caption\":\"Olivia Smith\"},\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/author\\\/olivia\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to fix the 404 Not Found Error in WordPress - Hostkicker","description":"To fix the 404 Not Found Error in WordPress, you need to edit the URL settings. To do that you can use your function.php file or wp-config.php File First, connect to your site","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to fix the 404 Not Found Error in WordPress","og_description":"To fix the 404 Not Found Error in WordPress, you need to edit the URL settings. To do that you can use your function.php file or wp-config.php File First, connect to your site","og_url":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/","og_site_name":"Hostkicker","article_published_time":"2022-03-16T04:39:37+00:00","og_image":[{"width":693,"height":511,"url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/03\/404-error-01.jpg","type":"image\/jpeg"}],"author":"Olivia Smith","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Olivia Smith","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/"},"author":{"name":"Olivia Smith","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660"},"headline":"How to fix the 404 Not Found Error in WordPress","datePublished":"2022-03-16T04:39:37+00:00","mainEntityOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/"},"wordCount":683,"commentCount":0,"publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/03\/404-error-01.jpg","articleSection":["Wp tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/","url":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/","name":"How to fix the 404 Not Found Error in WordPress - Hostkicker","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/03\/404-error-01.jpg","datePublished":"2022-03-16T04:39:37+00:00","description":"To fix the 404 Not Found Error in WordPress, you need to edit the URL settings. To do that you can use your function.php file or wp-config.php File First, connect to your site","breadcrumb":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/#primaryimage","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/03\/404-error-01.jpg","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/03\/404-error-01.jpg","width":693,"height":511,"caption":"To fix the 404 Not Found Error in WordPress, you need to edit the URL settings. To do that you can use your function.php file or wp-config.php File First, connect to your site"},{"@type":"BreadcrumbList","@id":"https:\/\/hostkicker.com\/blog\/how-to-fix-the-404-not-found-error-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostkicker.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to fix the 404 Not Found Error in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/hostkicker.com\/blog\/#website","url":"https:\/\/hostkicker.com\/blog\/","name":"Hostkicker","description":"Blog","publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostkicker.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostkicker.com\/blog\/#organization","name":"Hostkicker","url":"https:\/\/hostkicker.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","width":940,"height":218,"caption":"Hostkicker"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660","name":"Olivia Smith","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","caption":"Olivia Smith"},"url":"https:\/\/hostkicker.com\/blog\/author\/olivia\/"}]}},"jetpack_featured_media_url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/03\/404-error-01.jpg","_links":{"self":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/1738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/comments?post=1738"}],"version-history":[{"count":2,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/1738\/revisions"}],"predecessor-version":[{"id":1750,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/1738\/revisions\/1750"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media\/1749"}],"wp:attachment":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media?parent=1738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/categories?post=1738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/tags?post=1738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}