devxlogo

Customize the Index Server Results Page

Don’t like that plain search results page that comes up when using index server, when the rest of your site looks so nice? The results page is a file with the extension “.htx” (by default search.asp0.htx for ASP sites, or search.htm0.htx for HTML sites). This file is really just HTML code, with server scripting to load the results data (see Tip: “Locating the Results Page in Index Server”). Therefore, you can change it as you see fit to more readily look like the rest of your site. However, if you take the default location for this file (usually the /_derived/ subdirectory) and begin to include or paste in your HTML code, beware! Since you are in a subdirectory, your references to graphics or include files may be off (for example, “imagesmenu_graphic.gif” won’t exist in that location). You must resolve your paths either with server variables for the application path or include the full reference on them. Better yet, you can simply put this HTX file in with your other ASP pages and not worry about the references since it will be the same.

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

See also  Seven Service Boundary Mistakes That Create Technical Debt

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.