Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    Your search never appears to return any results, BTW. So you might work on that first, as it may be a problem with the parameters themselves. Looks nice though.

    As far as the rewrite, well, I’d need to know how it’s actually passing the search to google and getting results. Careless rewriting might break it.

    I planned on implementing my own custom search too, actually, so I might have more info for you later.

    Thread Starter jefgodesky

    (@jefgodesky)

    I’m not sure what you mean about it not returning results. Comes up under every OS/browser combination I can think of….

    As for how it’s passing the parameters, they’re all right there in the URL:

    ‘cx=’ is the designation for my CSE
    ‘sa=’ is worthless, just the value of the submit button
    ‘cof=’ specifies where to put the ads
    ‘q=’ is the query

    So the rewrite is pretty simple; it’s just translating /search/X into
    /search?cx=A&cof=B&q=X

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    “I’m not sure what you mean about it not returning results. Comes up under every OS/browser combination I can think of….

    I figured out what was happening. AdBlock with Filterset.G blocks the results frame. This could be a problem for Google Custom Searches, since AdBlock with Filterset.G is extremely commonly used. Although Filterset.G may get an update to take care of it, probably.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Page Rewrite Rule for a CGI Parameter’ is closed to new replies.