instead of having the file name in each category as index.html, is there a way i can make the file name the same name as the category and lower case? this is really important for me, thanks.
Dec 29, 2001, 2:18 PM
Administrator (9387 posts)
Dec 29, 2001, 2:18 PM
Post #2 of 7
Views: 2128
Hi,
No, not easily I'm afraid. It would require some custom modifications to accomplish this.
Cheers,
Alex
--
Gossamer Threads Inc.
No, not easily I'm afraid. It would require some custom modifications to accomplish this.
Cheers,
Alex
--
Gossamer Threads Inc.
Dec 29, 2001, 2:24 PM
Veteran / Moderator (6956 posts)
Dec 29, 2001, 2:24 PM
Post #3 of 7
Views: 2120
To expand that a little, the reason is that index.html is a file that can be specified in your apache httpd.conf file. To use different files, you'd have to have a massive list, and it just wouldn't work.
The changes Alex is referring to include, but are not limited to, changing the way the linking system/parser does the file names/paths, so that it uses a full path+file name not just a trailing /, as well as the code to do the actual replacements.
I'm not sure why you would want to do that.
If you have all your files as index.html, then you could call each directory as:
http://server_name.tld/path/to/sub_category
And your server will do a translation to add the /index.html to the end of the string automatically (this is standard http behavior, and actually has to be overridden to change)
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.
The changes Alex is referring to include, but are not limited to, changing the way the linking system/parser does the file names/paths, so that it uses a full path+file name not just a trailing /, as well as the code to do the actual replacements.
I'm not sure why you would want to do that.
If you have all your files as index.html, then you could call each directory as:
http://server_name.tld/path/to/sub_category
And your server will do a translation to add the /index.html to the end of the string automatically (this is standard http behavior, and actually has to be overridden to change)
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.
Dec 29, 2001, 3:22 PM
Administrator (9387 posts)
Dec 29, 2001, 3:22 PM
Post #5 of 7
Views: 2121
Well you can have:
Category1/category.html
Category2/category.html
But you can't have the file name based off the category name. It must be the same for all categories.
Cheers,
Alex
--
Gossamer Threads Inc.
Category1/category.html
Category2/category.html
But you can't have the file name based off the category name. It must be the same for all categories.
Cheers,
Alex
--
Gossamer Threads Inc.