vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   archive "simple view" should 301 if not enabled. Bug not fixed in vb 3.6.x version (https://vborg.vbsupport.ru/showthread.php?t=261467)

basketmen 04-05-2011 12:28 PM

archive "simple view" should 301 if not enabled. Bug not fixed in vb 3.6.x version
 
i have same problem with this bug tracking http://www.vbulletin.com/forum/proje...?issueid=24555 , i just realize this after 4 years installing my forum :D, its little problem, but if can its should be fixed





Quote:

When "Display Simple View of Threads" is set to "no", the archive points to the actual threads.

But, if a search engine knows a "simple view" URL, it can still see and download it.

The problem is that these pages remain in the search engine's index.

My suggested solution:
Use a 301 redirect for requests for URLs like this
/archive/index.php/t-123456.html
to
/showthread.php?t=123456

If that isn't possible, at least give a 404.

Cheers



its say its fixed in vb 3.7.0 Beta 5, but its looks like Not fixed in 3.6.x version, i am using 3.6.12 and cant upgrade to higher vb version because some reason

please if anyone have simple hotfix for this little problem, it is needed for all vb 3.6.x users including vbulletin.org forum that still using 3.6.12

basketmen 04-06-2011 02:54 PM

ok founded the solution by my self, any one that still using vb 3.6.x version, and admincp >> vb options >> Search Engine Friendly Archive >> "Display Simple View of Threads" is set to "no", can use this too,
if there is better solution please share too, but this way already works

open archive/index.php file

find and remove this
case 't'

thats it, thread simple view in archive like this domain.com/archive/index.php/t-123456.html will never showing again


All times are GMT. The time now is 02:41 PM.

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.01083 seconds
  • Memory Usage 1,711KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete