Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
To fix the internal link issue, please add the following filter code to your theme’s functions.php file and Reset the links data from Database tools – https://rankmath.com/kb/link-counter/#reset-internal-links-data
add_filter( 'rank_math/links/link_type', function( $type, $link ) {
$link_parts = wp_parse_url( $link );
if ( isset( $link_parts['host'] ) && 'website.com' === $link_parts['host'] ) {
return 'internal';
}
return $type;
}, 10, 2 );
This should fix the Internal/External link count on your site.
Also, when we try to Open in New Tab for External domains, it’s causing our ‘website.com’ links to open in New Tab, because everything shows as ‘wp.website.com’ in the WordPress subdomain.
I couldn’t reproduce this issue on my setup. Can you please add your site’s Admin access in the Sensitive Data section by editing the first post on this ticket?
Please do take a complete backup of your website before sharing the information with us.
![Sensitive Data Section](https://i.mythemeshop.com/SphEG0+)
It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/
You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/
We really look forward to helping you.