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:
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:
Hope that helps.
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!
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.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!