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

Diable all static pages & urls?

Quote Reply
Diable all static pages & urls?
Hi,

I'm trying to do something that seems like it should be so simple -- yet I'm having a hell of a time doing it! Pirate I want to make is so all references to static pages are diabled.

For example:

When you use the url:

Code:
http://www.mysite.com/cgi-bin/links/page.cgi?g=&d=1

all of the urls in LINKS (categories etc) are built properly as dynamic links. But when you put in the URL:

Code:
http://www.mysite.com/cgi-bin/links/page.cgi

All the urls are built using the static paths set up in build_root_url.

How can I diable this!!??

I want all the links to always build as dynamic links.

Thanks!

Mike

Quote Reply
Re: [Swaylock] Diable all static pages & urls? In reply to
Hi,

Basically, your best bet would probably be to define "d => 1" in the Setup > Build Options, so that d always = 1 ("dynamic").

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!
Quote Reply
Re: [Andy] Diable all static pages & urls? In reply to
Thanks Andy,

I was able to do it using apache mod rewrite in an .htaccess file.

I followed all the info given in this thread.

http://gossamer-threads.com/perl/gforum/gforum.cgi?post=279396;

Thanks for your help anyway!!!

Mike