标题标签优化:完整的操作指南

[ad_1]

标题标签优化:完整的操作指南

标签对任何人都至关重要 <a href="https://www.searchenginejournal.com/5-things-every-seo-strategy-needs/210734/" data-wpel-link="external" target="_self" rel="nofollow external noopener noreferrer">SEO策略</a> 成功。</p> <p>标题标签的丢失,重复和书写不当都会对您的SEO结果产生负面影响。</p> <p>不要让这种情况发生在您身上。</p> <p>本章将帮助您了解编写和优化出色标题标签的过程。</p> <p>什么是标题标签?</p> <p>的 <a href="https://www.searchenginejournal.com/important-tags-seo/156440/" data-wpel-link="external" target="_self" rel="nofollow external noopener noreferrer">标题标签</a> 是存在于每个网页顶部的HTML标记。它提供有关其所在页面的主题主题的初始提示或上下文。</p> <p>标题标记在搜索引擎结果页面(通常用作可单击的链接)以及浏览器窗口中突出显示。</p> <p>除了这两个位置之外,用户在着陆到该页面时不会立即看到该页面上其他网页内容(例如,正文,图像内容和其他方面)。</p> <p>标题标签不是用户在网页上看到的视觉元素,因此有时可能会忽略标题标签。</p> <p>同时,标题标签本身对自然排名的影响很小。没有一项是神奇或强大的项目-特别是在您的内容质量低下或您忽略了技术SEO的情况下。</p> <p>优化标题标签进行搜索时,需要考虑以下八个重要方面。</p> <p>1.网站内页面的上下文</p> <p>在编写优化的标题标签之前,您需要知道页面在网站整体层次结构中的适合位置。</p> <p>主页标题标签将与博客文章或产品页面大不相同。</p> <p>对于页面很多的网站,提出不同页面的标签可能是具有挑战性的。这就是为什么映射您的网站并知道每个页面适合您主题的内容很重要的原因。</p> <p>您进入网站的每个页面越深,您可以并且应该就越具体。</p> <p>您可以重复单词和短语,但是在进入您要访问的站点的每一步中都应该更加详细。</p> <p>具有相应上下文的网站不同级别的标题标签的电子商务示例:</p> <ul> <li style="font-weight: 400;"> <p>主页:The Man Registry赠送的伴郎礼物和独特的男士礼物</li> <li style="font-weight: 400;"> <p>产品类别页面:The Man Registry赠送给伴郎的烧烤用具和餐具礼品</li> <li style="font-weight: 400;"> <p>产品页面:The Man Registry定制的5件烧烤用具</li> </ul> <p>2.页面内的主题相关性</p> <p>了解页面在网站整体层次结构中的位置的下一步是评估页面上的内容。</p> <p>当标题标签引入页面主题并且在正文,图像alt属性,元描述,URL和页面其他方面使用相同的重要关键字时,标题标签对搜索引擎和用户影响最大。</p> <p>如果编写标题标签会导致跳出率更高,并且与页面主题的相关性更高,那么在编写标题标签时忽略页面内容是一种浪费的练习。</p> <p>您应该在title标签中使用单词,这些单词也将在页面的其他部分使用,以将主题关联在一起。</p> <p>3.唯一标签</p> <p>重复的标题标签对搜索者或搜索引擎没有帮助。</p> <p>如果您有重复的标签,则会在 <a href="https://www.searchenginejournal.com/google-search-console-guide/209318/" data-wpel-link="external" target="_self" rel="nofollow external noopener noreferrer">Google Search Console</a> 或Bing网站管理员工具报告,您经常会发现搜索引擎选择忽略标题标签,而将其在页面上找到的其他内容用于SERP中的蓝色链接文本。</p> <p>当多个页面具有相同标签时,这些标签对搜索引擎无用。</p> <p>您可以使用Google Search Console和Bing网站管理员工具中提供的数据来查找问题所在,并通过任意数量的页面审核员和抓取工具运行自己的测试。</p> <p>如果您的网站中有重复的标签,请向您的SEO行动计划中添加编写自定义标签。</p> <p>4.尽可能使用动态选项</p> <p>如果您有一个大型网站,或者拥有大量动态数据的网站(例如电子商务网站),请找到对标签进行语义编码的方法。</p> <p>大多数内容管理系统和网站平台都会自动生成标题标签。</p> <p>如果要覆盖或自定义默认标题标签,请与开发人员一起使用或在网站平台设置内找到方法,以添加更多详细信息并在不同级别进行自定义。</p> <p>您可以扩展的越多,而不必手动管理数百或数千个标签,效果越好。</p> <p>动态结构的示例可以在所有产品页面标签中包含一些标准文本,但是具有从数据库填充的产品的特定名称。</p> <p>例如,它可能是“[product_name] 括号中的“ product_name”将是一个变量,它将使用数据库中的实际产品名称填充标题的该部分。</p> <p>在这种情况下,您不必手动编写所有产品标题标签,并且可以确保它们是唯一的。如果您拥有具有不同产品或属性(例如不同颜色)的相同产品的情况,则还可以查看从数据库添加更多变量的方法。</p> <p>5.搜索者意图关键字的使用</p> <p>我们都可以联系到我们真正想要找到特定问题答案的时间,但是排名靠前的网站正在回答一个不同的问题。对于未引起注意的精彩内容也是如此。</p> <p>知道您的受众正在搜索什么以及他们如何搜索,对于标题标签优化至关重要。</p> <p>如果您不知道人们在搜索时使用的单词和短语,那么您就有可能猜错。</p> <p>不要跳过 <a href="https://www.searchenginejournal.com/seo-guide/complete-guide-keyword-research/" data-wpel-link="external" target="_self" rel="nofollow external noopener noreferrer">关键字研究</a> 或在优化标题标签时忽略它。</p> <p>在当前基于上下文的SEO时代,您不必担心关键字或短语的每个文字版本,但是您也不能忽略搜索者及其意图。</p> <p>优化标题标签的目标是使您使用的措词与搜索内容相匹配,只要感知的意图是页面内容的重点即可。</p> <p>6. SERP中的号召性用语</p> <p>请记住,标题标签将在搜索结果页面(SERP)的蓝色链接中显示为文本。</p> <p>这是一个着名的房地产,此处显示的信息极大地影响了搜索者决定是否点击进入您的网站或移至下一个搜索结果的决定。</p> <p>您的重点必须放在回答搜索者的问题,需求或愿望上。</p> <p>清楚了解您的页面内容以及对您和您的访问者而言预期的结果至关重要。</p> <p>如果您试图在一个页面上完成太多的业务目标,可能很难将重点足够明确地放在行动呼吁(CTA)上。如果发现这种情况,请考虑将您的内容分成更多主题和页面。</p> <p>就像编写可靠的PPC文字广告标题一样,标题标签需要与搜索者的意图相匹配才能赢得他们的点击。</p> <p>编写标题标签时,请记住该标签被Google截断为70-71个字符。用户看不到超过该字符数的任何单词。</p> <p>在其中输入重要的单词和短语。简明扼要,直截了当,并优先考虑重要单词,使其尽可能早地出现在标题标签中。</p> <p>例如,您可能在首页上的平均标题标签为:“ The Man Registry赠送的伴郎礼物和独特男人的礼物”。</p> <p>您可以测试更具实用性的语言,例如“在The Man Registry购买最好的伴郎和独特的男士礼物”。</p> <p>7.不要太努力</p> <p>避免使用重复且垃圾的标题。</p> <p>抵制过度使用标题标签的诱惑。</p> <p>搜索引擎专注于上下文-而不是原义关键字的使用,频率和密度。</p> <p>选择对页面主题和意图清晰的单词,并在标题标签中坚持使用。</p> <p>您可以使用页面较长的表格区域来详细说明和建立该上下文。</p> <p>危险的标题标签的示例是:“伴郎礼物,伴郎礼物,男士礼物,独特礼物”。</p> <p>过分重复单词是发现麻烦的快速方法。</p> <p>8.透视标题标签的影响</p> <p>不要过分强调标题标签的重要性或影响力。</p> <p>尽管优化网站上的所有标题标签可能会遇到一点麻烦,但您不能指望仅标题标签是SEO成功的关键。</p> <p>整体搜索优化更为重要。</p> <p>在许多情况下,标题标签优化只是您在SERP顶部的起点或切入点–进行细微调整,并花费大量时间专注于细微的措词更改,以查看它们如何影响排名靠前的位置时间。</p> <p>结论</p> <p>标题标签只是详尽的SEO计划的组成部分之一。</p> <p>在真空中,标题标签不是重要的细节,但是在上下文中结合单个页面中的所有其他页面因素,以及与网站的所有页面协同工作,可以成为获得更多流量的成功因素。 。</p> <p>通过在SERP中使用CTA的直接影响来指示页面内容,标题标签可能会有所帮助。</p> <p>网站上的标题标签问题,包括丢失,太短,重复,塞满的标签</p> <p>太多重复的单词,或否则无济于事,则可能表示SEO和总体用户体验不佳。</p> <p>因此,请确保标题标记在优化计划中始终具有适当的位置。</p> <p>特色图片来源:Paulo Bobita</p> </div> </div> </div> </div> </div> <aside id="secondary" class="cs-widget-area cs-sidebar__area"> <div class="cs-sidebar__inner"> <div class="widget_text widget custom_html-2 widget_custom_html"><div class="textwidget custom-html-widget"><a href="https://www.vultr.com/?ref=8945630-8H" data-wpel-link="external" target="_self" rel="nofollow external noopener noreferrer"><img src="https://wpjian.com/wp-content/uploads/2020/09/VULTR.jpg" width="100%" height="auto"></a></div></div><div class="widget widget_wpcc-2 widget_wpcc"> <div id="wpcc_widget_inner"><!--WPCC_NC_START--> <span id="wpcc_original_link" class="wpcc_current_lang" ><a class="wpcc_link" href="https://wpjian.com/wordpress-seo/2020010229506.html" title="简体中文" data-wpel-link="internal">简体中文</a></span> <span id="wpcc_zh-tw_link" class="wpcc_lang" ><a class="wpcc_link" href="https://wpjian.com/zh-tw/wordpress-seo/2020010229506.html" title="繁体中文" data-wpel-link="internal">繁体中文</a></span> <!--WPCC_NC_END--></div> </div><div class="widget powerkit_widget_posts-2 powerkit_widget_posts"> <div class="widget-body pk-widget-posts pk-widget-posts-template-default pk-widget-posts-template-list posts-per-page-6"> <ul> <li class="pk-post-item"> <article class="post-61438 post type-post status-publish format-standard has-post-thumbnail category-tips cs-entry cs-video-wrap" style=""> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__thumbnail cs-overlay-ratio cs-ratio-original"> <div class="cs-overlay-background cs-overlay-transparent"> <img width="150" height="97" src="https://wpjian.com/wp-content/uploads/2024/01/wordpress-theme-file-editor.webp.jpg" class="attachment-thumbnail size-thumbnail wp-post-image" alt="" decoding="async" loading="lazy" /> </div> <a class="cs-overlay-link" href="https://wpjian.com/tips/2024010561438.html" data-wpel-link="internal"></a> </div> <div class="cs-entry__inner cs-entry__content"> <h3 class="cs-entry__title"> <a href="https://wpjian.com/tips/2024010561438.html" data-wpel-link="internal">如何在没有插件的情况下在 WordPress 中导入 CSV 文件</a> </h3> </div> </div> </article> </li> <li class="pk-post-item"> <article class="post-61410 post type-post status-publish format-standard has-post-thumbnail category-tips cs-entry cs-video-wrap" style=""> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__thumbnail cs-overlay-ratio cs-ratio-original"> <div class="cs-overlay-background cs-overlay-transparent"> <img width="150" height="67" src="https://wpjian.com/wp-content/uploads/2024/01/how-to-enable-maintenance-mode-in-wordpress.png" class="attachment-thumbnail size-thumbnail wp-post-image" alt="" decoding="async" loading="lazy" /> </div> <a class="cs-overlay-link" href="https://wpjian.com/tips/2024010561410.html" data-wpel-link="internal"></a> </div> <div class="cs-entry__inner cs-entry__content"> <h3 class="cs-entry__title"> <a href="https://wpjian.com/tips/2024010561410.html" data-wpel-link="internal">如何将 WordPress 置于维护模式(安全且简单的方法)</a> </h3> </div> </div> </article> </li> <li class="pk-post-item"> <article class="post-61400 post type-post status-publish format-standard has-post-thumbnail category-tips cs-entry cs-video-wrap" style=""> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__thumbnail cs-overlay-ratio cs-ratio-original"> <div class="cs-overlay-background cs-overlay-transparent"> <img width="150" height="46" src="https://wpjian.com/wp-content/uploads/2024/01/how-to-add-images-708x218-1.jpg" class="attachment-thumbnail size-thumbnail wp-post-image" alt="" decoding="async" loading="lazy" /> </div> <a class="cs-overlay-link" href="https://wpjian.com/tips/2024010561400.html" data-wpel-link="internal"></a> </div> <div class="cs-entry__inner cs-entry__content"> <h3 class="cs-entry__title"> <a href="https://wpjian.com/tips/2024010561400.html" data-wpel-link="internal">如何向 WordPress 帖子添加多媒体</a> </h3> </div> </div> </article> </li> <li class="pk-post-item"> <article class="post-61390 post type-post status-publish format-standard category-tips cs-entry cs-video-wrap" style=""> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__content"> <h3 class="cs-entry__title"> <a href="https://wpjian.com/tips/2023092061390.html" data-wpel-link="internal">谷歌域名与WordPress集成:建立您的专业网站</a> </h3> </div> </div> </article> </li> <li class="pk-post-item"> <article class="post-61386 post type-post status-publish format-standard category-tips cs-entry cs-video-wrap" style=""> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__content"> <h3 class="cs-entry__title"> <a href="https://wpjian.com/tips/2023092061386.html" data-wpel-link="internal">了解WordPress社区:专访揭示内部运作</a> </h3> </div> </div> </article> </li> <li class="pk-post-item"> <article class="post-61382 post type-post status-publish format-standard category-tips cs-entry cs-video-wrap" style=""> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__content"> <h3 class="cs-entry__title"> <a href="https://wpjian.com/tips/2023092061382.html" data-wpel-link="internal">Azure 提供的 WordPress 免费游乐场</a> </h3> </div> </div> </article> </li> </ul> </div> </div><div class="widget_text widget custom_html-4 widget_custom_html"><div class="textwidget custom-html-widget"><script type="rocketlazyloadscript" async data-rocket-src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8713839794068339" crossorigin="anonymous"></script> <!-- block --> <ins class="adsbygoogle" style="display:inline-block;width:300px;height:250px" data-ad-client="ca-pub-8713839794068339" data-ad-slot="7982876503"></ins> <script type="rocketlazyloadscript"> (adsbygoogle = window.adsbygoogle || []).push({}); </script></div></div> </div> </aside> </div> <div class="cs-entry__post-related"> <h5 class="cs-section-heading cs-section-heading-common is-style-cnvs-block-section-heading-default halignleft "><span class="cs-section-subheadings">相关文章</span></h5> <div class="cs-entry__post-wrap"> <article class="cs-entry-default post-44713 post type-post status-publish format-standard has-post-thumbnail category-wordpress-seo cs-entry cs-video-wrap"> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__content"> <h2 class="cs-entry__title"><a href="https://wpjian.com/wordpress-seo/2021050444713.html" data-wpel-link="internal">Tammie Lister访谈–“我们通过迫使主题具有不应该存在的功能使主题成为插件”</a></h2> <div class="cs-entry__excerpt"> [ad_1] 大家好! 我们将再次接受WordPress专业人士的采访,这一次,我们… </div> <div class="cs-entry__details "> <div class="cs-entry__details-data"> <div class="cs-entry__details-meta"> <div class="cs-entry__post-meta" ><div class="cs-meta-date">2021年5月4日</div></div> </div> </div> <div class="cs-entry__read-more"> <a href="https://wpjian.com/wordpress-seo/2021050444713.html" data-wpel-link="internal"> 阅读更多 </a> </div> </div> </div> </div> </article> <article class="cs-entry-default post-7591 post type-post status-publish format-standard has-post-thumbnail category-wordpress-seo cs-entry cs-video-wrap"> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__content"> <h2 class="cs-entry__title"><a href="https://wpjian.com/wordpress-seo/201908317591.html" data-wpel-link="internal">如何避免SEO错误信息</a></h2> <div class="cs-entry__excerpt"> [ad_1] 关于SEO的很多好消息都在那里。但也有相当多的不良信息。当Google… </div> <div class="cs-entry__details "> <div class="cs-entry__details-data"> <div class="cs-entry__details-meta"> <div class="cs-entry__post-meta" ><div class="cs-meta-date">2019年8月31日</div></div> </div> </div> <div class="cs-entry__read-more"> <a href="https://wpjian.com/wordpress-seo/201908317591.html" data-wpel-link="internal"> 阅读更多 </a> </div> </div> </div> </div> </article> <article class="cs-entry-default post-49371 post type-post status-publish format-standard has-post-thumbnail category-wordpress-seo cs-entry cs-video-wrap"> <div class="cs-entry__outer"> <div class="cs-entry__inner cs-entry__content"> <h2 class="cs-entry__title"><a href="https://wpjian.com/wordpress-seo/2021091749371.html" data-wpel-link="internal">如何使用新的基于块的 WordPress 小工具编辑器</a></h2> <div class="cs-entry__excerpt"> [ad_1] 在 WordPress 5.8(2021 年 7 月发布)中,Word… </div> <div class="cs-entry__details "> <div class="cs-entry__details-data"> <div class="cs-entry__details-meta"> <div class="cs-entry__post-meta" ><div class="cs-meta-date">2021年9月17日</div></div> </div> </div> <div class="cs-entry__read-more"> <a href="https://wpjian.com/wordpress-seo/2021091749371.html" data-wpel-link="internal"> 阅读更多 </a> </div> </div> </div> </div> </article> </div> </div> </div> </div> </main> <footer class="cs-footer cs-footer-one" data-scheme="default"> <div class="cs-container"> <div class="cs-footer__item"> <div class="cs-footer__col cs-col-left"> <div class="cs-footer__inner"> <div class="cs-logo"> <a class="cs-footer__logo cs-logo-once" href="https://wpjian.com/" data-wpel-link="internal"> WP建站 </a> </div> <div class="cs-footer__desc"> <p class="copyright">© 2019 - 2022 by <a href="https://wpjian.com" data-wpel-link="internal">WPJIAN</a>. </p> </div> </div> </div> <div class="cs-footer__col cs-col-center"> </div> <div class="cs-footer__col cs-col-right"> <div class="cs-footer-social-links"> </div> </div> </div> </div> </footer> </div> </div> <script type="rocketlazyloadscript" id="rocket-browser-checker-js-after"> "use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}(); </script> <script id="rocket-preload-links-js-extra"> var RocketPreloadLinksConfig = {"excludeUris":"\/page\/|\/(?:.+\/)?feed(?:\/(?:.+\/?)?)?$|\/(?:.+\/)?embed\/|\/(index\\.php\/)?(.*)wp\\-json(\/.*|$)|\/refer\/|\/go\/|\/recommend\/|\/recommends\/","usesTrailingSlash":"","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|pdf|doc|docx|xls|xlsx|php|html|htm","siteUrl":"https:\/\/wpjian.com","onHoverDelay":"100","rateThrottle":"3"}; </script> <script type="rocketlazyloadscript" id="rocket-preload-links-js-after"> (function() { "use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run(); }()); </script> <script type="rocketlazyloadscript" data-rocket-src="https://wpjian.com/wp-includes/js/imagesloaded.min.js?ver=5.0.0" id="imagesloaded-js" defer></script> <script type="rocketlazyloadscript" data-rocket-src="https://wpjian.com/wp-content/themes/networker/assets/vendor/flickity.pkgd.min.js?ver=1.1.4" id="flickity-js" defer></script> <script id="csco-scripts-js-extra"> var csLocalize = {"siteSchemeMode":"light","siteSchemeToogle":"1"}; var csco_mega_menu = {"rest_url":"https:\/\/wpjian.com\/wp-json\/csco\/v1\/menu-posts"}; </script> <script type="rocketlazyloadscript" data-rocket-src="https://wpjian.com/wp-content/themes/networker/assets/js/scripts.js?ver=1.1.4" id="csco-scripts-js" defer></script> </body> </html> <!-- This website is like a Rocket, isn't it? Performance optimized by WP Rocket. Learn more: https://wp-rocket.me -->