How to Remove Index Link?

Like WordPress versions tag, the homepage index tag is unnecessary for the head area. Using the following code inside your function.php file, you can get rid of this issue. 

Just edit your active theme function.php file and copy-paste the following code.

				
					// Remove Link to Home Page.
remove_action('wp_head', 'index_rel_link');
				
			

If you are a non tech person and loves to achieve the save result, then WP Adminify will help you. Navigate to WP Adminify tweaks option. Then go to the head section and search for “Remove Index Link” option. Just enable it and save it.

remove index link from head section
August 27, 2021
Head Tips and Tutorials
Was this article helpful?

© 2021-2024 - Adminify | All rights reserved

WP Adminfy accepted payment methods