Page 6 of 26 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ... LastLast
Results 76 to 90 of 376
Like Tree7Likes

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; Originally Posted by Oleg Ignatiuk Search engines will know that this is a file not found page, as long as ...

  1. #76
    Member
    Real Name
    Julian
    Join Date
    Aug 2008
    Location
    Aachen Germany
    Posts
    74
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Search engines will know that this is a file not found page, as long as you send 404 http code on your custom page.
    How do I check this? (My 404 pages look like this atm: www.arcor-user-forum.de/sdfkjekjsdf)

    Quote Originally Posted by StarBuG View Post
    I am displaying adsense on all pages of my forum because it is implemented into the navbar.
    I just contacted google (again) to ask if this is ok with them (adsense on 404).
    How exactly did you contact google? In your adsene account, or where?
    Arcor User Forum
    Das inoffizielle Arcor Forum

  2. #77
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    How do I check this? (My 404 pages look like this atm: www.arcor-user-forum.de/sdfkjekjsdf)
    Yes, your file not found pages return 404 code.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #78
    Senior Member MadK's Avatar
    Real Name
    Leo
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    140
    Liked
    0 times
    Blog Entries
    2
    Quote Originally Posted by jw00dy View Post
    Did you ever figure out a work around for this? Actually since it wasn't a problem for you, I'll as it this way... Did anyone that has this problem find a solution?
    Yup, looking for a fix too! :(

  4. #79
    Senior Member
    Real Name
    Karl
    Join Date
    Aug 2008
    Location
    England
    Posts
    115
    Liked
    0 times
    Blog Entries
    1
    Nice one! Thanks
    You could have said instead of rewriting my signature.

  5. #80
    Member ArnyVee's Avatar
    Real Name
    Arnold
    Join Date
    Sep 2008
    Location
    South Florida
    Posts
    49
    Liked
    0 times
    I thought I followed the directions as I should, but I can't seem to get it right.

    Warning: include(/waltdisneyboards.com/public_html/misc.php) [function.include]: failed to open stream: No such file or directory in /home/avarona/domains/waltdisneyboards.com/public_html/vbseo.php on line 1446

    Warning: include() [function.include]: Failed opening '/waltdisneyboards.com/public_html/misc.php' for inclusion (include_path='.:/usr/lib64/php') in /home/avarona/domains/waltdisneyboards.com/public_html/vbseo.php on line 1446
    Can anyone point me in the right direction for the fix?

    Thanks!

  6. #81
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Make sure that you enter correct filename, you can find your folder path as described in this post: 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!


  7. #82
    Member ArnyVee's Avatar
    Real Name
    Arnold
    Join Date
    Sep 2008
    Location
    South Florida
    Posts
    49
    Liked
    0 times
    I did that and now after adjusting it....it goes to a list of all of my smilies. :(

    What do I do now?

  8. #83
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    Did you create the "custom_404" template?

  9. #84
    Member ArnyVee's Avatar
    Real Name
    Arnold
    Join Date
    Sep 2008
    Location
    South Florida
    Posts
    49
    Liked
    0 times
    Yup...here's what I have in it....left it as is to start with....

    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <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 -->
    $headinclude
    <title>Page Not Found - <phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
    </head>
    <body>
    $header
    $navbar
    <br />
    <div style="padding-left: 25px; padding-right: 25px; font-weight: bold;" align="center">
    Sorry, the page you have requested cannot be found.
    <br/><br/>
    You can try a <a href="$vboptions[bburl]/search.php">search</a> if you are looking for something specific.
    </div>
    $footer
    </body>
    </html>

  10. #85
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    What is the exact name of the template? It looks like it doesn't exist:

    Here's how to reach it manually: http://www.waltdisneyboards.com/misc...e&template=404

    Also, make sure you created the template in all styles if you have multiple. (Or in the parent style, if all your styles are under one parent.)
    Last edited by Keith Cohen; 09-03-2008 at 01:59 PM.

  11. #86
    Member ArnyVee's Avatar
    Real Name
    Arnold
    Join Date
    Sep 2008
    Location
    South Florida
    Posts
    49
    Liked
    0 times
    The name is custom_404 as instructed.

    I have it created in the only style that I have active. But, I'll add it to all of the styles, just in case.

  12. #87
    Member ArnyVee's Avatar
    Real Name
    Arnold
    Join Date
    Sep 2008
    Location
    South Florida
    Posts
    49
    Liked
    0 times
    Just added the template to all styles. Doesn't work yet. :(

    This seems strange.

    Any other thoughts?

  13. #88
    Member ArnyVee's Avatar
    Real Name
    Arnold
    Join Date
    Sep 2008
    Location
    South Florida
    Posts
    49
    Liked
    0 times
    Still nothing. :(

    This is really strange.

    I'm going to attach what I've done.... so maybe someone can spot something I did incorrectly.
    Attached Thumbnails Attached Thumbnails template.jpg   filenotfound.jpg  

  14. #89
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    12 times
    What is the contents of your 404.php?

  15. #90
    Member ArnyVee's Avatar
    Real Name
    Arnold
    Join Date
    Sep 2008
    Location
    South Florida
    Posts
    49
    Liked
    0 times
    Contents of my 404.php is....

    <?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);
    include '/home/avarona/domains/waltdisneyboards.com/public_html/misc.php';
    ?>
    ....as instructed per the first post.

Page 6 of 26 FirstFirst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ... LastLast

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
  •