Page 1 of 1

How to? Do not index a external link

Posted: Thu Sep 28, 2017 11:16 am
by Jerry
Hi all.
I have a link to a currency converter on some of my web pages and I would like to stop it from being indexed by Google, Bing, etc.
Is there a way of put some code in the HTML object where I have the link to prevent that link from being indexed?
If so what would I put in there?
Thank you much in advance.
Jerry

This is one of the pages I am talking about.

https://www.edesignsplans.ca/e-designs_ ... 12623.html

Re: How to? Do not index a external link

Posted: Thu Sep 28, 2017 1:25 pm
by BaconFries
Although not directly related to the programme there is two ways to do this. 1) Use a robot.txt file or 2) add a rel=”nofollow” or rel="noindex" attribute to the <a> tag. It is recommended that you use one of the nofollow/noindex as Google sees the link as a possible sponsored/paid link and can drop it from the search engines results page. You can read more about using the robots.txt method by searching Google.

Re: How to? Do not index a external link

Posted: Thu Sep 28, 2017 2:24 pm
by Jerry
Thank you for getting back to me.
You'll have to forgive me.. I just an old fart trying to keep my website going and I don't know much about all this.. :)
Can I put the nofollow before the link like this? rel="nofollow" http://www.bankofcanada.ca/rates/exchan ... converter/
I just type it in before the link?
Thanks again

Re: How to? Do not index a external link

Posted: Thu Sep 28, 2017 3:06 pm
by Jerry
Thanks... I found the answer in this post Can google crawl text within a button
Thanks again

Re: How to? Do not index a external link

Posted: Thu Sep 28, 2017 5:25 pm
by Jerry
Ok.. I have that figured out for the objects.
But I can't quite figure out to use the rel="nofollow" on a text link??
Thanks again

Re: How to? Do not index a external link

Posted: Thu Sep 28, 2017 6:37 pm
by WWBman
This is a bit of a kludge which I use in a Text Menu but I think it works with a simple text link:
Add the nofollow option to the Hyperlink URL property as follows:

e.g. http://www.example.com" rel="nofollow

N.B. No closing "
It generates <a href="http://www.example.com" rel="nofollow">...text...</a>

Re: How to? Do not index a external link

Posted: Thu Sep 28, 2017 7:53 pm
by BaconFries
As WWBman has mentioned. Or you can do this. If it is just a single line of text the do this highlight the text this will then trigger the link function we then select this which in turn opens a new window named Edit Hyperlink now select HTML type rel="nofollow" click OK and you will now have a text link with the rel="nofollow" inserted

Re: How to? Do not index a external link

Posted: Thu Sep 28, 2017 8:06 pm
by WWBman
Thanks Baconfries, I'd completely missed that method which is far better than my kludge.

Re: How to? Do not index a external link

Posted: Thu Sep 28, 2017 8:20 pm
by BaconFries
Your welcome

Re: How to? Do not index a external link

Posted: Thu Sep 28, 2017 8:28 pm
by WWBman
Ah, I went to update my link but I've only used the rel="nofollow" in one Text Menu entry and unfortunately there's no Object HTML per menu entry so I'll have to leave my kludge asis for the Text Menu link. :(

Re: How to? Do not index a external link

Posted: Thu Sep 28, 2017 8:36 pm
by BaconFries
Pity about this might be a good suggestion to be put forward to the main man to see if this could be implemented if at all possible.

Re: How to? Do not index a external link

Posted: Thu Sep 28, 2017 8:41 pm
by WWBman
Unless I dreamt it, I think when I first wanted to do this, many moons ago, I did put it in the suggestions section.
It wasn’t particularly urgent so I guess it’s way down Pablo’s list, which is fine with me.

Re: How to? Do not index a external link

Posted: Fri Sep 29, 2017 4:11 pm
by Jerry
Thanks both of you for helping an old guy out.. much appreciated. :)