vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Spider friendly URLs (https://vborg.vbsupport.ru/showthread.php?t=18035)

tamarian 11-12-2001 11:37 PM

I've installed this, with Byrons mods and it worked fine for many browsers, except Netscape 4.7. It doesn't download the images and show image coding errors.

I've removed it until I can find a work around. Any ideas?

amykhar 11-21-2001 07:55 PM

With auto's help, I got this installed and working on my board :)

My question is why doesn't it work if I use the sessionhash part of the url? If I strip that out, it works fine. With it, I get page not found.

(I am using .htaccess)

Amy

amykhar 11-21-2001 11:52 PM

Has anybody goes who's online straightened out to recognize these urls?

Amy

eva2000 11-23-2001 04:32 AM

Quote:

Originally posted by amykhar
Has anybody goes who's online straightened out to recognize these urls?

Amy

not yet.. i just leave as is

amykhar 11-23-2001 12:53 PM

Quote:

Originally posted by eva2000
not yet.. i just leave as is
rats. :D Looks like I have some work to do then huh?

Amy

amykhar 11-24-2001 09:53 PM

Ok. This is HIGHLY experimental, but I think I have who's online fixed.

In online.php find:
PHP Code:

$loc=preg_replace("/\?s=[a-z0-9]{32}(&)?/","?",$loc); 

add after:

PHP Code:

$loc=preg_replace("/(f)([0-9]+)(\/)/","forumdisplay.php?forumid=\\2",$loc);
  
$loc=preg_replace("/(t)([0-9]+)(.html)/","showthread.php?threadid=\\2",$loc);
  
$loc=preg_replace("/&s=[a-z0-9]+/","",$loc); 

Thus far, it's working on my board. But I promise nothing. :D

Amy

Haakon 12-01-2001 02:57 PM

amykhar: I see that you`ve gotten the hack to work on threads that contain more pages. My additional pages in threads doesn`t respond to the hack.
The original code was:
RewriteRule ^t([0-9]+)-([0-9]+)\.html$ showthread.php?threadid=$1&perpage=15&pagenumber=$ 2 [L]

Could you please paste in the code you are using?

amykhar 12-01-2001 03:05 PM

I got mine from Auto :)

Code:

RewriteEngine on
RewriteRule ^f([0-9]+)/?$ forumdisplay.php?forumid=$1&s=$2 [L]
RewriteRule ^t([0-9]+).html$ showthread.php?threadid=$1 [L]
RewriteRule ^t([0-9]+)-([0-9]+).html$ showthread.php?threadid=$1&perpage=15&pagenumber=$2 [L]
RewriteRule ^f([0-9]+)-([0-9]+)/$ forumdisplay.php?forumid=$1&daysprune=1000&sortorder=&sortfield=lastpost&perpage=40&pagenumber=$2 [L]
RewriteRule ^[ft]([0-9]+)/s([^/]*)/(.+)$ /$3 [L]

Amy

amykhar 12-10-2001 12:03 PM

Yay! It seems to have worked. Google just spent a very long time crawling my board. :)

I still haven't gotten myself back to Netscape compatiblity though. Did anyone find a way to do it without requiring all the templates to be edited?

Amy

eva2000 12-11-2001 02:53 AM

my forum has 24,000 - 26,000 pages indexed by google :D


All times are GMT. The time now is 06:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01231 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete