Forum Moderators: open
The main page is a list of items showing only part of the text of each item. A link leads to the full text of the item, like this:
index.php leading to item.php?item=107150141804760623
One of the problems was that the main page was too large for GG (more than 100k) so I reduced it to 20 item.
Didn't help.
Then I read here somewhere about site map pages.
Added a page called site_map.php?begin=1 showing 50 items on each page.
GG found the pages, indexed them but didn't index the items.
Then a friend suggested a trick. He said that maybe GG is "afraid" of cgi parameters so maybe I should send the item number differently, like this:
item.php/107150141804760623
and it works!
GG thinks that item.php is a name of a directory and that 107150141804760623 is also a name of directory so it thinks it is indexing a directory and not a page with a parameter.
Thank you Roman K.
Hope that you all here will find this information useful.
Hanan
Congrats on the good work!
Could any of you in the know of using PATH_INFO and mod_rewrite, provide any comments over here [webmasterworld.com]?
not hijacking, just looking for some help!
That is simply cool!
I have a forum on my site that Google seems to eat up well. It uses URL's like php?tid=8278. However, I may soon be forced to change to a forum that uses those horribly long sid#'s
Where would I place your PHP code?
Whay you are actually saying is that the problem is not with GCI parameters per-se but with long values? It makes sense because I have another site that's crawled quite nicely while have URL's like:
static.asp?apd=27&scd=143&pd=284
And another thing. What I have shown here is a trick/workaround, meaning that maybe, in the future, when it gets too popular, Google might decide to detect it and then we are back to square one.
Isn't it so?
Or maybe we can rely on Google to look up the valid Blogger ID's and know they are Kosher?
To antrat:
The code is placed at the top of the file, where it has to decide on what dynamic value to act upon.