How to Remove a URL’s Trailing Underscore in Chrome
Google Chrome lets you add custom search engines to search any site with a special keyword. However, sometimes Chrome adds a trailing underscore to the URL, which can cause problems if you try to enter it in the address bar.
Why Does This Happen?
Although it’s uncertain why this happens, it seems as though Chrome adds a trailing underscore to some URLs that use a custom search or keyword to query a website.
One theory is that somewhere along the line when you add a custom search engine, it gets duplicated, and instead of throwing an error and breaking, Chrome appends the keyword with an underscore and continues as if nothing happened.
The main problem with this is the keyword looks a lot like a properly formed URL—only with an underscore at the end. When you start to type a URL in the Omnibox, Chrome suggests this underscore-containing URL, and then you could either hit Tab or Enter to complete the action.
If you chose to press Tab, you can enter a search term to query that website—great! However, if you decide to hit Enter, Chrome tries to look up that website’s IP address; when the DNS probe can’t find anything, you get an error stating, “This site can’t be reached.”
Unfortunately, there’s no rhyme or reason as to why this bug affects only certain URLs, but here’s an easy fix that only takes a minute or two.