Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Adding Forum Pages to google

Quote Reply
Adding Forum Pages to google
Hello

I wanted to ask: how do I add the forum I have using gossamer-thread forum to google
I try to submit a url like:
http://www.soccerluck.com/gforum.cgi?forum=2;guest=201
to google's submission page

but I am not sure it works,

please let me know how it can be done (maybe you can write a plugin for that)

thanks
Mordechay
Quote Reply
Re: [tamord] Adding Forum Pages to google In reply to
Hi,

Have you tried the "search_engine" templates, with mod_rewrite?

It lets you convert the gforum.cgi URL's to stuff like:

http://www.gossamer-threads.com/forum/Gossamer_Threads_Inc._C6/Official_Bug_Fixes_F29/

(which is better for google)

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 (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Adding Forum Pages to google In reply to
Hello

Thanks but can you explain how do I do that, step by step.

Thanks,
Mordechay
Quote Reply
Re: [tamord] Adding Forum Pages to google In reply to
Hi,

Sure. Before I write up a list of instructions - we need to make sure you can use mod_rewrite first =)

If you can make a new file, called .htaccess , with the following content in it:

Code:
RewriteEngine On
RewriteRule ^xxxxxxxx$ http://www.google.com [R]

Put this in the www folder (public_html, or whatever your server calls that folder)

After that, then goto:

http://www.yoursite.com/xxxxxxxx , and see if you are redirected to google? IF so, thats ok - and I can provide you with some rewrite rules to do the magic :)

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 (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Adding Forum Pages to google In reply to
i made .htaccess file with:
--
RewriteEngine On
RewriteRule ^xxxxxxxx$ http://www.google.com [R]
--

and put it in a folder called /temp

www.soccerluck.com/temp gives

me http://www.soccerluck.com/temp/

that's because I don't have index file there.

Mordechay
Quote Reply
Re: [tamord] Adding Forum Pages to google In reply to
Ok cool, that looks good then:

http://www.soccerluck.com/temp/xxxxxxxx

Here is the mod_rewrite you should need:

Code:
RewriteRule ^/$ /cgi-bin/gforum/gforum.cgi?t=search_engine [L,PT]
RewriteRule ^/forum/.*P([0-9]+)/?$ /cgi-bin/gforum/gforum.cgi?post=$1&t=search_engine [L,PT]
RewriteRule ^/forum/.*P([0-9]+)-([0-9]+)/?$ /cgi-bin/gforum/gforum.cgi?post=$1&page=$2&t=search_engine [L,PT]
RewriteRule ^/forum/.*C([0-9]+)/?$ /cgi-bin/gforum/gforum.cgi?category=$1&t=search_engine [L,PT]
RewriteRule ^/forum/.*F([0-9]+)/?$ /cgi-bin/gforum/gforum.cgi?forum=$1&t=search_engine [L,PT]
RewriteRule ^/forum/.*F([0-9]+)-([0-9]+)/?$ /cgi-bin/gforum/gforum.cgi?forum=$1&page=$2&t=search_engine [L,PT]
RewriteRule ^/forum/?$ /cgi-bin/gforum/gforum.cgi?t=search_engine [L,PT]
RewriteRule ^/forum/.*gforum.cgi /cgi-bin/gforum/gforum.cgi?%{QUERY_STRING} [R,NE,L]
RewriteRule ^/gforum.cgi /cgi-bin/gforum/gforum.cgi?%{QUERY_STRING} [R,NE,L]

(if you want the forum at root level, put it in the root folder - otherwise make a folder called "forum", and put the .htaccess file in there)

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 (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates