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)

Adult SEO 05-16-2007 10:00 PM

Google WMT friendly 404 Search mod
 
Hi there!

The folowing mod will enable you to setup a true 404 page while displaying the search page with a customizable message to your users.

Installation instructions for vBSEO users:
  1. Import the attached XML product
  2. Include the folowing tag in your search template called search_forums where you want to display the 404 message:
    Code:

    <!-- 404message -->
  3. Upload 404.php to your forum root
  4. Sign in to your vBSEO adminpanel and edit your 404 page settings with the folowing configuration:
    Attachment 64442
Installation instructions for non-vBSEO users:
  1. Import the attached XML product
  2. Include the folowing tag in your search template called search_forums where you want to display the 404 message:
    Code:

    <!-- 404message -->
  3. Upload 404.php to your forum root
  4. Edit your htaccess page and add the folowing code:
    Code:

    RewriteEngine On
    Code:

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.+)$ 404.php

Requirements: PHP Curl

The template to edit for the custom message on the searchpage is search_forums_404

A demo can be found on http://www.vbcash.com/blablabla.html

Have Fun!
Jan Jaap

maxicep 05-17-2007 01:10 PM

thanks

machethier 05-17-2007 02:21 PM

seems to be usefull

Hornstar 05-18-2007 05:22 AM

Step 2 confuses me a bit. on what search page do you include that?

Adult SEO 05-18-2007 05:30 AM

Hi there!

It should be in your search template called search_forums editable from your Admin CP controlpanel.

Best Regards,
Jan Jaap

FreshFroot 05-19-2007 10:34 PM

nice stuff :D

PoetJA-1975 05-21-2007 05:03 AM

This is very nice - Thanx for the sharing.
One Concern: When already logged in and browsing to http://jpicforum.info/blablabla.php - It brings up the page as if I'm logged out. Any suggestions?

Thanx,

Jacquii.

PoetJA-1975 05-29-2007 06:36 AM

Hello? Support?
Thanx,

Jacquii.

Adult SEO 05-29-2007 08:12 AM

Hi there!

This is due to the fact that the html of the search page is fetched via http using lib Curl.

Best Regards,
Jan Jaap

PoetJA-1975 05-29-2007 06:25 PM

OK - Thanx JAN for the response ;)

Jacquii.


All times are GMT. The time now is 01:07 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.01009 seconds
  • Memory Usage 1,729KB
  • 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
  • (4)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
  • (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