Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: open
Google managed to index all my 2300 pages using
Php is the best for being indexed and as long as you keep it to 1 and the content of the string is clean then you should have no problem.
where the content has letters and numbers this would have come from a session and Google does not follow sessions.
Keep it short and clean :)
Possibly, but probably not, since it looks so much like a session id.
It is common practice amongst many websites to use unique identifiers such as those generated by PHP's uniqid [uk.php.net] function to refer to database content.
Google says they have about 29,800 of these from my domain cached... if they decided not to index those, I doubt I would quit using PHP anyway, because I sure don't want to hack out 30,000 pages just for Google to look at without a db to help!
However, the characters after article= are random (but always the same length). All of the links are from my main page, which is PR 6.
The links use to look like:
however, I had to change this because of some problems (I had on my end) and google indexed those url's great! However, I changed them back to this format:
and made a 301 redirect within news2.php so they redirect to mydomain.com/news.php?article=EpZppVyyZlbkBxcoxT instead.
I've looked at logs and googlebot is detectin the 301 redirect. I have also tried it myself (looking at the server headers when requesting the old: mydomain.com/news2.php/article/ links and it has the redirect to the new location: mydomain.com/news.php?article= and it shows a 301)
However, google still isn't following the 301's and google has yet indexed or even "been on" a url that looks like:
It has been close to a month now, since I have changed it. Any ideas?
dynamic links only SHOW pr if their parent page have any, i.e., page.asp should have PR then only will it show. You can link page.asp on all your pages somewhere and next update will bring it a PR. But this does not mean your dynamic link does not have any PR .. it might be having a PR but it only shows if the parent page has any.
18 random letters will look an awful lot like a session ID to a search engine spider. :)
$newsid = $CurrentTime;
$newsid =~ tr/0123456789/pEkFuVyZlA/;
$newsid .= RandomWord(8);
What could I change to fix this? Thanks.
now, newsid equals the unix timestamp. This makes it 9 characters long. Do you think that is short enough for google to index it, and not "think" its a session id?
I posted a new news article on my site and within a couple mins, I saw googlebot grab it! Looks like that will do it!
Thanks for all of your help guys/gals.
Now that googlebot see's the articles, I will be in news.google.com :P w00t