Adding rel=nofollow to buddypress’ admin bar items
- 
		Hello! Search engines see the hidden admin bar and the login and register links. 
 Is there a way to addrel="nofollow"as our login page is pretending to be a 404.Thanks. 
- 
		
			
This is something I am interested in myself. I’m not sure how customizable the WP admin bar is when adding HTML attributes. The only thing I can think of is removing the item and adding it with rel=nofollow. 
 Currently I’ve modified the plugin’s source code – which is a NO-NO.Hi, Please check this thread: https://wordpress.stackexchange.com/questions/223764/change-to-nofollow-tag-in-wp-login-php/223782 Thanks Thank you @prashantvatsh!! Our login page is a 404, so any meta in it has no effect. So you want to remove the login link and want to add it back with this attribute right? Actually it would be a work-around. 
 I am looking for the clean solution.Why you didn’t tried it with jquery ? In this way you will not need to edit any plugin also. You can try something like this : https://stackoverflow.com/questions/25306815/jquery-add-attribute-to-anchor-tag-in-specific-div-tag-with-id-pattern-content-c Just have to use your classes of login and register links. Thanks > Why you didn’t tried it with jquery ? Maybe search robots will not run JavaScripts. You can try though to check this. 
 https://www.elephate.com/blog/javascript-seo-experiment/
- You must be logged in to reply to this topic.