Altered URL from "other" search engines


#1

Clients who find our site, via odd search engines, e.g. insightbb.com can end up with a URL string that is all goofed up. It is not possible to refresh a page if you have this string, because it takes you back to their version of Google.

My issue is my shopping cart. It is written in PHP, and the information is stored in sessions. For some clients this simply does not work.

Does anyone know of a way to clean up the URL so that only my site is listed after arriving at my site?

If you don’t understand my issue, go to insightbb.com search of any item at all. When the Google page comes up, click any listing, and check out the URL. Then try to refresh the page.

Any help at all is appreciated,

Jeff
www.walltowallstencils.com


#2

I think the problem you are talking about is that the insightbb.com web page is generating a FRAMESET for search results. This causes the browser location to stay at the search results URL, and when clicking on a search result, your site is loaded into a FRAME instead of replacing the FRAMESET. Thus when you click on the “Reload/Refresh” buttons you are reloading the FRAMESET, taking you back to the search results in the FRAME. (In Firefox/Mozilla you can right-click and select This Frame -> Reload Frame to reload just the FRAME).

One can use JavaScript to “break out of frames”:

[code] [/code]

:cool: Perl / MySQL / HTML+CSS


#3

Thank you for the advice, but that did not do it.

Here is a partial example of a URL that is giving me problems.

http://www.insightbb.com/external/search.asp?q=laser+stencils+grass&url=http://www.google.com/search.

This URL is the result after coming to my sight, and moving around through several pages.

Do you or anyone else have any other ideas?

Jeff
www.walltowallstencils.com


#4

http://www.insightbb.com/external/search.asp?q=laser stencils grass&url=http://www.google.com/search.

This URL means "run a script on www.insightbb.com that returns a FRAMESET that shows the results of a Google search for “laser stencils grass”

The problem is that links that are shown on web pages within a FRAMESET can never replace the FRAMESET unless you use JavaScript to do so. So no matter what links you click on, the browser will always think you are looking at “a script on www.insightbb.com that returns a FRAMESET that shows the results of a Google search for “laser stencils grass”” and so clicking reload/refresh will show you exactly that. Not even a server redirect would help, this is a client side problem.

Sorry, I am not sure how this problem would affect sessions, unless you are storing the session id in a URL and the session id is lost somehow when they have to traverse the search results again after clicking on “Reload/Refresh” ??

Edit:

Here is a testcase, if you have JavaScript enabled:

  1. Go to http://www.insightbb.com/
  2. Type “OpenVein Directory” in the Google search box and click the button
  3. The Google results should show “OpenVein Directory. The OpenVein Directory is now up and running, however not” as one of the first
  4. Click on that listing
  5. Notice that the URL in the browser bar has changed

And yeah, obviously if your visitors don’t have JavaScript enabled they are stuck in the FRAMESET unless they cut & paste your URL in to the location bar

:cool: Perl / MySQL / HTML CSS


#5

And here is what the HTML spec says:

Basically this means that when you search using insightbb.com, they are putting a “subwindow” into the “window” and the search results are being shown in the “subwindow”. Clicking on a link in the “subwindow” replaces the document in the “subwindow”, but it does not replace the document in the “window”. That is why the URL the browser’s location bar will remain at http://www.insightbb.com/external/search.asp - because its showing the document in the “window” (the FRAMESET) not the “subwindow” (the google results, or your site if you click on a result, etc)

Or think of it this way. You’re expecting visitors to only see your site. However, when they use those search engines, they are actually seeing the search site on the “outside” and your site on the “inside”. Clicking a link of an “inside” page will only make another page “inside” instead; the “outside” doesn’t change. However, when you bookmark the “outside” (copy the URL), it has an “inside” starting point - and for the URL you posted, this starting point is the Google search results.

:cool: Perl / MySQL / HTML CSS


#6

My question is: do you actually have A LOT of clients coming from this insightbb.com thing? (Who on earth would use this god-knows-who so-called “search engine” which simply framed Google results?) Moi? I would simply forget it, isn’t worth even the time and effort to deal with.


DreamRegistrar.com - Register your own domain with DreamHost for just $14.95 now