2 kwa Sep 03, 2005 19:21

kwa, in yor blog you suggest adding the code below to the favourite skin. I suppose you have to add that to the_main.php file and only there, right?:
<meta name="robots" content="<?php if( ( $disp!='posts' && $disp!='single' ) || ( $disp=='posts' && ( $paged>1 || $cat!='' || $m!=0 || ( is_array( $catsel ) && count( $catsel )>0 ) || $w >=0 || $s != '' ) ) ) echo( 'no' ); ?>index,follow"/>
Thanks whoo
gcasanova wrote:
kwa, in yor blog you suggest adding the code below to the favourite skin. I suppose you have to add that to the_main.php file and only there, right?:
<meta name="robots" content="<?php if( ( $disp!='posts' && $disp!='single' ) || ( $disp=='posts' && ( $paged>1 || $cat!='' || $m!=0 || ( is_array( $catsel ) && count( $catsel )>0 ) || $w >=0 || $s != '' ) ) ) echo( 'no' ); ?>index,follow"/>
You're right. My [url=http://blog.lesperlesduchat.com/dev.php/2005/07/31/b2evolution_search_engines_optimization]explaination[/url] wasn't clear enough. I've just updated it. (The above code asks search engines to index the blog homepage and each single post only, excluding any day, week, month, year and category summaries as well as other stat or profile pages.)
In order to speed up the update of your blog in the main three search engines, use the following links:
[url=http://www.google.com/addurl/]Add your URL to Google[/url]
[url=http://search.msn.com/docs/submit.aspx]MSN Search URL Submission[/url]
kwa, What would happen if I use your hack and also placks.net, at the same time? Same question for Tony froom plack.net?
Would it be like using two antivirus at the same time, that is very conficting and useless?
gcasanova wrote:
kwa, What would happen if I use your hack and also placks.net, at the same time? Same question for Tony froom plack.net?
Would it be like using two antivirus at the same time, that is very conficting and useless?
When applying the [url=http://www.plack.net/index.php/2005/08/24/auto_search_in_b2evolution]Plack.net Autosearch in b2evolution hack[/url] hack, you consider something like:
<meta name="robots" content="<?php if( ( $disp!='posts' && $disp!='single' ) || ( $disp=='posts' && ( $paged>1 || $cat!='' || $m!=0 || ( is_array( $catsel ) && count( $catsel )>0 ) || $w >=0 || $s != '' ) ) ) echo( 'no' ); ?>index,follow"/>
you consider something like:
// Avoid useless heavy CPU and bandwith external links
if( !empty( $m ) && $m != 0 && strlen( $m ) <= 6 )
{
// A large selection of posts has been requested and the
// visitor comes from an external URI or a direct link
// Is it an external URI?
global $blog, $BlogCache;
$current_Blog = $BlogCache->get_by_ID( $blog );
$blogurl = $current_Blog->gen_blogurl();
$pos = stristr( $_SERVER[ 'HTTP_REFERER' ], $blogurl );
if( $pos === FALSE || $pos > 9 )
{
// A year or month summary have been requested coming
// from an external site.
// Since this is a heavy page to display and often
// useless for externally driven visitors, we redirect
// them to the blog's homepage.
header( 'Location: ' . $blogurl );
die();
}
}
you consider something like:
Best explanation in the whole forum! Thank You
Isn't it easier to implement that [url=http://blog.lesperlesduchat.com/dev.php/2005/07/31/b2evolution_search_engines_optimization]b2evolution: Search Engines Optimization[/url] (discussed in the [url=http://forums.b2evolution.net/viewtopic.php?t=4459]Search Engines Optimization (SEO)[/url] thread) skin update that makes search engines indexing single posts?
Since I haven't (yet?) implemented the [url=http://www.plack.net/index.php/2005/08/24/auto_search_in_b2evolution]Plack.net Autosearch in b2evolution hack[/url], I can't talk about it...