We have several files named *.php and these files have HTML title tag.
Something like this:
---
<html>
<title>Test Document</title>
<?php echo "Test Document";?>
</html>
---
When we index these .php files and searh for "test" in this index the
filename is displayed in the results and not the title.
---
# swish-e -w "test" -f index.swish
# SWISH format 1.3
# Swish-e format 1.3
#
# Name: www
# Saved as: index.swish
..
# Number of hits: 2
1000 test.html "Test Document" 67
1000 test.php "test.php" 74
.
---
When we rename .php to .html and recreate the index the title is
displayed.
How to change this behaviour and let .php files display title tag
in search results?
Received on Thu May 30 11:53:27 2002