Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
404 Page Redirect To Thread Details »»
404 Page Redirect To Thread
Version: 0.05, by ChopSuey ChopSuey is offline
Developer Last Online: Jul 2010 Show Printable Version Email this Page

Version: 3.5.x Rating:
Released: 01-26-2010 Last Update: Never Installs: 3
 
No support by the author.

404 Page Redirect To Thread - Brought to you by ChopSuey - http://forum.vbdiscussions.com

DEMO - http://www.vbdiscussions.com/this404...!lolitsawesome

Step one, in any forum of your choice - create a new thread and name it " 404 Page Not Found "
Make sure it is a closed and stickied thread.
The contents in the post put whatever you want. Here is mine for example:
Quote:
I apologise. It's not easy being software. Although I do my best to get you the pages you want to see, the idiot that installed me seems to work tirelessly to undermine my efforts. And I have a few suggestions that might help you find what you're looking for.
While I would bet good money (if I had any - for some reason, though I work around the clock, nobody sees fit to pay me) that the fault lies at this end, it is probably worth quickly checking there are no typos in the address your browser is trying to access.
If not, it is also possible that you've followed a broken link, or a link to a page that no longer exists. If that is the case, please take a moment to email the owner of the link to tell him about the problem.
Lastly, I suggest using the search function here. Good luck!
By the time you return, this problem should be resolved. If not, please feel free to harass the person responsible by emailing chospuey@vbdiscussions.com.
Feel free to use my template and edit it to your liking.

Now after you have posted the thread copy the URL from your browser.
2. Open 404.txt OR edit 404.shtml with notepad or wordpad. change the thread link
Code:
http://forum.vbdiscussions.com/showthread.php?t=104
to your 404 Page Not Found link
then change the contents between the <title> and </title> to "" Yoursitename - Yoursiteurl.com | Redirecting. Hit save after all has been completed.
3. Upload 404.shtml or 404.txt (if you have uploaded 404.txt rename the extension to .shtml) (whichever one you edited) to your site root. If you have /forum or /forums upload it to the folder too.
Any other folders within the public_html folder upload it to there also.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-27-2010, 05:44 PM
BSMedia BSMedia is offline
 
Join Date: Feb 2009
Posts: 454
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But then it can't return the correct 404 headers for search engines also so they can keep their indexes up to date.

Why not use a new 404 page based off a template that will be able to return the proper headers (kinda like the mods already out there for this)
Reply With Quote
  #3  
Old 01-27-2010, 10:42 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think the vBSEO Sitemap gen uses that.
Reply With Quote
Reply

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

Forum Jump


All times are GMT. The time now is 06:28 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03847 seconds
  • Memory Usage 2,206KB
  • Queries Executed 18 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete