View Full Version : Miscellaneous Hacks - Error 404 Widget
eJunkie
04-25-2009, 10:00 PM
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:
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: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 ?
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
hmm, really wish this was in English so we could read what your saying :rolleyes:
Translated with Google's Translator :-).
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
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. ;)
Elenna
04-28-2009, 02:45 PM
Would someone who has installed this mind linking their site (or, rather, a page that would generate a 404 error), so I could see it in action (preferrably in English)?
agitated
04-28-2009, 06:50 PM
I think this is incorrect for anyone who has their forum in a directory (forums)
ErrorDocument 404 /404.php
should it not be ErrorDocument 404 /forums/404.php
or substitute forums for the correct directory name.
Kolbi
12-20-2009, 07:43 PM
Does it still work with vB 4.x?
xTerMn8R
03-13-2012, 06:05 PM
Don't work for me, I used a link that google Webmaster doesn't like to test and it still comes up with the vBulletin page that says.
"No Thread specified. If you followed a valid link, please notify the administrator"
Here's a Link to the page:
http://www.united4freedom.net/showthread.php?p=22960
Any suggestions would be appreciated...
Thank you,
Tom
Mastergumble
05-12-2012, 01:51 PM
Don't work for me, I used a link that google Webmaster doesn't like to test and it still comes up with the vBulletin page that says.
"No Thread specified. If you followed a valid link, please notify the administrator"
Here's a Link to the page:
http://www.united4freedom.net/showthread.php?p=22960
Any suggestions would be appreciated...
Thank you,
Tom
http://www.united4freedom.net/dfhfg4546465
Its working ;)
Deafmute
07-13-2012, 09:33 AM
worked tanx
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.