Blog
Developers
Careers
Support
Contact
Gossamer Threads
Solutions
Results
About
Mailing Lists
Resource Centre
Forum
Tools
Home
Who's Online
Tags
Favourites
Login
Forum Search
(
Advanced Search
)
This forum
This category
All forums
for
Home
:
Products
:
Gossamer Links
:
Version 1.x
:
Change filename extension
Previous Thread
Next Thread
Print Thread
View Threaded
Jan 2, 2000, 5:24 AM
abeaton
User
(77 posts)
Jan 2, 2000, 5:24 AM
Post #1 of 4
Views: 2377
Shortcut
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
Jan 2, 2000, 5:40 AM
pugdog
Veteran
/ Moderator
(6956 posts)
Jan 2, 2000, 5:40 AM
Post #2 of 4
Views: 2308
Shortcut
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/
Jan 2, 2000, 5:52 AM
abeaton
User
(77 posts)
Jan 2, 2000, 5:52 AM
Post #3 of 4
Views: 2279
Shortcut
Re: Change filename extension
In reply to
I changed the extension, but it is still building .html pages.
Why?
Jan 2, 2000, 6:26 AM
Peter D
Novice
(5 posts)
Jan 2, 2000, 6:26 AM
Post #4 of 4
Views: 2278
Shortcut
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
Previous Thread
Next Thread
Print Thread
View Threaded