Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

How to have links with .shtml appended?

Quote Reply
How to have links with .shtml appended?
Hi, currently when I run a nph-build.cgi (or build pages via the web interface) for Links 2 on Linux, all the directory URL's are as http://www.domainname.com/Games/" as an example.

What I'd like to do is have the URL as http://www.domainname.com/Games/index.shtml"

Please note the addition of index.shtml to all the directory URL's

Is there any way I can do this for all the URL's that Links sets up? (main categories URL, sub-cats etc.) ??

Any help would be appreciated very much, Regards,
Quote Reply
Re: [svr] How to have links with .shtml appended? In reply to
Find the following settings in links.cfg and configure them:

# The name of an index file.
$build_index = "index.html";
# The extension to use for non index files:
$build_extension = ".html";