How to make internal cloaked links act like external links

[ad_1]

I use WP links to open all external pages in a new browser tab, but I want internal pages to open in the same browser tab. (I know how to do this)

However, I have many cloaked affiliate links that look like they are internal but which link to external websites. I want them to act like external pages and to open in a new tab. All of these cloaked links have this format:

domain.com/out/address, where “out” is always used to indicate a external link. 

How do I implement that logic – namely to have these cloaked links open a new tab when they look like internal links?

I can’t figure it out from the documentation. 

  • This topic was modified 15 hours, 50 minutes ago by hikingdog.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer