Forum Moderators: martinibuster
I'm trying to decide which method to use for passing the variables: GET, which if I understand puts the variable values in the URLs, or POST, which does not. Either way, I expect that each page will have a unique URL. However, I do not plan for all pages to have text or image links; many of them will appear only after POSTing a form. My concern is that Google will not be able to spider it; is just posting an ad on such a page enough for Google to grab its content?
Does it make any difference which variable passing method I use for Adsense compatibility? I don't want to build the whole site and then end up with nothing but PSAs.
Thanks.
I don't know if GET or POST akes a difference. If the bot is using page content, then logically it shouldn't. I have a dynamically generated summary page that lists the articles, and clicking on each one is passed through the querystring EG
summary.asp?search=346
I would prefer POST over GET, if this creates a new URL for the page. But avoid session ids or any other ids in the URL if possible. AFAIK Google doesn't spider any URL with id= in it.
The shorter the URL is the better.
If you use GET: index.php?xy=1 and index.php?xy=2 are clearly seen as different pages. But don't take too many parameters with you.
[webmasterworld.com...]
Specifically:
edposts.cgi?action=reply&forum=89&discussion=13791
What comes after the? is the GET query. These Google can follow. When you POST to a form, the query is not located in the URL, but POSTed to the script/page in question.
You should not use passwords or other sensitive data in the GET query string.