How to? Do not index a external link

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
Jerry
 
 
Posts: 120
Joined: Fri Dec 02, 2016 10:13 am

How to? Do not index a external link

Post 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
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: How to? Do not index a external link

Post 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.
Jerry
 
 
Posts: 120
Joined: Fri Dec 02, 2016 10:13 am

Re: How to? Do not index a external link

Post 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
Jerry
 
 
Posts: 120
Joined: Fri Dec 02, 2016 10:13 am

Re: How to? Do not index a external link

Post by Jerry »

Thanks... I found the answer in this post Can google crawl text within a button
Thanks again
Jerry
 
 
Posts: 120
Joined: Fri Dec 02, 2016 10:13 am

Re: How to? Do not index a external link

Post 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
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: How to? Do not index a external link

Post 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>
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: How to? Do not index a external link

Post 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
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: How to? Do not index a external link

Post by WWBman »

Thanks Baconfries, I'd completely missed that method which is far better than my kludge.
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: How to? Do not index a external link

Post by BaconFries »

Your welcome
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: How to? Do not index a external link

Post 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. :(
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: How to? Do not index a external link

Post 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.
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: How to? Do not index a external link

Post 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.
Jerry
 
 
Posts: 120
Joined: Fri Dec 02, 2016 10:13 am

Re: How to? Do not index a external link

Post by Jerry »

Thanks both of you for helping an old guy out.. much appreciated. :)
Post Reply