vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - 404 Page Google Friendly (https://vborg.vbsupport.ru/showthread.php?t=232641)

webmastersitesi 01-08-2010 10:00 PM

404 Page Google Friendly
 
1 Attachment(s)
İnstall Step 1

hata.gif -->$currentstylefolder->buttons

404.php --> vBRoot

product-404.xml -->Admincp-->Plugins & Products ->[Add/Import Product]

İnstall Step 2

vBSeo Users For
vBSeocp-->File Not Found requests handling? -->Include custom script Box İn
PHP Code:

/home/hostusername/public_html/404.php 

Dont't vBSeo Users For
New File .htacces Create

PHP Code:

ErrorDocument 404 http://www.siteaname.com/404.php 

.htaccess --> vBRoot


Caps
Plase See Attachments

webmastersitesi 01-09-2010 05:22 PM

update

stationar 01-09-2010 05:52 PM

Tagged. Very nice.

webmastersitesi 01-09-2010 06:02 PM

Thanks @stationar

Big-Pete 01-09-2010 06:24 PM

Tagged, will install tomorrow :)

BSMedia 01-10-2010 05:16 AM

This doesn't seem to send the correct error codes in the header as the content is currently 404 so it's not google/search engine friendly.

You need to add the 404 php header code to it, for it to be "Google" friendly.

bilgicc 01-10-2010 06:46 AM

Quote:

Originally Posted by BSMedia (Post 1951697)
This doesn't seem to send the correct error codes in the header as the content is currently 404 so it's not google/search engine friendly.

You need to add the 404 php header code to it, for it to be "Google" friendly.

Find on 404.php;

Code:

error_reporting(E_ALL & ~E_NOTICE);
Add above;
Code:

header("HTTP/1.0 404 Not Found");
header("Status: 404 Not Found");

Thanks for Add-ons ;)

webmastersitesi 01-10-2010 09:57 AM

Thanks Bilgicc :)
File Uptade.

eTiKeT? 01-10-2010 11:22 AM

İnstalled ;)

tazattitude 01-10-2010 02:05 PM

Cool - Nice! Thank you!


All times are GMT. The time now is 02:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01349 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete