Home > Fluid Dynamics Search Engine > Help > 1136

Same title and/or description for all pages on site

On some web sites, the title or description for all pages will be the same. The search results are not very useful in these cases.

Here are three ideas for fixing this problem:

  1. Use the FDSE "Show Examples" feature. This will show an example of the search terms as they appeared in the document.

    See How to show examples of keyword matches in the search result listings for information on enabling this feature.

    This is the only effective work-around for fixing sites that you do not control. The other workarounds involve editing the source HTML of the site's pages.

  2. Most sites have this problem because they were built using templates, and the template scheme was not designed to return page-specific titles and META descriptions. You should change your template scheme to make this a priority. By having a specific title and description on each page, you will make it easier for all search engines, not just FDSE. It will also be easier for visitors to navigate your site, as the title is used in application windows, in the Back/Forward buttons, and in bookmarks.

  3. FDSE will extract a page's META description if it has one, and otherwise will extract the first few lines of text from the body.

    Assume that each page on your site is set up as follows:

    <!--#include virtual="/header.inc" -->
    <p><b>Contact Us</b></p>
    <p>Please call us at 324324332 or email at fjdskafd@xajfs...</p>
    <p>...</p>

    Once the includes are parsed in, the page looks like this:

    <html>
    <head>
    	<title>XYZ Widgets</title>
    	<meta name="description" content="Please visit us for XYZ Widgets" />
    	<meta name="keywords" content="xyz,widgets" />
    </head>
    <body>
    <p><b>Contact Us</b></p>
    <p>Please call us at 324324332 or email at fjdskafd@xajfs...</p>
    <p>...</p>

    This is a very common template setup. It will result in every document on your site having title "XYZ Widgets" and description "Please visit us for XYZ Widgets".

    A quick fix is to embed sectional robots exclusion tags in your template /header.inc, like so:

    <!-- robots content="none" --><html>
    <head>
    	<title>XYZ Widgets</title>
    	<meta name="description" content="Please visit us for XYZ Widgets" />
    	<meta name="keywords" content="xyz,widgets" />
    </head>
    <body><!-- /robots -->

    It is important to have the robots exclusion tags span all the header data, and any visible header or navigational text.

    With that one change made, the FDSE parser will skip over all of the common portions of your document. It will believe that you do not have a META description, and so it will start extracting the first few words of the document, starting with your custom data area. In the example above, it would extract description "Contact Us Please call us at...".

    The help file How to prevent sections of your pages from being indexed has more information on sectional exclusion tags.


    "Same title and/or description for all pages on site"
    http://www.xav.com/scripts/search/help/1136.html