Hi,
You could use mod_rewrite.
1) Add a .htaccess file to your links folder (i.e /www/links/) Put the following code in it:
Code:
RewriteEngine On
RewriteRule ^jump/([0-9]+).html$ /cgi-bin/links/jump.cgi?ID=$1 [L]
This should then make the URL format:
http://www.yourdomain.com/links/jump/123.html ... goto http://www.yourdomain.com/cgi-bin/links/jump.cgi?ID=123
2) Assuming that works, then you just need to change your link.html template, so that it uses:
Code:
<a class="link" href="<%db_cgi_url%>/jump.cgi?ID=<%ID%>"><%Title%></a>
Code:
<a class="link" href="<%build_root_url%>/jump/<%ID%>.html"><%Title%></a>
Hope that helps.
Cheers
Andy (mod)
andy@ultranerds.com
Want to give me something back for my help? Please see my
Amazon Wish List GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500) Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin |
Pre-Made Template Sets |
FREE GLinks Plugins! Custom Toolbar for IE and Firefox! -
Compare our different Plugin packages *new*
Free CSS Templates