February 10, 2012, 16:18:54 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Revenue sharing launched. This is offered as a "thank you" for being a member of webmasterstalks.com community! If you have an Adsense/Yahoo publisher account then you can start right away !
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Revenue sharing launched. This is offered as a "thank you" for being a member of webmasterstalks.com community! If you have an Adsense/Yahoo publisher account then you can start right away !
Pages: [1]
  Print  
Author Topic:

SEO URLs and Googlebot Bug

 (Read 2194 times)
0 Members and 1 Guest are viewing this topic.
Our BBC
Newbie
*

Points: 0
Offline Offline

Posts: 3


WWW
« on: November 12, 2006, 11:11:01 »

I've been testing this afternoon and I think there's a problem with SEO URLs for robots.  Using Firefox I cleared all session cookies, disabled all cookies and set my user-agent to be the same as Googlebot, to emulate how it would behave.  The SEO version of the URLs are not displayed in the page, although if I click on them the browser is redirected to the SEO version.

I've tracked the problem down to function ob_sessrewrite in QueryString.php.  'if (defined('SID') && SID != '')' is true so it just does the single $buffer = preg_replace, rather than the chunk that does beautify_urls and inserts the Seo4Smf copyright.  To get around it I've taken out that last 'if' so it always does all 4 $buffer = preg_replace, but I'm not sure if that's a valid fix.
Logged


solidghost
Hero Member
*****

Points: 3
Offline Offline

Posts: 553



« Reply #1 on: November 12, 2006, 17:31:09 »

http://www.google.com/search?q=site:simpleboards.org&hl=en&lr=&start=90&sa=N

My forum, it does get indexed.
But do note that you will get a lot of supplement results, but it should get removed after a while.
Logged

Our BBC
Newbie
*

Points: 0
Offline Offline

Posts: 3


WWW
« Reply #2 on: November 12, 2006, 18:10:50 »

I've just checked you forum and it is doing the same - the links are non-SEO but when you click them they redirect to the SEO version.  The change I made to QueryString.php seems to be working ok - I've not been able to break it and Googlebot has only been following SEO links since.
Logged
solidghost
Hero Member
*****

Points: 3
Offline Offline

Posts: 553



« Reply #3 on: November 12, 2006, 21:08:15 »

Yup, I understand what you mean.
Maybe that is why it took google so long to re-index my site after I use the mod.
Logged

TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« Reply #4 on: November 13, 2006, 01:28:34 »

Quote
To get around it I've taken out that last 'if' so it always does all 4 $buffer = preg_replace, but I'm not sure if that's a valid fix.

This a smf problem. SMF doesn't work for IIS or apache with php_cgi. So they need to look if all this options are checked ... Probably it's a bug ... I will look forward at tis problem.


Regards
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
Valid XHTML 1.0! Valid CSS!