Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

How to remove index.html from links

Quote Reply
How to remove index.html from links
I have my directory build_index as index.php, so every category link is /categoryname/index.php

I just want it to link to /categoryname/

any idea's?

Where is that edited for %category% and %title_linked% ?
Quote Reply
Re: [kzap] How to remove index.html from links In reply to
Did you change the build_extension ?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] How to remove index.html from links In reply to
Yes i changed it to .php but the build_extension is for the static pages correct? I just want to change the format of the category links so they don't have a index.whatever in them
Quote Reply
Re: [kzap] How to remove index.html from links In reply to
Yeah, its for the static pages, but its also used in dynamic mode. Try changing it, and you should see what i mean.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] How to remove index.html from links In reply to
I use static pages for my links

Anyway I did change it around and all it does it change the link to /categoryname/index.whatever

I dont see how it can change it to /categoryname/ only
Quote Reply
Re: [kzap] How to remove index.html from links In reply to
You could do it with a global, but that would add more processing power each time you did a build. Do you really need it to do this?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] How to remove index.html from links In reply to
Yes =)

actually I was looking for a more internal way to do it, what function would i edit to remove the index.html link from category urls
Quote Reply
Re: [kzap] How to remove index.html from links In reply to
Actually, thinking about it, if you remove the index.html bit, then when you click the category, it won't know which category to call :(

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [kzap] How to remove index.html from links In reply to
Have a look at the following post:
http://www.gossamer-threads.com/...i?post=229800#229800

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] How to remove index.html from links In reply to
Thanks!

This was exactly what I was looking for. :)