Actualy I only asked cause I was going to use that script above to block the adsense ads from displaying on my 404 page.
So is it cool to do that?
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; Actualy I only asked cause I was going to use that script above to block the adsense ads from displaying ...
Actualy I only asked cause I was going to use that script above to block the adsense ads from displaying on my 404 page.
So is it cool to do that?
CommanderTalk.com --> www.commandertalk.com
Damn, I can usually get stuff to work but not this.
Create custom_404 - check
Create 404.php - check
Enter path in vBSEO CP - check
My 404.php is at /forum/404.php and that's the path I specified but I get a blank page:
http://www.hostnexus.com/forum/llhjkhjhjk
I have a different 404.php in the site root and I don't really want a forum 404 page as a site-wide 404. I have the site wide 404.php working via .htaccess:
http://www.hostnexus.com/lll
Any ideas?
TeryxHQ,
you can try this instead, to affect 404 pages *only*:
HTML Code:<if condition="$_REQUEST['do'] != '404'"> #your adsense code# </if>
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Hello Ivor,
please try to specify the for Custom 404 handler either "404.php" or full name, including path, similar to:
Code:/home/site/public_html/forum/404.php
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
In vBSEO I have the path:
/home/httpd/vhosts/hostnexus.com/httpdocs/forum/404.php
(which is correct for Plesk systems)
It seems to work correctly for me now: http://www.hostnexus.com/forum/llhjkhjhjk
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Indded, how bizarre. Earlier on this thread someone had this exact same behaviour. Maybe a cache thing or something. Happy though.![]()
Just setup this and having a slight problem. :/ When going to my 404 page this happens.
http://cybersteroids.com/404.php
PHP Code:Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/anithaxe/public_html/forums/misc.php on line 88
Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/anithaxe/public_html/forums/misc.php on line 88
You should create 404.php in forums/ folder, not in domain root (and update "4040 handler" filename in vBSEO CP correspondingly).
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
The answer is here: http://www.vbulletin.com/forum/showt...known+location
Add the following line near the top of your .htaccess file:
edit: That doesn't seem to resolve the issue.PHP Code:ErrorDocument 404 /404.php
I still see
for members who do not have a mood selected in the vMoods add-on.Unknown Location
/vmoods/images/none.gif
Last edited by djbaxter; 04-06-2009 at 02:06 PM.
To avoid regustering "not found" requests in who is online list you should apply this fix: Create a Custom vBulletin "404 Page Not Found" Page, and direct vBSEO to use it.
Oleg Ignatiuk / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!