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

Re-write Rules for menu bar items

Quote Reply
Re-write Rules for menu bar items
Wondering if there is/are re-write rule(s) to put in .htaccess to show the following link:
http://www.mydomain.com/modify.cgi
instead of
http://www.mydomain.com/cgi-bin/links/modify.cgi

Same for "jump", "user", "add", "search","newsletter" ...etc.

Site is running in dynamic... but wants it to look static to people and search engines:

I have the following .htaccess so far.

Code:
RewriteEngine On
RewriteRule (.*)\.css $1.css [L]
RewriteRule ^images/(.*) images/$1 [L]
RewriteRule ^AddImages/(.*) AddImages/$1 [L]
RewriteRule ^Images/(.*) Images/$1 [L]

# Page Builder Pages
RewriteRule ^corp/(.*).php /cgi-bin/links/page.cgi?page=$1 [L]

# All other pages
RewriteRule ^info/(.*) /cgi-bin/links/page.cgi?p=$1 [L]
RewriteRule ^(.*).php /cgi-bin/links/page.cgi?g=$1.php [L]
RewriteRule ^/?$ /cgi-bin/links/page.cgi [L]
RewriteRule ^$ /cgi-bin/links/page.cgi [L]


Thank you again...
Mark
Subject Author Views Date
Thread Re-write Rules for menu bar items Mark2 8236 Sep 24, 2008, 12:22 PM
Thread Re: [Mark2] Re-write Rules for menu bar items
Andy 8111 Sep 24, 2008, 12:28 PM
Thread Re: [Andy] Re-write Rules for menu bar items
Mark2 8075 Sep 24, 2008, 1:23 PM
Thread Re: [Mark2] Re-write Rules for menu bar items
Andy 8080 Sep 24, 2008, 11:47 PM
Thread Re: [Andy] Re-write Rules for menu bar items
Mark2 8085 Sep 25, 2008, 8:19 AM
Thread Re: [Mark2] Re-write Rules for menu bar items
Andy 8082 Sep 25, 2008, 8:22 AM
Thread Re: [Andy] Re-write Rules for menu bar items
Mark2 8045 Sep 25, 2008, 9:13 AM
Thread Re: [Mark2] Re-write Rules for menu bar items
Andy 8056 Sep 25, 2008, 9:24 AM
Thread Re: [Andy] Re-write Rules for menu bar items
Mark2 8039 Sep 25, 2008, 10:20 AM
Thread Re: [Mark2] Re-write Rules for menu bar items
Andy 8074 Sep 25, 2008, 10:26 AM
Post Re: [Andy] Re-write Rules for menu bar items
Mark2 8071 Sep 25, 2008, 12:32 PM
Thread Re: [Andy] Re-write Rules for menu bar items
Mark2 8012 Sep 27, 2008, 2:01 PM
Thread Re: [Mark2] Re-write Rules for menu bar items
Andy 8026 Sep 28, 2008, 12:22 AM
Thread Re: [Andy] Re-write Rules for menu bar items
Mark2 8015 Sep 28, 2008, 11:27 AM
Thread Re: [Mark2] Re-write Rules for menu bar items
Andy 8004 Sep 28, 2008, 12:48 PM
Post Re: [Andy] Re-write Rules for menu bar items
Mark2 7981 Sep 28, 2008, 3:00 PM