vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




Make a Custom 404 Page

Joeychgo
06-01-2005, 09:12 AM
Make a Custom 404 Page for your forum.

You can easily create a custom 404 error page for your visitors. What does this do for you? It can help you keep visitors who will likely leave your forum if they get the standard "File not found" page. Normally a 404 Page looks a like this:

File Not Found


The requested url /notafile.htm was not found on this server.



A visitor finding this will likely just leave your site. It makes them think your forum no longer exists.

However, you can make your 404 page much more informative, and provide your visitors with a way to navigate through your site. Instead of the standard "File Not Found", you can send them an error page that looks professional and wl help you retain them as a visitor.

As an example, click the link below. This will take you to the custom 404 page for vBulletin Webmaster:

Custom 404 Example (http://www.vbwebmaster.com/vBulletin_custom_page.htm)

Notice how the page was similar to other pages on the site, with the look and feel and a direction to to click to get to the main page? This allows the visitor to go to the main page where they can see the details of what this site has to offer.

Now, the creation of the custom page itself isn't difficult. It is just another HTML page saved with any name you want it to have.



To get your custom page to show up on a 404 error requires a little extra work. But not much.



To begin, go to the main directory of your web site (where your home page is located) through FTP or Telnet. Look for a file there named .htaccess. If you have the file, you will want to edit it. If you do not have the file, create a new text file and save it as ".htaccess".



Simply type the following line into the file, changing the url to the location of your custom page:



ErrorDocument 404 http://www.vbwebmaster.com/vBulletin_custom_page.htm



Keep it all on one line, with a space on each side of the number 404. This is also case sensitive, so be sure to check the case of the E and D in before you go forward.



If you already have the file and need to edit it, look for a line like the one above. If it is there, you can just change the url. If you do not have the line, add it in after everything else. Place it on its own line.



When you are done, upload your new .htaccess file to the server. Then, be sure to use the CHMOD command through your FTP or telnet program to set the permissions to CHMOD 644.

Also be sure that you have uploaded your custom page to the server, otherwise you'll get a 500 server error or something similar.

Once that is done, you can test your new error page by typing in a url that you know does not exist. You should get your custom page, ready to bring in the lost visitors that may be out there.

:) Happy Trails - Its That Simple.

noppid
06-01-2005, 09:23 AM
Did you forget I wrote an article on this in the past? :)

Custom Error Messages (http://www.vbwebmaster.com/forums/showthread.php?t=312)

contactsonia
06-01-2005, 10:05 AM
Thanks for this nice tutorial :)
I have added a custom 404 error page - http://www.webmastertalk.in/404.html ;)

.

minstrel
06-02-2005, 07:28 PM
I assume that if the forum is a subdomain rather than a separate domain you'd need to make sure that the .htaccess file is in the root of the forum (i.e., in the subdomain)... not the root of the main domain.

minstrel
06-02-2005, 08:42 PM
Alternatively, I have a custom 404 designed for the domain and an error on either the main domain OR any subdomain is directed there. It also includes a site search box: http://www.psychlinks.ca/error.htm

MXjunk127
06-09-2005, 10:16 AM
Thanks a ton!!! I am using it as kind of an add, I have tons of vids out, and now that my site is ready, I renamed the vids so the old links are invalid and it takes the user to my file not found page, and now they know about the site!

www.globalfmx.net/forums/filenotfound.php

Nicky Scars
06-12-2005, 08:23 PM
I have seen this before and thought that sooner or later I may try it out myself but after looking at these examples I believe that this is a must.

You guys/gals have got some pretty sweet custom pages going on!

Joeychgo
06-12-2005, 09:17 PM
Its a great add-on every forum should have


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum