All,Ever wonder why when calling fatbomb you had to always put the extra "/" before the "?" mark like:
fatbomb.cgi/?keywords=atlanta
If you don't do this, your request gets redirected to your fatbomb.cgi index page.
I got used to this quickly and adjusted my skins and I though all was well.
Recently I noticed that in my server logs that altavista and yahoo were referring surfers to the following types of addresses:
www.bonose.com/fatbomb/fatbomb.cgi?keywords=atlanta
instead of
www.bonose.com/fatbomb/fatbomb.cgi/?keywords=atlanta
This caused everyone to go to the index page which was not desired.
Well, I finally sat down and figured out a fix for this. If you want it, it is very easy to make. Here are the instructions:
Edit the file: fatbomb_install_dir/lib/Gamma/Script.pm
Line 30 by default should look like:
$path .= 'default' if $path =~/\/$/;
Add an extra line following it as line 31:
$path .= '/default' if $path =~/^$/;
Now you should have the following:
Line 30: $path .= 'default' if $path =~/\/$/;
Line 31: $path .= '/default' if $path =~/^$/;
This seems to fix the problem for me. Hopefully, I'll start seeing a few more PPC conversions on these searches.
Take care,
Bo
Bo,I might doing something wrong - as always, lol - but on the bottom of the results page, there's the links to next pages:
More: « Previous <1> <2> <3> <4> <5> Next »
After changing the Script.pm file as you recommended, I noticed that the links do not show up correctly:
ht-tp://my_bomb_site_com/cgi-bin/fatbomb/?skin=&keywords=las%20vegas&start=20&length=20
There supposed to be "fatbomb.cgi" after the directory "fatbomb", but missing.
Again, I might doing something wrong, but any suggestions greatly appreciated.
Thanks much,
I just found the answer here:http://www.dombom.com/dcforum/DCForumID24/21.html
Chris (Poker) posted this:
Quote
Look in the "deafult-results.html" at the very end it should look like this:{% else %}
<a href="/cgi-bin/fatbomb/fatbomb.cgi/?skin={% form.skin as url %}. . . . . . .]</a>{% end %}
Obviously replace /cgi-bin/fatbomb/fatbomb.cgi with the path to your file. And remember I put the "curly brackets" in above for the forum. They are really square brackets.
so I believe, if anybody here wants to use Bo's modification, should use:
{% else %}
<a href="/cgi-bin/fatbomb/fatbomb.cgi?skin={% form.skin as url %}. . . . . . .]</a>{% end %}
just remove forward slash after "fatbomb.cgi".
Correct me if I'm wrong, and thanks much for reading this!