vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Board Optimization - Google WMT friendly 404 Search mod (https://vborg.vbsupport.ru/showthread.php?t=147455)

Icyeb 06-07-2007 04:46 AM

nice work, got it installed on 3.6.7pl1 without any major problem except the logged out problem. is there a way to redirect users to the homepage instead of showing the search page

tokenyank 06-20-2007 02:39 PM

cookie isn't persistant...

If logged in member puts in bad url, delivers search page with 404 but also delivers page as though they aren't logged in.

As an aside, I edited .htaccess in domain root to:
Code:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ /home/YOURINFO/public_html/YOURFORUMDIRECTORY/404.php

This also provides custom 404's domain wide. This is still parsing as a guest though too.

If the cookie issue can't be fixed, I'll have to uninstall... Hopefully there's a fix!

tokenyank 06-20-2007 03:03 PM

ooops!

Umm... A friendly pointer!

If you've just gutted your site and took 3 years of content down and made your forums the 'ONLY' content on your site... Putting a custom 404 into your search.php may not be a good idea when you have around 300 spiders all hitting it at the same time.

Server load spiked to 9 and brought down httpd.

A server reboot and hack uninstall later, all fine again! Looks like I'm stuck using normal ol' shtml 404's! :)


All times are GMT. The time now is 09:13 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.01035 seconds
  • Memory Usage 1,712KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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