vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

Create a Custom vBulletin "404 Page Not Found" Page, and direct vBSEO to use it.

This is a discussion on Create a Custom vBulletin "404 Page Not Found" Page, and direct vBSEO to use it. within the Member Articles forums, part of the Focus on Members category; @Arnold : It works for me. Sample non-existent page i visited : Code: http://www.waltdisneyboards.com/blah-blah-blah.html...

Go Back   vBulletin SEO Forums > Focus on Members > Member Articles

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Reply

 

LinkBack (1) Thread Tools
  #91  
Old 09-03-2008, 01:19 PM
Shadab's Avatar
Senior Member
 
Real Name: Shadab
Join Date: Oct 2007
Location: Bhopal
Posts: 279
Blog Entries: 12
Send a message via ICQ to Shadab Send a message via MSN to Shadab Send a message via Yahoo to Shadab Send a message via Skype™ to Shadab
@Arnold :

It works for me. Sample non-existent page i visited :
Code:
http://www.waltdisneyboards.com/blah-blah-blah.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #92  
Old 09-03-2008, 01:25 PM
ArnyVee's Avatar
Junior Member
 
Real Name: Arnold
Join Date: Sep 2008
Location: South Florida
Posts: 17
Send a message via AIM to ArnyVee Send a message via Yahoo to ArnyVee Send a message via Skype™ to ArnyVee
Wow, I guess it was one of those 'cache' things, huh?

Thanks for your help Keith and thanks for 'showing me the light' Shadab!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #93  
Old 09-03-2008, 01:29 PM
Shadab's Avatar
Senior Member
 
Real Name: Shadab
Join Date: Oct 2007
Location: Bhopal
Posts: 279
Blog Entries: 12
Send a message via ICQ to Shadab Send a message via MSN to Shadab Send a message via Yahoo to Shadab Send a message via Skype™ to Shadab
Quote:
Originally Posted by ArnyVee View Post
Wow, I guess it was one of those 'cache' things, huh?
Thanks for your help Keith and thanks for 'showing me the light' Shadab!
You're welcome.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #94  
Old 09-04-2008, 09:20 AM
Member
 
Real Name: Michele Neylon
Join Date: Aug 2006
Location: Ireland
Posts: 71
Send a message via ICQ to blacknight Send a message via AIM to blacknight
Unhappy no workies

Wonderful article, but of course I've run into an issue ! :(

Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/www/www.webmastertalk.co.uk/web/404.php:1) in /home/www/www.webmastertalk.co.uk/web/404.php on line 2

Warning: Cannot modify header information - headers already sent by (output started at /home/www/www.webmastertalk.co.uk/web/404.php:1) in /home/www/www.webmastertalk.co.uk/web/404.php on line 3 
The 404 page itself then displays, but I really need to get rid of the errors
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #95  
Old 09-04-2008, 11:31 AM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,595
It looks like you have extra line break at the top of 404.php file. Make sure that topmost line starts with "<?php".
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #96  
Old 09-04-2008, 11:36 AM
Member
 
Real Name: Michele Neylon
Join Date: Aug 2006
Location: Ireland
Posts: 71
Send a message via ICQ to blacknight Send a message via AIM to blacknight
Quote:
Originally Posted by Oleg Ignatiuk View Post
It looks like you have extra line break at the top of 404.php file. Make sure that topmost line starts with "<?php".
Oleg - you are my saviour!


Stupid annoying error and I feel quite embarassed about it, but it's all now resolved - thank you!

Michele
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #97  
Old 09-06-2008, 09:07 PM
Junior Member
 
Real Name: Steve Marin
Join Date: May 2007
Posts: 25
I don't know what I am doing wrong....

my page is up: http://gridironfans.com/forums/404.php

But if you go to the search link (which is incorrect) you go to the default webhost 404 page: http://gridironfans.com/search.php

When I go to this fake page I get the default 404: http://gridironfans.com/blah-blah-blah.hmtl

But when I go here: http://gridironfans.com/forums/blah-blah-blah.hmtl

I get this:
PHP Code:
Warning:  include(/home/sblueman/public_html/forums/404.php ) [function.include]: failed to open streamNo such file or directory in /home/sblueman/public_html/forums/vbseo.php on line 1446

