Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [webones] Questions on Links

Quote Reply
Re: [webones] Questions on Links In reply to
Hi,

Quote:
1. Could anyone let me know please if it is possible to change the separator in the url that Links 3+ uses?

AFAIK, you can't. To be honest, I wouldn't recommend it anyway, as Google penalize you for using - instead of _.

Quote:
2. Does anyone have a rewrite to remove the .html extension from all the pages in Links 3?

You would just do it via a global (call it: stripindeexhtml).

Code:
sub {
my $tmp = $_[0];
$tmp =~ s|\Qindex.html||sg;
return $tmp;
}

If doing it in subcategory.html, you would need to call it like:

<%stripindeexhtml($URL)%>

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!
Subject Author Views Date
Thread Questions on Links webones 2751 Apr 3, 2008, 12:07 AM
Thread Re: [webones] Questions on Links
Andy 2695 Apr 3, 2008, 1:18 AM
Thread Re: [Andy] Questions on Links
Clint 2675 Apr 3, 2008, 2:08 AM
Thread Re: [Clint] Questions on Links
Andy 2696 Apr 3, 2008, 2:14 AM
Thread Re: [Andy] Questions on Links
webones 2681 Apr 3, 2008, 8:12 AM
Post Re: [webones] Questions on Links
Andy 2692 Apr 3, 2008, 8:15 AM