Forum Moderators: open
On my website I have a small javascript code that automatically snatches the last 50 threads from the forum and puts them on the front page.
I also have a seperate "archives" page with a listing of the 50 best threads from the forum. This is a static page with standard links. I'm using phpBB and my forum has over 50,000 post. The only threads on my forum that have been spidered in google are the standard links on the archives page.
So will the links generated by the javascript code also be archives? Or will I need to find a way to auto-generate these links using php or cgi?
Google doesn't read Javascript. I guess you use document.write to display those posts on the front page. You have to use php or something, as you said.
If you use phpBB there is a good reason you're not being spidered.
If you try to browse your forum with a text browser like Lynx, you will see that phpBB adds a long sessionID variable on each url, like 20 random characters. Google hates sessionID:s and probably won't spider it. For a normal browser, you wont see the sessionID as it's stored in a cookie.
Also if you have low pagerank, Google won't spider so many pages from you.
My site has a good page rank and google spiders every page I make. I have about 50 threads from the forum on an "achives" page. All direct URL's going straight to the thread.
Every single thread linked on that page has been spidered by google.
I guess i'll just have to be a little less strick in the future with which threads I add to the archives! :-)