Webmaster Forum


Go Back   Webmaster Forum > Web Development > Blogging Forum

Blogging Forum Discuss general blogging issues here - design, integration, posting, trackbacks, ETC. Also discuss blogs you like.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 08-07-2012, 12:02 AM
Contributing Member
 
Join Date: 02-26-12
Posts: 107
iTrader: 0 / 0%
Urgent Help Needed Regardsing Blogspot External Links No-Follow

I have a blog on blogspot and I just wanted to know if I can make all external links No-Follow including Side bar's Friends Links and external links in my Posts? I just post a Java Script to do so but still all my blogs external links are do-follow. following is the java script:

PHP Code:
<script type='text/javascript'>
<![
CDATA[
jQuery('a').each(function(){var a=jQuery(this).attr('href');if(typeof a!='undefined'&&a!=""&&(a.indexOf('http://')!=-1||a.indexOf('https://')!=-1)&&a.indexOf(window.location.hostname)==-1){jQuery(this).attr("rel","nofollow")}});
]]>
</script> 
I need urgent help

Last edited by snakeair; 08-07-2012 at 07:30 AM.
 
Reply With Quote
  #2 (permalink)  
Old 08-07-2012, 01:13 AM
Super Moderator
Latest Blog:
None

 
Join Date: 11-11-11
Location: Copenhagen, Denmark
Posts: 1,743
iTrader: 0 / 0%
dofollow and nofollow is for crawlers, and crawlers don't execute javascript.

By default links are dofollow, if you want a link to be nofollow, you will need to add "manually" the rel="nofollow" to the link.

If you want all links on a page to be nofollow, then you can add a meta-tag in the header of the document:
Quote:
<meta name="robots" content="nofollow">
You can't do it with javascript.
__________________
Need a break? EnterCave more than 40000 online games in 15 categories.
Search or browse through EnterCave Online Games Directory
 
Reply With Quote
  #3 (permalink)  
Old 08-07-2012, 02:24 AM
Wes's Avatar
Wes Wes is offline
v7n Mentor
 
Join Date: 09-30-10
Location: Tacoma, WA
Posts: 116
iTrader: 0 / 0%
I'm not sure about the sidebar links because I haven't worked with a blogspot blog in a long long time, but you should be able to nofollow the external links in your blog posts by adding

Quote:
rel="nofollow"
Example:
Quote:
<a rel="nofollow" href="http://www.externalsite.com">ExternalSite</a>
Other than that I'm not sure of an easy way to make all of your external links nofollow, on a blogspot blog, using a single piece of code.

And I wouldn't recommend it either - If it's worth writing about, then more often than not it should be worth linking too.
__________________
http://www.wezley.com

Last edited by Wes; 08-07-2012 at 02:30 AM.
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Blogging Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
banner needed ( urgent ) NiftyStats Buy Web Services 0 05-05-2011 02:01 PM
How does Google treat sites where all external links are no-follow? - GoogleWebmaster HTMLBasicTutor Google Forum 8 03-01-2011 03:00 PM
Everyone..Urgent Help Needed..!!! bin SEO Forum 10 11-12-2008 12:56 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 01:14 AM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.