kamiwealth 0 Share Posted April 28, 2020 (edited) Hi. Hoping someone can shed some light on this as I can't seem to find an obvious answer. I'm wondering how, if at all, am I able to add "nofollow" links to images and buttons?? No problem with text, using the markdown box. Edited April 29, 2020 by kamiwealth Link to post
tuanphan 8,967 Share Posted April 30, 2020 Which plan do you use? If you use Business Plan, you can use some custom code to add rel="nofollow" to all image/button links. Can you share link to your site? kamiwealth 1 You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
kamiwealth 0 Author Share Posted May 3, 2020 (edited) Hi tuanphan, thank you for replying. Sorry for my late reply. Yes, I have a business plan. Any guides you can recommend to do this? I'm a content writer and have very basic knowledge of code! My site: https://www.kamiwealth.com/ Edited May 3, 2020 by kamiwealth spelling Link to post
kamiwealth 0 Author Share Posted May 9, 2020 @tuanphan Hi tuanphan, any update on this? (I know you're busy, apologies) Link to post
tuanphan 8,967 Share Posted May 9, 2020 6 hours ago, kamiwealth said: @tuanphan Hi tuanphan, any update on this? (I know you're busy, apologies) Add to Home > Settings > Advanced > Code Injection > Footer <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $("a").attr('rel','nofollow'); }); </script> You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
kamiwealth 0 Author Share Posted May 9, 2020 @tuanphan Thank you, much appreciated. I'm assuming this code will affect everything site-wide? Link to post
tuanphan 8,967 Share Posted May 10, 2020 18 hours ago, kamiwealth said: @tuanphan Thank you, much appreciated. I'm assuming this code will affect everything site-wide? you can add to Page Header, if you want to run One Page You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
kamiwealth 0 Author Share Posted May 12, 2020 Do you mind explaining briefly what this script actually does please @tuanphan For example; I know it's for nofollow, but does it make everything on the page nofollow? Is it just for buttons and images? I do apologize for all the questions! Link to post
tuanphan 8,967 Share Posted May 13, 2020 above code for all links Which page you want to change? also can you take screenshot images/button on that page? You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
IgorAvidon 14 Share Posted May 13, 2020 Having the option within the WYSIWYG editor to set the appropriate rel= info is actually very important. The rel=nofollow and rel=sponsored attributes play a critical role for Google. We love the Squarespace platform, but this simple option missing is a significant problem. LorraineMarie, christyprice, Shiva74 and 3 others 6 Premier Los Angeles SEO Agency Link to post
Zineta 1 Share Posted July 11, 2020 @tuanphan Is there a way to configure the script so that it only makes links to a certain root domain (for example amazon) no follow while the rest is dofollow? Link to post
biseyre 0 Share Posted July 11, 2020 On 5/13/2020 at 1:58 PM, IgorAvidon said: Having the option within the WYSIWYG editor to set the appropriate rel= info is actually very important. The rel=nofollow and rel=sponsored attributes play a critical role for Google. We love the Squarespace platform, but this simple option missing is a significant problem. Maybe they fix it in some time. 🤔 Link to post
tuanphan 8,967 Share Posted July 11, 2020 7 hours ago, Zineta said: @tuanphan Is there a way to configure the script so that it only makes links to a certain root domain (for example amazon) no follow while the rest is dofollow? <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('[href*="beaverhero.com"]').attr('rel','nofollow'); }); </script> Notes: This code will target all links that contain the word "beaverhero.com" in the link. Zineta and wordswithjennifer 1 1 You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
Zineta 1 Share Posted July 12, 2020 9 hours ago, tuanphan said: <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('[href*="beaverhero.com"]').attr('rel','nofollow'); }); </script> Notes: This code will target all links that contain the word "beaverhero.com" in the link. That works perfectly, thank you! Link to post
wordswithjennifer 1 Share Posted September 24, 2020 On 7/11/2020 at 3:36 PM, tuanphan said: <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $('[href*="beaverhero.com"]').attr('rel','nofollow'); }); </script> Notes: This code will target all links that contain the word "beaverhero.com" in the link. Thank you so much! I'm so happy to finally find the code that works. tuanphan 1 Link to post
kathryn 0 Share Posted November 18, 2020 On 5/9/2020 at 9:11 AM, tuanphan said: Add to Home > Settings > Advanced > Code Injection > Footer <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $("a").attr('rel','nofollow'); }); </script> Link to post
kathryn 0 Share Posted November 18, 2020 I've got a lot of links out of the site so I thought it would be a good idea to make them all no follow to avoid the site getting penalised, so this looks like exactly what I need. I've put it into the footer, however I'm not sure that it's working - when I hover over the links I'm not seeing nofollow. Is that how its supposed to be or have I set it up wrong. You can see the site here: shopportunity.ie You can see an example of a link out on this page on the button that says VISIT THE GUTTER BOOKSHOP https://shopportunity.ie/irish-online-store-directory/thegutterbookshop Any advice would be hugely appreciated! Link to post
tuanphan 8,967 Share Posted November 18, 2020 I see nofollow here. You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
kathryn 0 Share Posted November 18, 2020 Oh wonderful! I thought that as it wasn't showing up when I hovered over the button that it might not be working. Thank you so much for taking the time to help - it's much appreciated! Link to post
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment