No Follow Links

We’re in the process of creating some sister sites akin to our domain however we are fighting some link issues within google - how do we go about adding a “no follow” to certain links within Beaver Builder?

We’re using the button module and can we insert this code right after the link page? Or do we need to drop it in as HTML?

Thanks,
Adam

Hey Adam,

Thanks for posting! Sorry to say but that won’t be possible using our Button module. The link box only applies to the href attribute. The nofollow needs to be assigned to the rel attribute. You should be able to do it via HTML with no problems though. :slight_smile:

Ben

Great - Thank you. Could we still use the ‘button’ by grabbing the html under view source or inspect element then adding a rel attribute onto this? THEN insert it into HTML?

What i’m trying to accomplish is still have a ‘button’ but no follow attributes associated with this.

Hey Adam,

That should still work. I did come up with a jQuery script that adds the attribute after the entire document loads. Give it a shot and see if it works for you. :slight_smile: You’ll have to add the class nofollow to the button modules you’ll want this to apply to.

jQuery(document).ready(function() {
  jQuery('.nofollow a').attr('rel','nofollow');
});

Ben

Great - I’ll give that a try and will let you know!

Same question here Ben :wink: I know how to add the nofollow in html but can’t find out how to get in the html version of a page built with Beaver Builder? Hope you can help me out. Thank you so much,

Laura

Hey Laura,

There’s no way to get the HTML version of the page builder. I mean you can copy the markup on the frontend and paste it to an HTML module but then you’d lose the page builder functionalities. Have you tried the method I suggested above though? Not really sure if Google parses those scripts but it’s worth a shot! :slight_smile:

Ben