vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Error 404 Widget (https://vborg.vbsupport.ru/showthread.php?t=212214)

eJunkie 04-25-2009 10:00 PM

Error 404 Widget
 
1 Attachment(s)
A user clicks on the link to a page that no longer part of your site, your server is a 404 error (page not found) back. Since generic messages to the user can be frustrating, it is recommended to create a custom 404-error page for useful information about your site. Read the guidelines to create a useful custom 404-page.

You can also use your custom 404-a 404-page widget to add. Using the 404-Widgets users automatically receive useful suggestions instead of error messages.
  • There is a search box for your site with the Search added.
  • It tries to provide alternatives for incorrect URLs indicated.

This allows users to easily find needed information, and it reduces the probability that they leave your site and elsewhere are looking for.

Sample
If a visitor to the wrong URL (http://www.example.com/News/Neuestee) wants to call, we show the following:

Attachment 98356

Installation
  • Upload the 404.php to your forumroot.
  • Install the product-custom404.xml.
  • without vBSEO
    Edit the .htaccess in your forumroot and insert the follow line:
    Code:

    ErrorDocument 404 /404.php
  • with vBSEO
    Login to your vBSEO CP and set "File Not Found" requests handling? to Include custom script. There you have to insert the absolute path to your 404.php. (Example: /home/user/public_html/404.php).

Changelog
  • 1.1
    Fix relative pathes in subfolders

Brandon Sheley 04-26-2009 03:51 PM

hmm, really wish this was in English so we could read what your saying :rolleyes:

basilrath 04-26-2009 04:37 PM

looooooooooool hey it would be great

ahmed-samara 04-26-2009 05:29 PM

realmente muy agradable también, por favor si me puede dar los idiomas español Xml convertirse i tratando de encontrar, pero nadie me ayude

basilrath 04-26-2009 05:56 PM

:rolleyes:Is this a joke ?

nNJ 04-26-2009 06:05 PM

When a user clicks on a link to a page that does not exist, cannot be found, or has been deleted, the webserver returns a 404 error (page not found). Since generic messages can be frustrating, it is recommended to create a custom 404-error page containing useful information relavant site.

Using the 404-Google widget, suggested information is automatically displayed instead of the usual error message.

This widget searches your website, and provides similar links to the user when he or she tries to access a page that cannot be found, or doesn't exist.

This allows users to easily find important information, and it reduces the probability that they leave the site and search elsewhere.

Example:

If a visitor types in a URL ( such as http://www.example.com/example.html), and the webserver cannot find that page, (example.html)

a webpage will be displayed with links similar to the one typed in, if any exist.


Installation

Upload 404.phpvia FTP into your root directory.
In the vBulletin Admincp, import the XML file as a product.

without vBSEO
Modify the. Htaccess file in your root directory and paste in the first place the following line:
Code:
ErrorDocument 404 / 404.php

with vBSEO
Log into your vBSEO CP and make sure that the setting for the treatment of'404 'to add your own error page fault is set. There must be the absolute path to the 404.php be set. (Example: / home/user/public_html/404.php).



Translated by nNJ. I made a few changes to the structure of the content, but the meaning is the same. It just didnt sound right in English when you translate directly.

eJunkie 04-27-2009 05:22 AM

Quote:

Originally Posted by Loco.M (Post 1799378)
hmm, really wish this was in English so we could read what your saying :rolleyes:

Translated with Google's Translator :-).

Quote:

Originally Posted by nNJ (Post 1799455)
When a user clicks on a link to a page that does not exist, cannot be found, or has been deleted, the webserver returns a 404 error (page not found). Since generic messages can be frustrating, it is recommended to create a custom 404-error page containing useful information relavant site.

Using the 404-Google widget, suggested information is automatically displayed instead of the usual error message.

This widget searches your website, and provides similar links to the user when he or she tries to access a page that cannot be found, or doesn't exist.

This allows users to easily find important information, and it reduces the probability that they leave the site and search elsewhere.

Example:

If a visitor types in a URL ( such as http://www.example.com/example.html), and the webserver cannot find that page, (example.html)

a webpage will be displayed with links similar to the one typed in, if any exist.


Installation

Upload 404.phpvia FTP into your root directory.
In the vBulletin Admincp, import the XML file as a product.

without vBSEO
Modify the. Htaccess file in your root directory and paste in the first place the following line:
Code:
ErrorDocument 404 / 404.php

with vBSEO
Log into your vBSEO CP and make sure that the setting for the treatment of'404 'to add your own error page fault is set. There must be the absolute path to the 404.php be set. (Example: / home/user/public_html/404.php).



Translated by nNJ. I made a few changes to the structure of the content, but the meaning is the same. It just didnt sound right in English when you translate directly.

Oh no... i saw your post to late :o.

Arved Yagami 04-27-2009 11:07 AM

Does this send a 404 error code to the search engine? It seems pretty good.

eJunkie 04-27-2009 11:11 AM

Quote:

Does this send a 404 error code to the search engine? It seems pretty good.
Of course ;-).

FiMeTi 04-27-2009 04:06 PM

Thanks mate, pretty nice job. Installed :)
Funzt einwandfrei. ;)


All times are GMT. The time now is 09:19 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.01153 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
  • (3)bbcode_quote_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