Andy loves his rewrite rules! :)
For search engine clarity, and such, I'd use a URL like:
http://www.domain.com/info/something.html
eg:
RewriteRule ^info/(.*)\.html /cgi-bin/page.cgi?p=$1 [L]
Where "info" is your keyword. That let's you add lots of new pages, and is
a good solution for adding in "about", "Contacts", "Privacy", and other
generic, or basic information pages about your site.
If you are running in [SE friendly] dynamic mode, don't use "info" if that is one of your
top level categories, or forget to add a d=1:
RewriteRule ^info/(.*)\.html /cgi-bin/page.cgi?d=1&p=$1 [L]
And, make sure to have an index.htm(l), even if it's just a blank file.
These suggestions can work for both static, and dynamic, modes, depending
on what effects/results you are looking for.
But, as in the original question, to add real static pages, you need to
edit Build.pm, or use a plugin.
A simple routine to build "extra" static pages will be included in the
UltraWidgets Toolbox due out shortly. It will be _simple_ but a way for
you to use the template system to update content, or update headers, by
simply listing the templates you want built in a list. Nothing fancy, just
whatever page.cgi?p= would display, but written to a file.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.
For search engine clarity, and such, I'd use a URL like:
http://www.domain.com/info/something.html
eg:
RewriteRule ^info/(.*)\.html /cgi-bin/page.cgi?p=$1 [L]
Where "info" is your keyword. That let's you add lots of new pages, and is
a good solution for adding in "about", "Contacts", "Privacy", and other
generic, or basic information pages about your site.
If you are running in [SE friendly] dynamic mode, don't use "info" if that is one of your
top level categories, or forget to add a d=1:
RewriteRule ^info/(.*)\.html /cgi-bin/page.cgi?d=1&p=$1 [L]
And, make sure to have an index.htm(l), even if it's just a blank file.
These suggestions can work for both static, and dynamic, modes, depending
on what effects/results you are looking for.
But, as in the original question, to add real static pages, you need to
edit Build.pm, or use a plugin.
A simple routine to build "extra" static pages will be included in the
UltraWidgets Toolbox due out shortly. It will be _simple_ but a way for
you to use the template system to update content, or update headers, by
simply listing the templates you want built in a list. Nothing fancy, just
whatever page.cgi?p= would display, but written to a file.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.