رفتن به مطلب

لینک های follow و nofollow ؟


WP4All

پست های پیشنهاد شده

سلام.

در مورد لینک های nofollow سوال داشتم .

nofollow یعنی اینکه روبوت گوگل نره تو اون لینک ها و ببینه چه خبره توش ؟

مثلا این لینک :

www.facebook.com/l.php?u=http%3A%2F%2Fwww.rls-movies.com%2Fcategory%2Fmovies&h=UAQHfHdB-&enc=AZMWdWRnZ74PPZ5-duZgMl5EQYJshqnAyOSXkhZCukIq_OJutRJb8N6CNGZLHDCYJb9nWpmW7bh-RytgX9a67i5brB_UZFcA6oosD8FmTBwcTVaXrWwpx2Sqav8NiwVH6yA&s=1

فاللو هستش یا نو فالوو ؟

در این پست :

http://www.rls-movies.com/splash-uk-s02e03-x264-web-dl-hive.html#more-3023

لینک اولی فکر کنم فالو هستش و لینک های بعدی نو فالو درسته ؟

با این کد میشه نوفالو کرد لینک ها رو ؟

<a href="link" rel="nofollow">txt</a>

راه اسون تری نیست که لینک ها بشه نو فالو کرد ؟

بعضی سایت ها این کار رو میکنن که مثلا به یه ادرس یا لینکی که میخوان اشاره کنن اول سایت خودشون میاد بعد چند لحظه ریدایرکت میشه به اون سایت .

مثل همین لینک فی س بوک بالایی . ریدایرکت میشه به سایت خودم .

این کار یعنی نو فالو کردن لینک ها ؟ برای سایت من که انگلیسی هستش این کار مفیده ؟

لینک به ارسال

خوب برای هر لینکی که بخایم نوفالو کنیم استفاده از این کد سخته و وقت گیر .

راه سریعتری نیست کل لینک ها رو نوفالو کنیم ؟

<a href="link" rel="nofollow">txt</a>

تازه این کد بالا رو مثلا اینطور میزاریم تو ادیتور :

<a href="

http://ul.to/gxjif65g/Splash.UK.S02E03.WEB-DL.hive.mp4

" rel="nofollow">DOWNLOAD FROM UPLOADED</a>

قبول نمیکنه .

لینک به ارسال

کد


add_filter('the_content', 'auto_nofollow');

function auto_nofollow($content) {
//return stripslashes(wp_rel_nofollow($content));

return preg_replace_callback('/<a>]+/', 'auto_nofollow_callback', $content);
}

function auto_nofollow_callback($matches) {
$link = $matches[0];
$site_link = get_bloginfo('url');

if (strpos($link, 'rel') === false) {
$link = preg_replace("%(href=S(?!$site_link))%i", 'rel="nofollow" $1', $link);
} elseif (preg_match("%href=S(?!$site_link)%i", $link)) {
$link = preg_replace('/rel=S(?!nofollow)S*/i', 'rel="nofollow"', $link);
}
return $link;
}

http://www.wprecipes.com/wordpress-hack-automatic-nofollow-for-external-links-in-post-content

http://wordpress.org/plugins/sem-external-links/

لینک به ارسال

کد


add_filter('the_content', 'auto_nofollow');

function auto_nofollow($content) {
//return stripslashes(wp_rel_nofollow($content));

return preg_replace_callback('/<a>]+/', 'auto_nofollow_callback', $content);
}

function auto_nofollow_callback($matches) {
$link = $matches[0];
$site_link = get_bloginfo('url');

if (strpos($link, 'rel') === false) {
$link = preg_replace("%(href=S(?!$site_link))%i", 'rel="nofollow" $1', $link);
} elseif (preg_match("%href=S(?!$site_link)%i", $link)) {
$link = preg_replace('/rel=S(?!nofollow)S*/i', 'rel="nofollow"', $link);
}
return $link;
}

http://www.wprecipes...in-post-content

http://wordpress.org...external-links/

به نظرتون این کار که لینک های خروجی همه نوفالو بشن خوبه برای سایت وارز انگلیسی ؟

من از پلاگین دارم استفاده میکنم .

این گزینه ها رو تیک اولی و آخری رو بزنم خوبه یا همون که برداشته خوبه ؟

یعنی این دو گزینه .

Apply Globally

Apply these settings to all outbound links on the site except those in scripts, styles and the html head section.

Open in New Windows

Open outbound links in new windows.

Note: Some usability experts discourage this, claiming that this can damage your visitors' trust towards your site. Others highlight that computer-illiterate users do not always know how to use the back button, and encourage the practice for that reason.

ویرایش شده توسط WP4All
لینک به ارسال

به نظرتون این کار که لینک های خروجی همه نوفالو بشن خوبه برای سایت وارز انگلیسی ؟

من از پلاگین دارم استفاده میکنم .

این گزینه ها رو تیک اولی و آخری رو بزنم خوبه یا همون که برداشته خوبه ؟

یعنی این دو گزینه .

Apply Globally

Apply these settings to all outbound links on the site except those in scripts, styles and the html head section.

Open in New Windows

Open outbound links in new windows.

Note: Some usability experts discourage this, claiming that this can damage your visitors' trust towards your site. Others highlight that computer-illiterate users do not always know how to use the back button, and encourage the practice for that reason.

بهتره nofollow باشند

گزینه اول برای تغییر لینکهای سایت هست

گزینه دوم هم نمایش در صفحه جدید

لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...