Forum Moderators: open

Message Too Old, No Replies

Dropping button value from GET in Form

How to eliminate an irritant

         

dotme

7:32 pm on Nov 30, 2004 (gmt 0)

10+ Year Member



No matter how much I do this, there's always something new to learn. I redesigned a site last week for a friend. Replaced the standard browser submit button with a graphic.

But the search results page is one that I want a viewer to be able to add to favorites, and also spiders to crawl. So I use "GET" on the search form, so the item value appears in the URL on the results page.

Now that I've converted to an image for the button, I also get coordinates...

results.asp?search=widget&I3.x=56&I3.y=9

The Submit image is responsible for the I3.x=56&I3.y=9

Those are extra variables I don't need on that results page, and makes the page URL look to spiders like it has too many variables and might not be indexed.

Does anyone know if this is this something that can be disabled, or am I stuck with it?

Thanks in advance for advice and opinions.

JD

mattglet

10:12 pm on Nov 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



spiders can crawl GET forms?

(not sarcastic, real question)

Xoc

4:22 am on Dec 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Basic answer is no. They can handle the URL with the querystring produced by a GET, but they won't submit the form that generates the request. Unless you have an alternate page that has <a> tags on them with the same URL, the spider isn't going to follow to the generated pages.

dotme

7:10 pm on Dec 1, 2004 (gmt 0)

10+ Year Member



Oh, of course! I don't know why I thought that a spider would submit a form... must be the product of a brain on overload lol.

It would still be nice to not have the form post the coordinates of the click on the submit image just for looks, but I can live with it.

Thanks for the answers.