Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Dynamic or Static???

Quote Reply
Dynamic or Static???
I am wondering what everyone one is going to go for, dynamic or static pages or a mixture.

So far my site, which is all forums, is completly dynamic using php/mysql and having links hitting mysql heavily as well would probably not be such a great idea, still it looks like it would be easier to use a dynamic system than not. What does everyone else here plan on doing?

I am also wondering if there is a way to include php parsed code on every page as a header or footer? is there a way to do this in the cgi generated pages? (i know it is easy in the static ones). I have php running as an apache module as oppossed to as a cgi if that makes a difference.

http://www.ASciFi.com/ - The Science Fiction Portal
Quote Reply
Re: Dynamic or Static??? In reply to
Personally....

I'll be using Links SQL in static mode. The main reason I'll be doing this is because I have had great success with most major search engines picking up every single page of my site. I'm quite certain that most of the engines pass right over cgi links, yet follow html links. They also seem to like 'fresh' sites, with recent creation dates on all the pages. Links helps with that too, rebuilding at least once every day or so.

At least thats my 2 cents worth...

AlexJ

Quote Reply
Re: Dynamic or Static??? In reply to
true but i guess it would be possible to make a server re-write to display them as normal pages. There is something like that avaliable for vbulletin so you type in http://www.domain.com/forums/1123/ and it actually displays http://www.domain.com/forums/thread.php?id=1123 which then gets indexed by search engines. Not sure if this could be easily done or not for links - i just don't know.

http://www.ASciFi.com/ - The Science Fiction Portal
Quote Reply
Re: Dynamic or Static??? In reply to
Now I would be interested in that.... :)

AlexJ

Quote Reply
Re: Dynamic or Static??? In reply to
Should be very easy with mod_rewrite:

RewriteRule /links/pages/(.+) /cgi-bin/links/page.cgi?g=$1 [L]

would do the trick. So when a user goes to

http://yoursite.com/links/pages/Computers/index.html

that get's rewritten to:

http://yoursite.com/cgi-bin/links/page.cgi?g=Computers/index.html

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Dynamic or Static??? In reply to
Thanks for the tip! I will definately have to give it a try...

AlexJ

Quote Reply
Re: Dynamic or Static??? In reply to
I love the rewrite rules! Once you start using them, it's really easy to get carried away!! My web server has _NO_IDEA_ any more what my physical server looks like. In some ways, that's a "good" thing. But, if you aren't careful, it's easy to make the site so complicated you start ending up with security errors.

One of the things I have planned in the FAQ is a list of good rewrite rules to help people get started off.



PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://LinkSQL.com/FAQ


Quote Reply
Re: Dynamic or Static??? In reply to
LOL......I know what you mean.

Is it possible to totally cloak the real URL so it never appears?

I have also just spent a bit of time editing my 404, 500, 403 and other error pages as it makes it so less frustrating when you see a nice error rather than the standard 500.

Paul Wilson.
new - http://www.wiredon.net