Site logo

Archived topic

Disable auto linking in posts

4 replies · Started by Chris on November 3, 2020

Viewing posts 1–5 of 5

Not really a GeneratePress question, but maybe you guys can help me out. I wrote an article with domain.com as my main keyword. After publishing WP automatically converts all domain.com text into a clickable links. Obviously I want to disable this cause it's bad for seo.

I found this code for comment text

remove_filter( 'comment_text', 'make_clickable', 9 );

...but I need the functions.php code for post text. Any ideas?

Cheers.

Hi there,

i don't think thats the default behaviour of WordPress - can you share a link where i can see the issue?

Sure it's in the private info below. The weird thing is that it only happens after I publish. So not in the preview and when I edit the post there's no added HTML that I can remove.

Thanks for helping out David.

No problems - glad you found the issue - and thanks for letting us know.

This archived topic is closed to new replies.