PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

No icons for index pages

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • No icons for index pages

    Hi,

    I have set my Zoom Indexer up so that it displays icons with the search results to denote what type of file it is and this seems to work fine for docs, pdfs, ppt etc.

    However, all of my web pages are PHP and are all called 'index.php', yet do not have the icon I have specified for php files. For example:

    www.mysite.com/page1/index.php
    www.mysite.com/page2/index.php

    so basically all the links within my pages are without the final doc or doctype

    href="/page1/"
    href="/page2/"

    This is the way the CMS creates the pages and layout of the file structure.

    I cannot seem to find a way for the icons to be appended to the search results. Any help would be much appreciated.

    theUKdude

  • #2
    If your CMS is actually linking to the pages as "/page1/", "/page2/", etc., it means the spider can only be aware of the page as http://www.mysite.com/page1/ and http://www.mysite.com/page2/ - it has only found the links to these URLs, and has sent requests to the web server for these URLs, and although the web server may have returned content from "index.php", it never actually tells the spider this.

    Basically, due to the nature of the web, and the way that your CMS/website is setup, there is no way that the spider can determine that the pages at http://www.mysite.com/page1/ is in fact a PHP file.

    What you can do however, is use the ZOOMIMAGE meta tag to specify the icon you wish to display for these pages. You should be able to add the meta tag as part of your header in the CMS, so that it will appear on all your CMS pages (and thus the PHP files). See chapter 7, "Associating an image with a particular page", in the Users Guide for more information.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment

    Working...
    X