Forum Moderators: open
[webmasterworld.com...]
Google managed to index all my 2300 pages using
www,mysite.com/page.php?tag=4574
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.
Using /page.php?tag=hgy674try47
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.
domain.com/dir/mypagephp?this=182
or
domain.com/dir/mypage.php?this=182&that=view
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!
mydomain.com/news.php?article=EpZppVyyZlbkBxcoxT
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:
mydomain.com/news2.php/article/EpZppVyyZlbkBxcoxT
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:
mydomain.com/news.php?article=EpZppVyyZlbkBxcoxT
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:
mydomain.com/news.php?article=EpZppVyyZlbkBxcoxT
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. :)
best wishes,
GG
$newsid = $CurrentTime;
$newsid =~ tr/0123456789/pEkFuVyZlA/;
$newsid .= RandomWord(8);
What could I change to fix this? Thanks.