Warning
:  include() [function.include]: Failed opening '/home/sblueman/public_html/forums/404.php ' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/sblueman/public_html/forums/vbseo.php on line 1446 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #98  
Old 09-06-2008, 10:26 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,538
since you are in /forums, this 404 will only work in your forums directory, not root.
seeing the hostgator error is valid for a root-level error.
(and this is another reason why i always suggest installing vb/ vbseo in root)


as for your custom 404 in the forums directory, your path is wrong.

/home/sblueman/public_html/forums/404.php

doesn't exist. you can probably find your true path from the php info script in the vb acp.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #99  
Old 09-06-2008, 10:38 PM
Junior Member
 
Real Name: Steve Marin
Join Date: May 2007
Posts: 25
Should I un-install and re-install vbSEO in the root directory then?

Also....I have the 404.php file in my forums directory....and when I go to PHP info in my vb ACP the document root is /home/sblueman/public_html .....now is that the correct value?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #100  
Old 09-06-2008, 11:56 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,538
That won't do you any good... as your vb is not in root. vbseo needs to be where vb is.
you would need to move your entire forum down a directory, set up a custom forum homepage (ie, forums.php instead of index.php) so that vba will still work

as for your path, it might be something weird on your host. i'd suggest contact them for the true path, as what is shown obviously isn't working.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #101  
Old 09-12-2008, 03:26 AM
Senior Member
vBSEO Pre-Release Team
 
Real Name: Nick Le Mouton
Join Date: Nov 2005
Location: New Zealand
Posts: 368
You could consider adding some code from Google that helps users who misspelled the url

Official Google Webmaster Central Blog: Make your 404 pages more useful
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #102  
Old 09-15-2008, 06:46 AM
webwizzy's Avatar
Senior Member
 
Real Name: Vinayak
Join Date: Aug 2008
Location: India
Posts: 118
Send a message via Yahoo to webwizzy
For those who had been looking for how to get 404.php working throughout their sites and have vb in forums/ directory

I just got it working !

1. As described in first post, create the template.
2. For 404.php, copy this code and upload/save in site root i.e. under "public_html"

Code:
<?php
header("HTTP/1.0 404 Not Found");
header("Status: 404 Not Found");
$_GET['do']='page';
$_REQUEST['do']='page';
$_GET['template']='404';
$_REQUEST['template']='404';
define('VBSEO_PREPROCESSED', 1);
chdir('/usr/home/username/public_html/forums/');
include '/usr/home/username/public_html/forums/misc.php';
?>
We are using chdir() with an absolute path (this solves the problem that was faced with just chdir('forums'))

3. In the .htaccess of the site root i.e. .htaccess located under "public_html", put this in the end of file:-

Code:
ErrorDocument 404 /404.php
4. Atlast, in vBSEO CP, "File Not Found" requests handling?, enter the absolute path to 404.php

Thats it, hope it helps !
__________________
India talks | Tech Info
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #103  
Old 09-15-2008, 05:57 PM
jw00dy's Avatar
Senior Member
 
Real Name: Jonathan
Join Date: Dec 2006
Location: Tooele, UT
Posts: 125
Thank you! Worked like a charm.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #104  
Old 09-15-2008, 06:18 PM
webwizzy's Avatar
Senior Member
 
Real Name: Vinayak
Join Date: Aug 2008
Location: India
Posts: 118
Send a message via Yahoo to webwizzy
Quote:
Originally Posted by jw00dy View Post
Thank you! Worked like a charm.
ah I am glad you got it working
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #105  
Old 09-17-2008, 07:11 PM
SIINSI's Avatar
Member
Big Board Administrator
 
Real Name: Miguel Diaz
Join Date: Sep 2008
Location: Palm Coast, FL
Posts: 74
Send a message via AIM to SIINSI
Awesome...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

Tags
404, custom pages

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.vbseo.com/f34/create-custom-vbulletin-404-page-not-found-page-direct-vbseo-use-11288/

Posted By For Type Date
Solo 297 pagine indicizzate, ma perchè? This thread Refback 02-21-2007 09:33 AM


All times are GMT -4. The time now is 09:34 PM.


Powered by vBulletin Version 3.8.0 Beta 4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.