Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Change filename extension

Quote Reply
Change filename extension
For my banner system to work the pages need to be .shtml which I can easily change in FTP, but every time I re-build the pages, it creates a .html page again, how do I change this so it can build them with a .shtml extension

Alex
Quote Reply
Re: Change filename extension In reply to
In the Links.pm file, there is an option to change the file extensions:

Code:
# The index page name.
$LINKS{build_index} = 'index.html';

# The extension used on non index pages.
$LINKS{build_extension} = '.html';


------------------
POSTCARDS.COM -- Everything Postcards on the Internet www.postcards.com
LinkSQL FAQ: www.postcards.com/FAQ/LinkSQL/







Quote Reply
Re: Change filename extension In reply to
I changed the extension, but it is still building .html pages.

Why?
Quote Reply
Re: Change filename extension In reply to
Your webserver still delivers the previously built files with .htm(l) extension. Remedy:

1. Delete the previously built category folders and rebuild the catalogue.

2. Make sure that in your webserver config you have:

DirectoryIndex index.shtml index.html

HTH,

Peter