Page 26 of 26 FirstFirst ... 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Results 376 to 381 of 381
Like Tree8Likes

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; custom_404 should be a single template, not an entire new skin. Delete that (or rename it if it is your ...

  1. #376
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    custom_404 should be a single template, not an entire new skin.

    Delete that (or rename it if it is your main skin) and simply add a NEW template to your skin thats already there.

  2. #377
    Junior Member
    Real Name
    Statisticus
    Join Date
    Apr 2010
    Posts
    5
    Liked
    0 times
    Hi

    I've got this working, but the 404 page always has the forum tab selected, and the forum navigation links visible in the submenu.

    This isn't very appropriate for our site, so I'd prefer it if no tab was selected.

    Is there any way to achieve that?

    Thanks, Mike

  3. #378
    Member
    Real Name
    Raymond
    Join Date
    Aug 2008
    Posts
    32
    Liked
    0 times
    I had the Redirect to homepage option selected.
    When I tried to access an invalid link such as http://www.raymond.cc/forum/forum-bu...-cc-forum.html

    It shows "No Thread specified. If you followed a valid link, please notify the administrator" and not redirected to homepage.

    Any idea why is this happening?

  4. #379
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,100
    Liked
    622 times
    Blog Entries
    4
    Hello ,

    Default vBulletin URL's like show thread , member , forum display pages , they will always display no content warning according to the way vBulletin coded.
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  5. #380
    Junior Member
    Real Name
    Algo
    Join Date
    Apr 2012
    Posts
    5
    Liked
    0 times
    This doesn't work for me.
    I added copy/paste the 404.php example and the 404 template, replace misc.php URL by my absolute URL (/var/www/misc.php) etc :

    PHP Code:
    <?phpheader("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);include '/var/www/misc.php';?>
    PHP Code:
    {vb:stylevar htmldoctype}<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html"><head> <!-- no cache headers --> <meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Expires" content="-1" /> <meta http-equiv="Cache-Control" content="no-cache" /> <!-- end no cache headers --> {vb:raw headinclude} <title>Page Not Found - {vb:raw vboptions.bbtitle}</title> {vb:raw headinclude_bottom}</head><body>    {vb:raw header}        {vb:raw navbar}<br /><div style="padding-left: 25px; padding-right: 25px; font-weight: bold;" align="center">Sorrythe page you have requested cannot be found.<br/><br/>You can try <a href="{vb:raw vboptions.bburl}/search.php">search</a> if you are looking for something specific.</div> {vb:raw footer}</body></html
    But this doesn't work. Just display a blank page, with no code in source and no errors in apache log.
    Anyone know how to fix it ?
    Anyway, is there a way to disable this vbseo's feature ? I know how to configure custom errors pages and i don't need vbseo, but i didn't find anything to disable 404 redirect from vbseo.

  6. #381
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Hello,

    Did you create the template called custom_404?

    You can disable this feature in your vBSEO CP -> General Settings -> "File Not Found" requests handling? -> Choose "Send 404 HTTP code"
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


Page 26 of 26 FirstFirst ... 13 14 15 16 17 18 19 20 21 22 23 24 25 26

LinkBacks (?)


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •