{"id":252244,"date":"2022-08-05T08:21:51","date_gmt":"2022-08-05T08:21:51","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=252244"},"modified":"2022-08-05T08:22:00","modified_gmt":"2022-08-05T08:22:00","slug":"the-requested-url-was-not-found-on-this-server-magento2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/","title":{"rendered":"The requested URL was not found on this server Magento2"},"content":{"rendered":"\n<p>In this blog I will guide you how to resolve &#8220;The requested URL was not found&#8221; issue.<\/p>\n\n\n\n<p>Today I face an issue in my Ubuntu 18.0.4 environment when I was trying to install <a href=\"https:\/\/devdocs.magento.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Magento2<\/a> by following all the steps mentioned inside the <a href=\"https:\/\/devdocs.magento.com\/guides\/v2.3\/install-gde\/system-requirements-tech.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento2 installation Guide<\/a>.<\/p>\n\n\n\n<p>After following all the steps Magento2 has been successfully installed on my environment.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" width=\"1200\" height=\"627\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-21_52_04-1200x627.png\" alt=\"screenshot-192.168.1.120_70-2020.06.01-21_52_04\" class=\"wp-image-252260\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-21_52_04-1200x627.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-21_52_04-300x157.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-21_52_04-250x131.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-21_52_04-768x401.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-21_52_04.png 1286w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>But when I tried to open admin URL for <strong>Magento2<\/strong>  then I face &#8220;<span class=\"has-inline-color has-vivid-red-color\"><em>The requested URL was not found on this server<\/em><\/span>&#8221; but there is no issue with the store URL.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" width=\"1200\" height=\"141\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-22_29_20-1200x141.png\" alt=\"screenshot-192.168.1.120_70-2020.06.01-22_29_20\" class=\"wp-image-252263\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-22_29_20-1200x141.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-22_29_20-300x35.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-22_29_20-250x29.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-22_29_20-768x90.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-22_29_20.png 1298w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Then a bit searching, I found few solutions and I tried all the solutions one by one.<\/p>\n\n\n\n<p>So here I am sharing all the solutions one by one.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Solution 1<\/h3>\n\n\n\n<p>You can try to access your Magento admin using &#8220;<em><mark class=\"has-inline-color has-luminous-vivid-orange-color\">domain.com\/index.php\/admin<\/mark><\/em>&#8221; instead of &#8220;<em><mark class=\"has-inline-color has-luminous-vivid-orange-color\">domain.com\/admin<\/mark><\/em>&#8220;.  In order to resolve &#8220;&#8221;<mark class=\"has-inline-color has-vivid-red-color\"><em>The requested URL was not found on this server<\/em><\/mark>&#8220;&#8221;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Solution 2<\/h3>\n\n\n\n<p>If <strong>solution 1<\/strong> will not work for you then you can enable rewrite on web server.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">For Apache web server users<\/h4>\n\n\n\n<p>Open the Apache virtual host file which is present inside the &#8220;<em><span style=\"color:#ba0d84\" class=\"has-inline-color\">\/etc\/apache2\/sites-enabled\/000-default.conf<\/span><\/em>&#8221; or &#8220;<em><strong><span style=\"color:#ba0d84\" class=\"has-inline-color\">\/<\/span><\/strong><span style=\"color:#ba0d84\" class=\"has-inline-color\">etc\/apache2\/acache2.conf<\/span><\/em>&#8221; then replace the below line from,<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;Directory \/var\/www\/html&gt;\n      Options Indexes FollowSymLinks\n &nbsp;&nbsp;&nbsp;&nbsp; AllowOverride None\n &nbsp;&nbsp;&nbsp;&nbsp; Require all granted\n&lt;\/Directory&gt;<\/pre>\n\n\n\n<p><strong>To<\/strong> (replace the &#8220;<em><strong><span style=\"color:#ba0d84\" class=\"has-inline-color\">AllowOverride None<\/span><\/strong><\/em>&#8221; line with &#8220;<em><strong><span style=\"color:#ba0d84\" class=\"has-inline-color\">AllowOverride All<\/span><\/strong><\/em>&#8220;)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;Directory \/var\/www\/html&gt;\n      Options Indexes FollowSymLinks\n &nbsp;&nbsp;&nbsp;&nbsp; AllowOverride All\n &nbsp;&nbsp;&nbsp;&nbsp; Require all granted\n&lt;\/Directory&gt;<\/pre>\n\n\n\n<p>It will enable &#8220;<em><strong>mod_rewrite<\/strong><\/em>&#8221; for apache web server but if you are a Ubuntu user then you can use below command,<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>a2enmod rewrite<\/strong><\/pre>\n\n\n\n<p>Then after following above steps you can restart your <strong>Apache<\/strong> web server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">service apache2 restart\nor\n\/etc\/init.d\/apache2 restart<\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">For <strong>Nginx<\/strong> web server users<\/h4>\n\n\n\n<p>Open the config file of your <strong>Nginx<\/strong> web server. You can find your file inside the &#8220;<em><span style=\"color:#ba0d84\" class=\"has-inline-color\"><strong>\/etc\/nginx\/sites-enabled\/yourdomain<\/strong><\/span><\/em>&#8220;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">server {\n\u2026\n       index index.php;\n       if ($request_uri ~* \"^(.*\/)index.php$\") {\n            return 301 $1;\n       }\n\u2026\n}<\/pre>\n\n\n\n<p>After making these changes your needs to restart your Nginx web server.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">service nginx restart\nor\n\/etc\/init.d\/nginx restart<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Solution 3<\/h3>\n\n\n\n<p>If solutions 1 &amp; 2 will not work for you and you are Apache web server user then you can try this solution as well. <\/p>\n\n\n\n<p>Check your &#8220;<em><span style=\"color:#ba0d84\" class=\"has-inline-color\">.<strong>htaccess<\/strong><\/span><\/em>&#8221; file inside the Magento root directory. If that file is not present then you can create that file with the required definition or you can replace the &#8220;<em><strong><span style=\"color:#ba0d84\" class=\"has-inline-color\">.htaccess.sample<\/span><\/strong><\/em>&#8221; with the &#8220;<strong><em><span style=\"color:#ba0d84\" class=\"has-inline-color\">.htaccess<\/span><\/em><\/strong>&#8220;.<\/p>\n\n\n\n<p>Or if that file is present then you can check <a href=\"https:\/\/github.com\/magento\/magento2\/blob\/97f9b00437952cd593d348844649150a16a55f16\/.htaccess#L149\" target=\"_blank\" rel=\"noreferrer noopener\"><em>these lines<\/em><\/a> are correct or not inside the &#8220;.<strong><em><span style=\"color:#ba0d84\" class=\"has-inline-color\">htaccess<\/span><\/em><\/strong>&#8221; file<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" width=\"1101\" height=\"276\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/IqL1lrH8SE24STSuR33miA.png\" alt=\"IqL1lrH8SE24STSuR33miA\" class=\"wp-image-252265\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/IqL1lrH8SE24STSuR33miA.png 1101w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/IqL1lrH8SE24STSuR33miA-300x75.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/IqL1lrH8SE24STSuR33miA-250x63.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/IqL1lrH8SE24STSuR33miA-768x193.png 768w\" sizes=\"(max-width: 1101px) 100vw, 1101px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>This is how you fix this issue and you will be able to successfully login your Magento.<\/p>\n\n\n\n<p>You can also check some other <a href=\"https:\/\/webkul.com\/blog\/author\/ashish067\/\">informative blogs<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>We Would Love to Hear From You!<\/strong><\/h3>\n\n\n\n<p><em>Hope you find the blog informative! Please feel free to share your feedback in the comments below.<\/em><\/p>\n\n\n\n<p><em>If you still have any issues\/queries then please raise a ticket at <\/em><a href=\"https:\/\/webkul.uvdesk.com\/en\/customer\/create-ticket\/\"><em>https:\/\/webkul.uvdesk.com\/en\/customer\/create-ticket\/<\/em><\/a><\/p>\n\n\n\n<p><em>For any doubt contact us at <\/em><em>support@webkul.com<\/em><em>.<\/em><\/p>\n\n\n\n<p><em>Thanks for paying attention!!<\/em><\/p>\n\n\n\n<p>\ud83d\ude42 \ud83d\ude0a<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog I will guide you how to resolve &#8220;The requested URL was not found&#8221; issue. Today I face an issue in my Ubuntu 18.0.4 environment when I was trying to install Magento2 by following all the steps mentioned inside the Magento2 installation Guide. After following all the steps Magento2 has been successfully installed <a href=\"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":90,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-252244","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The requested URL was not found<\/title>\n<meta name=\"description\" content=\"Check your &quot;.htaccess&quot; file inside the Magento root directory. If that file is not present then you can create that file with the required definition or you can replace the &quot;.htaccess.sample&quot; with the &quot;.htaccess&quot;. In order to resolve The requested URL was not found\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The requested URL was not found\" \/>\n<meta property=\"og:description\" content=\"Check your &quot;.htaccess&quot; file inside the Magento root directory. If that file is not present then you can create that file with the required definition or you can replace the &quot;.htaccess.sample&quot; with the &quot;.htaccess&quot;. In order to resolve The requested URL was not found\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-05T08:21:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-05T08:22:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-21_52_04-1200x627.png\" \/>\n<meta name=\"author\" content=\"Ashish Singh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ashish Singh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/\"},\"author\":{\"name\":\"Ashish Singh\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/3b92c698256ce0bcb9613acf8bbf5b2d\"},\"headline\":\"The requested URL was not found on this server Magento2\",\"datePublished\":\"2022-08-05T08:21:51+00:00\",\"dateModified\":\"2022-08-05T08:22:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/\"},\"wordCount\":448,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-21_52_04-1200x627.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/\",\"url\":\"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/\",\"name\":\"The requested URL was not found\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-21_52_04-1200x627.png\",\"datePublished\":\"2022-08-05T08:21:51+00:00\",\"dateModified\":\"2022-08-05T08:22:00+00:00\",\"description\":\"Check your \\\".htaccess\\\" file inside the Magento root directory. If that file is not present then you can create that file with the required definition or you can replace the \\\".htaccess.sample\\\" with the \\\".htaccess\\\". In order to resolve The requested URL was not found\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-21_52_04.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-21_52_04.png\",\"width\":1286,\"height\":672,\"caption\":\"screenshot-192.168.1.120_70-2020.06.01-21_52_04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The requested URL was not found on this server Magento2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/3b92c698256ce0bcb9613acf8bbf5b2d\",\"name\":\"Ashish Singh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ef2c82640f6054d8a8cfca9e3edd7edaf800ff1873b6d103c7bbf0b47dfefc1e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ef2c82640f6054d8a8cfca9e3edd7edaf800ff1873b6d103c7bbf0b47dfefc1e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Ashish Singh\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/ashish067\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The requested URL was not found","description":"Check your \".htaccess\" file inside the Magento root directory. If that file is not present then you can create that file with the required definition or you can replace the \".htaccess.sample\" with the \".htaccess\". In order to resolve The requested URL was not found","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:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/","og_locale":"en_US","og_type":"article","og_title":"The requested URL was not found","og_description":"Check your \".htaccess\" file inside the Magento root directory. If that file is not present then you can create that file with the required definition or you can replace the \".htaccess.sample\" with the \".htaccess\". In order to resolve The requested URL was not found","og_url":"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2022-08-05T08:21:51+00:00","article_modified_time":"2022-08-05T08:22:00+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-21_52_04-1200x627.png","type":"","width":"","height":""}],"author":"Ashish Singh","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Ashish Singh","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/"},"author":{"name":"Ashish Singh","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/3b92c698256ce0bcb9613acf8bbf5b2d"},"headline":"The requested URL was not found on this server Magento2","datePublished":"2022-08-05T08:21:51+00:00","dateModified":"2022-08-05T08:22:00+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/"},"wordCount":448,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-21_52_04-1200x627.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/","url":"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/","name":"The requested URL was not found","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-21_52_04-1200x627.png","datePublished":"2022-08-05T08:21:51+00:00","dateModified":"2022-08-05T08:22:00+00:00","description":"Check your \".htaccess\" file inside the Magento root directory. If that file is not present then you can create that file with the required definition or you can replace the \".htaccess.sample\" with the \".htaccess\". In order to resolve The requested URL was not found","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-21_52_04.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2020\/06\/screenshot-192.168.1.120_70-2020.06.01-21_52_04.png","width":1286,"height":672,"caption":"screenshot-192.168.1.120_70-2020.06.01-21_52_04"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/the-requested-url-was-not-found-on-this-server-magento2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"The requested URL was not found on this server Magento2"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/3b92c698256ce0bcb9613acf8bbf5b2d","name":"Ashish Singh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ef2c82640f6054d8a8cfca9e3edd7edaf800ff1873b6d103c7bbf0b47dfefc1e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef2c82640f6054d8a8cfca9e3edd7edaf800ff1873b6d103c7bbf0b47dfefc1e?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Ashish Singh"},"url":"https:\/\/webkul.com\/blog\/author\/ashish067\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/252244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/90"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=252244"}],"version-history":[{"count":3,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/252244\/revisions"}],"predecessor-version":[{"id":347175,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/252244\/revisions\/347175"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=252244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=252244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=252244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}