简体   繁体   English

当我点击任意一个链接时,Wordpress访问页面上的所有外部链接。

[英]Wordpress visit all external links on page when I click any 1 link.

I have developed an affiliate website in wordpress. 我在wordpress开发了一个联盟网站。 My site contains list of godaddy domains in table. 我的网站包含表格中的godaddy域名列表。 All links are affiliated links in table. 所有链接都是表中的附属链接。

Problem is when I click on any link from table in wordpress website then at CJ.com it counts all the link as a click in the list. 问题是,当我点击wordpress网站中的表格中的任何链接,然后点击CJ.com时,它会将所有链接计为列表中的点击。

For eg. 例如。 I have 405 domains in a list of table, when I click on any 1 link than at CJ.com it shows 406 clicks. 我在表格列表中有405个域名,当我点击任何1个链接而不是在CJ.com时,它显示406次点击。

I have even tried this on fresh wordpress installation. 我甚至尝试过新鲜的wordpress安装。

Here is the few example of source code: 以下是源代码的几个示例:

<table class="footable" cellspacing="0" cellpadding="0"> <thead>  <tr> <th width="93px">Domain Name</th> <th width="50">Price</th> <th width="93">Auction End Time</th> <th width="93">Sale Type</th> </tr> </thead> <tbody> <tr> <td><a href="http://www.anrdoezrs.net/click-8186857-10497118-1476294381000?url=https://in.auctions.godaddy.com/trpItemListing.aspx?miid=205703908" target="new">x1r.biz</a></td> <td>$5</td> <td>11-04-16 1:52</td> <td>Buy Now</td> </tr> </tbody>  </table> 

Adjust your href target attribute to target="_blank" and it's smart to add rel="nofollow" so Google will not index the Godaddy pages under your name. 将您的href目标属性调整为target="_blank"并且可以添加rel="nofollow"这样Google就不会以您的名义为Godaddy页面编制索引。

Code: 码:

<table class="footable" cellspacing="0" cellpadding="0"> 
<thead>  
    <tr> 
        <th width="93px">Domain Name</th> 
        <th width="50">Price</th> 
        <th width="93">Auction End Time</th> 
        <th width="93">Sale Type</th> 
    </tr> 
</thead> 
<tbody> 
    <tr> 
        <td><a href="http://www.anrdoezrs.net/click-8186857-10497118-1476294381000?url=https://in.auctions.godaddy.com/trpItemListing.aspx?miid=205703908" target="_blank" rel="nofollow">x1r.biz</a></td> 
        <td>$5</td> 
        <td>11-04-16 1:52</td> 
        <td>Buy Now</td> 
    </tr> 
</tbody>  

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Wordpress:当我点击博客链接时,它会将我重定向到主页 - Wordpress: When I click in the blog link then it redirect me to home page 当我单击任何链接并打开新选项卡时,WordPress中的页面不会在同一窗口中打开 - Pages in WordPress do not open in the same window when i click any link thar open new tab WordPress外部链接免责声明页面 - WordPress External Link Disclaimer Page 当我第一次访问 wordpress 网站时,它会在第一次点击时自动打开另一个网站 - When i visit first time on wordpress website, its open another website automatically on first click 当我访问wordpress中的子菜单页面时,如何获取父菜单标题名称 - How can I get parent menu title name when I visit its child menu page in wordpress 将所有外部链接导出到我的 wordpress 博客 - export all external links to my wordpress blog 如何在WordPress中更改所有外部链接的颜色 - How to change all external links color in wordpress 辅助功能错误 - 空链接。 链接不包含文本。 - Wordpress - Accessibility error - Empty link. A link contains no text. - Wordpress 侧边栏中的链接在不是首页的任何页面上均失败-Wordpress - Links in sidebar fail on any page that is not the front - wordpress 如何在 Zerif lite wordpress 主题中为小部件点击设置外部页面链接 - How to set external page link for widget click in Zerif lite wordpress theme
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM