Gossamer Forum
Quote Reply
Rewrite URLs
Hi!

Is there a possibility to do something similar with .htaccess file, as is the case with GForum, to get a "more normal" URLs in the following case:

<%config.db_cgi_url%>/search.cgi?query=abcdefg

in:

<%config.build_root_url%>/newfolder/abcdefg/ or <%config.build_root_url%>/newfolder/abcdefg.html (perhaps even better)

only in those cases where there is a search result (which means not to make a URL if there is no result for search term) while at the same time retain the current page structure including title, description, navigation, etc.?

Two more things:

1.) In case of "<%config.db_cgi_url%>/search.cgi?query=abc d efg" make "<%config.build_root_url%>/newfolder/abc-d-efg/" or "<%config.build_root_url%>/newfolder/abc-d-efg.html" to avoid empty fields (in fact the same applies to everything that is not a-z and 0-9 and if possible all lowercase).

2.) Could it be all together now displayed as a list, let us say "25 recent searches", "25 recent tags" or similar on a new page?

Thank you in advance.

Last edited by:

katakombe: May 14, 2010, 8:47 AM
Subject Author Views Date
Thread Rewrite URLs katakombe 5718 May 14, 2010, 8:16 AM
Thread Re: [katakombe] Rewrite URLs
Andy 5564 May 14, 2010, 8:45 AM
Thread Re: [Andy] Rewrite URLs
katakombe 5549 May 14, 2010, 8:54 AM
Thread Re: [katakombe] Rewrite URLs
Andy 5566 May 14, 2010, 9:05 AM
Post Re: [Andy] Rewrite URLs
katakombe 5502 May 15, 2010, 12:51 AM