{"id":177,"date":"2012-09-19T14:22:32","date_gmt":"2012-09-19T19:22:32","guid":{"rendered":"http:\/\/triplescomputers.com\/blog\/?p=177"},"modified":"2012-09-19T14:22:58","modified_gmt":"2012-09-19T19:22:58","slug":"solution-facebook-error-invalid-url-the-requested-url-is-invalid","status":"publish","type":"post","link":"https:\/\/www.triplescomputers.com\/blog\/uncategorized\/solution-facebook-error-invalid-url-the-requested-url-is-invalid\/","title":{"rendered":"SOLUTION: Facebook error &#8211; Invalid URL. The requested URL &#8220;\/&#8221;, is invalid."},"content":{"rendered":"<p>Two days ago a client of mine contacted me regarding problems accessing Facebook.com. \u00a0Whenever the client attempted to access the site, he was met with the following error:<\/p>\n<blockquote><p><strong>Invalid URL<\/strong><\/p>\n<p>The requested URL &#8220;\/&#8221;, is invalid.<\/p>\n<p>Reference #<\/p><\/blockquote>\n<p>Bizarrely, this\u00a0only\u00a0occurred when attempting to access Facebook.com, and never\u00a0on\u00a0<em>any\u00a0<\/em>other websites.<\/p>\n<p>Of course, the first thing I checked was his\u00a0<strong>hosts\u00a0<\/strong>file, which actually was completely empty\/default. \u00a0Next, I flushed his DNS resolver cache with\u00a0<strong>ipconfig \/flushdns<\/strong>. \u00a0This also failed to solve the problem.<\/p>\n<p>At this point, I began doing some research and found other users experiencing intermittent issues of the same sort across various internet forums. \u00a0The cause is unknown. \u00a0The solution, as it turns out, is easy: simply force the PC to resolve Facebook.com to the correct IP address and the problem is solved:<\/p>\n<ol>\n<li>Open the system&#8217;s\u00a0<strong>hosts\u00a0<\/strong>file. \u00a0Navigate to <strong>%windir%\\system32\\drivers\\etc<\/strong> and open the\u00a0<strong>hosts\u00a0<\/strong>file using Notepad when prompted.<\/li>\n<li>Copy\/paste the following line into the hosts file where the addresses are located:<\/li>\n<\/ol>\n<blockquote><p>69.171.228.74 https:\/\/www.facebook.com<\/p><\/blockquote>\n<p>That&#8217;s it&#8211;problem solved!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Two days ago a client of mine contacted me regarding problems accessing Facebook.com. \u00a0Whenever the client attempted to access the site, he was met with the following error: Invalid URL The requested URL &#8220;\/&#8221;, is invalid. Reference # Bizarrely, this\u00a0only\u00a0occurred &hellip; <a href=\"https:\/\/www.triplescomputers.com\/blog\/uncategorized\/solution-facebook-error-invalid-url-the-requested-url-is-invalid\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[50,114,115,116],"class_list":["post-177","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-dns","tag-facebook","tag-hosts","tag-ipconfig"],"_links":{"self":[{"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/posts\/177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/comments?post=177"}],"version-history":[{"count":0,"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/posts\/177\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/media?parent=177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/categories?post=177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.triplescomputers.com\/blog\/wp-json\/wp\/v2\/tags?post=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}