<code id='A547764E2D'></code><style id='A547764E2D'></style>
    • <acronym id='A547764E2D'></acronym>
      <center id='A547764E2D'><center id='A547764E2D'><tfoot id='A547764E2D'></tfoot></center><abbr id='A547764E2D'><dir id='A547764E2D'><tfoot id='A547764E2D'></tfoot><noframes id='A547764E2D'>

    • <optgroup id='A547764E2D'><strike id='A547764E2D'><sup id='A547764E2D'></sup></strike><code id='A547764E2D'></code></optgroup>
        1. <b id='A547764E2D'><label id='A547764E2D'><select id='A547764E2D'><dt id='A547764E2D'><span id='A547764E2D'></span></dt></select></label></b><u id='A547764E2D'></u>
          <i id='A547764E2D'><strike id='A547764E2D'><tt id='A547764E2D'><pre id='A547764E2D'></pre></tt></strike></i>

          WordPress无线上网投赏金女王2块爆分13万在澳门的合法性插件外部链接自动添加nofollow标签

          2025-06-21 21:41:58 21992

          严格要求的话是需要在外部链接全部加上nofollow标签。这样所有的外部链接就会自动加上nofollow标签。当然我们也可以通过代码实现无插件添加方法。当然目前一些wordpress主题设置有这个nofollow标签赏金女王2块爆分13万功能。线上网投在澳门的合法性有些外部链接是没有加Nofollow标签,

          //文章自动nofollowadd_filter( 'the_content', 'tin_seo_wl');function tin_seo_wl( $content ) {    $regexp = "<a\s[^>]*href=(\"??)([^\" >]*?)\\1[^>]*>";    if(preg_match_all("/$regexp/siU", $content, $matches, PREG_SET_ORDER)) {        if( !empty($matches) ) {               $srcUrl = get_option('siteurl');            for ($i=0; $i < count($matches); $i++)            {                   $tag = $matches[$i][0];                $tag2 = $matches[$i][0];                $url = $matches[$i][0];                   $noFollow = '';                $pattern = '/target\s*=\s*"\s*_blank\s*"/';                preg_match($pattern, $tag2, $match, PREG_OFFSET_CAPTURE);                if( count($match) < 1 )                    $noFollow .= ' target="_blank" ';                   $pattern = '/rel\s*=\s*"\s*[n|d]ofollow\s*"/';                preg_match($pattern, $tag2, $match, PREG_OFFSET_CAPTURE);                if( count($match) < 1 ) $noFollow .= ' rel="nofollow" '; $pos = strpos($url,$srcUrl); if ($pos === false) { $tag = rtrim ($tag,'>');                    $tag .= $noFollow.'>';                    $content = str_replace($tag2,$tag,$content);                }            }        }    }       $content = str_replace(']]>', ']]>', $content);    return $content;}

          添加到当前主题Funcions.php 文件中,如果手动每个链接加入是很麻烦,有时内容线上网投赏金女王2块爆分13万在澳门的合法性会引用或分享一些外部链接地址,可以直接找一些wordpress插件安装。在技术层面是有传递出去权重。

          在wordpress写文章时,

          本文地址:http://vsw6u.xny028cc.com/beer/2025-06-21-15-57-39-0.html
          版权声明

          本文仅代表作者观点,不代表本站立场。
          本文系作者授权发表,未经许可,不得转载。

          热门标签

          全站热门

          jquery实现网站侧边栏社交分享按钮

          Centos7 mysql自动重启(定时检测mysql运行状态)命令

          js实现手机访问网页自动跳转到手机移动页面

          WordPress图片主题Lovephoto2.0.2分享

          多功能二维码在线生成网站源码

          个人域名备案需要网站建设方案书

          boke字母拼音是什么意思?

          OpenAI与Jony Ive联手打造AI硬件:未来科技饰品,明年亮相?

          友情链接