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

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 Array Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    675 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.
    Brian Cummiskey / Crawlability Inc.
    Security bulletin - Patch Level for all supported versions released

    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  2. #377
    Junior Member Array
    Real Name
    Statisticus
    Join Date
    Apr 2010
    Posts
    10
    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 Array
    Real Name
    Raymond
    Join Date
    Aug 2008
    Posts
    33
    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 Array Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,463
    Liked
    721 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 Array
    Real Name
    Algo
    Join Date
    Apr 2012
    Posts
    6
    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 Array Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,859
    Liked
    567 times
    Blog Entries
    2
    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


  7. #382
    Member Array mykkal's Avatar
    Real Name
    Michael McKoy
    Join Date
    Jul 2007
    Location
    Atlanta, GA
    Posts
    75
    Liked
    2 times
    Having problems with the 404 page showing. It just displays errors...

    Here is the error. Can anyone help please?

    See yourself: http://mymodeltalk.com/jobs/blah.html

    Code:
    Warning: include(/usr/home/mmtalk/public_html/jobs/404.php) [function.include]: failed to open stream: No such file or directory in /home/mmtalk/public_html/jobs/vbseo.php on line 1446
    
    Warning: include() [function.include]: Failed opening '/usr/home/mmtalk/public_html/jobs/404.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mmtalk/public_html/jobs/vbseo.php on line 1446

  8. #383
    Member Array mykkal's Avatar
    Real Name
    Michael McKoy
    Join Date
    Jul 2007
    Location
    Atlanta, GA
    Posts
    75
    Liked
    2 times
    Anyone here that can help? I created a support ticket too

  9. #384
    Member Array mykkal's Avatar
    Real Name
    Michael McKoy
    Join Date
    Jul 2007
    Location
    Atlanta, GA
    Posts
    75
    Liked
    2 times
    Fixed my issue. It was indeed a pathing problem. Turns out a bad path had been hard coded in misc.php. Most likely by myself many years ago.

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
  •