Searching from the address box
Moderators: Tyler, Scott, PWB v2 Moderator
Searching from the address box
When using IE 7, a user can type, for example, "rentals" in the address box and no site being found, a search on rentals will be done in Google. Is there a way to duplicate this behavior in PWB v. 2.10?
We could add the functionality into PWB v2.10.8.
Currently you can only redirect to another page using the HTML error redirect, but this only redirects and does not search.
[HTMLError]
404=http://www.google.com
PWB v2.10.7 includes a search bar. Add the following to the PWB INI file to enable it.
ShowSearchBar=True
SearchBarText=Search
SearchBarPage=http://www.google.com/search?q=%SEARCH%
--Scott
Currently you can only redirect to another page using the HTML error redirect, but this only redirects and does not search.
[HTMLError]
404=http://www.google.com
PWB v2.10.7 includes a search bar. Add the following to the PWB INI file to enable it.
ShowSearchBar=True
SearchBarText=Search
SearchBarPage=http://www.google.com/search?q=%SEARCH%
--Scott
In PWB v2.10.8 the following has been changed.
Changed [HTMLError] codes to include %SEARCH% macro.
Example:
[HTMLError]
2148270085=http://www.google.com/search?q=%SEARCH%
Using the above example, when a URL typed in is not found, PWB will b redirected to the URL and the %SEARCH% will be replaced by what was typed into the Address box without the leading HTTP:// if typed in.
--Scott
Changed [HTMLError] codes to include %SEARCH% macro.
Example:
[HTMLError]
2148270085=http://www.google.com/search?q=%SEARCH%
Using the above example, when a URL typed in is not found, PWB will b redirected to the URL and the %SEARCH% will be replaced by what was typed into the Address box without the leading HTTP:// if typed in.
--Scott
Related HRESULT nagivation error status codes can be found here.
http://msdn.microsoft.com/en-us/library/aa768365.aspx
--Scott
http://msdn.microsoft.com/en-us/library/aa768365.aspx
--Scott