Note: You are viewing the documentation for Version 4View Version 3 Docs

HTTP Basic Authentication

SearchWP’s default indexing process is built upon a process that runs in the background on your server. It works by making sequential HTTP requests to itself (loopback connections) which in turn causes the indexer to build its index.

If your server has implemented HTTP Basic Authentication, you will need to provide the login information to SearchWP in order for the indexer to operate successfully. If SearchWP’s indexer cannot function due to HTTP Basic Authentication you will see this notice on the Engines tab of the SearchWP settings screen:

Basic Authentication Notice

You will need to make use of the searchwp\indexer\http_basic_auth_credentials hook to pass along your HTTP Basic Authentication username and password.

Once that hook is in place, the notice will disappear and SearchWP’s indexer will operate as expected.

Fix keyword search on your site. No coding required!

Now you can utilize all of the content that's gone unrecognized by native WordPress keyword search instantly with SearchWP

Get SearchWP