Disable Auto Linking of URLs in WordPress Comment Form

Have you ever noticed when someone put a plain URL in comment section, WordPress automatically set hyperlink for the URL. If it’s annoying to you, you can easily disable auto linking of URLs in comment form. 

It can be permanently disabled by using a simple code. You don’t need to be an expert on coding to disable auto linking. You need Cpanel or FTP access, then edit function.php file of active theme. 

Copy and paste the following code and you are done.

				
					// Disable auto linking of URLs
remove_filter('comment_text', 'make_clickable', 9);
				
			

If you don’t like to copy paste code, then install WP Adminify plugin in your WordPress Website. 

Navigate to “WP Adminify tweaks option”, click on Tweak > Comments. Search for “Disable Auto Linking” option and enable it.

disable auto linking for WordPress comment text area
Was this article helpful?

© 2021-2024 - Adminify | All rights reserved

WP Adminfy accepted payment methods