开发者

Wordpress: cloaking links

开发者 https://www.devze.com 2023-02-05 04:07 出处:网络
I am cloaking my affiliate link in wordpress and I don\'t want my user to see it in the status bar or something so is there a way for me to go to a page like www.mysite.com/my-redirect.php?p=foo witho

I am cloaking my affiliate link in wordpress and I don't want my user to see it in the status bar or something so is there a way for me to go to a page like www.mysite.com/my-redirect.php?p=foo without me having to create a page or post? or is there a be开发者_如何学JAVAtter way?

My redirect.php file will do the redirection after the user lands to this file.

I am using the latest version.


The best way is to create a masked link, which is a unique link that appear to be embedded into your internal link structure, but really is an offsite redirect. A masked link looks something like http://www.myblog.com/recommendeds/wp-traffic-tools/

There are a couple of commercial solutions including:
WP Traffic Tools
Eclipse Link Cloaker
WP Link Engine

And I believe there are some free tools around but due to all the starch in the topic they are not available in the Wordpress Plugin Database, but are available elsewhere. PlanetOzh I believe has a free one floating around.


What I normally do is use the Urban Giraffe Redirection plugin to create a redirection in my blog to the affiliate link. i.e. say you're going to the link "http://blah.someproduct.clickbank.net", you can use Redirection to create a mapping for "/go/blah" to that link. Pretty easy stuff. Plus you can track how many times the link was clicked in the blog.

http://urbangiraffe.com/plugins/redirection/


The best solution to hide affiliate links is using the free generator made by Clevious. You can find it here

It will allow you to hide all your affiliate links automatically and without doing anything.

Many plugins offer that functionality as premium, but you can have it for free.

All you have to do is entering some information like the platform you are using: Blogger or WordPress, and you would probably exclude some links from being cloaked and there you go, by clicking on generate code, your code will be generated.

For installation, you just need to follow the quick and easy instructions below the generated code.

Good luck.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号