SEO | Link Popularity | Search Engine Consulting | SEO Tutorial | SEO Tools | SEO Forum
Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-30-2004, 06:13 AM
sward sward is offline
SEO Junior
 
Join Date: Mar 2004
Location: North Carolina
Posts: 11 sward is on a distinguished road
Question Channeling pagerank

Hi all, I am thrilled to find the great quality site and forum. I've been a fan of seochat for about 2 years off and on and needed to expand. That may have been where I found you in the first place with a link to the article Channeling pagerank. I am self taught old school (no flash CCS etc on my sites ) I do use Dream Weaver to build most of my pages with of course HTML corrections. Learned enough javascript and cold fusion to get by. Okay with that in mind on your http://www.seo-guy.com/pagerank-articles/channeling-pagerank.html
gives what I thought would be a simple script

<SCRIPT java function nofollow(n) { document.location.href=n; }
</script>
And then, call links like this:
<A HREF="java script:nofollow('another-page.html')"></a>

But when I tried it by placing the first part in my header and 2nd where the link was located it erases my whole page. I'm sure I am just doing something wrong.
I did place my pages like this

<SCRIPT java function nofollow(n){community/community.htm.href=n;}</SCRIPT>

<a href="java script:nofollow('community/community.htm')<a>

which obviously is wrong. If anyone can clarify my problem I would be thrilled. All I need is to understand how the script is written once and I can figure out the rest. A site example that has visible source code would also be helpful.

Which leads to a different question how do you hide source code from showing up? I am one of the highest ranking sites for my keywords( a very local type site in real estate) But a new guy has come to town and is signing up all the local realtors promising the world for a very high fee, then I see he is just coping my code and methods without knowing why I do well. in otherwords he is not getting the results he promises and I am not looking to expand my business so I don't care Just think he ought to do the legwork ! opps sorry for the tangent
Sward
Reply With Quote
  #2  
Old 03-31-2004, 03:17 AM
Pyrrhonist Pyrrhonist is offline
Uber Mod
 
Join Date: Jan 2004
Posts: 681 Pyrrhonist has a spectacular aura aboutPyrrhonist has a spectacular aura aboutPyrrhonist has a spectacular aura about
Send a message via ICQ to Pyrrhonist
Hey sward,

Let me just start by welcoming you to the forum. I see this is your new post.

I had to read over your post 3 or 4 times before figuring out what I think is wrong with your script...

I tried it out, and I seemed to get this to work:
Code:
In <head>
<script language="javascript">
    function noFollow(n) {
        document.location.href=n;
    }
</script>

And then where I have my links, I placed:
Code:
<a href="javascript.noFollow('http://www.mylink.com')">My Anchor Text</a>
And that seems to work as well.

Hopefully this will help you.

SEO Bob
__________________
SEO Tutorial
Bob's quote of the week:
SEO Bob: "world cup of hockey is starting isn't it [, Dilligaf]? Who are you cheering for dilli?"
Dilligaf: "Well... if you promise not to tell my neighbours... "Oh Canada... ""
Reply With Quote
  #3  
Old 03-31-2004, 03:21 AM
Pyrrhonist Pyrrhonist is offline
Uber Mod
 
Join Date: Jan 2004
Posts: 681 Pyrrhonist has a spectacular aura aboutPyrrhonist has a spectacular aura aboutPyrrhonist has a spectacular aura about
Send a message via ICQ to Pyrrhonist
Oh yeah, I forgot about your second part...
You can create a javascript function that would disable right clicking on the page, but all you have to do to bypass that is use a real browser like Firebird and it doesn't work anymore. I believe the function that disables right click is actually an ActiveX control, which is why it's browser specific. I might be wrong though, so Digitalpoint, are you there???

The best thing you can do is export evertyhing you can to a different folder, and then hide that folder. You can easily export your javascript functions, as well as your css files. Just make sure that you place them ina secure place, and you can use a mod_rewrite redirect to make sure that no one can get stuff from there. Your on-page source is pretty much public domain, and can be seen by anyone. I don't know any way to remove that.

Hopefully this will help,

SEO Bob
__________________
SEO Tutorial
Bob's quote of the week:
SEO Bob: "world cup of hockey is starting isn't it [, Dilligaf]? Who are you cheering for dilli?"
Dilligaf: "Well... if you promise not to tell my neighbours... "Oh Canada... ""
Reply With Quote
  #4  
Old 03-31-2004, 06:30 AM
sward sward is offline
SEO Junior
 
Join Date: Mar 2004
Location: North Carolina
Posts: 11 sward is on a distinguished road
Thank you Bob and yes it is very helpful. I don't have time to try your methods today. But will get right on it tonight or tomorrow and let you know if it works.
I have used another folder for JavaScript before to move my rollover scripts off my pages but I don't know how to make it secure. This might not be the place to ask that. I know my server has two folder Database and Html when I FTP to it. but I only learned what I needed to get by I'm afraid. Could anyone guide me to a good tutorial on such things?
Thanks after the 1st I'll try and linger around a bit.
Reply With Quote
  #5  
Old 04-22-2004, 06:40 AM
sward sward is offline
SEO Junior
 
Join Date: Mar 2004
Location: North Carolina
Posts: 11 sward is on a distinguished road
Help! I still can't seem to get this right This is what I tried and I still get "action not approved"
I had to change my site back cause I need a working link ... any suggestions?

In the head:

<script language="JavaScript"> function noFollow(n) {document.location.href=n;}</script>


In the body:

<a href="JavaScript.noFollow('http://www.greatcarolinaproperty.com/form/query.htm')">Property
Inquiry</a>

also tried which I prefer for internal links if I can get the proper code:

<a href="JavaScript.noFollow(/form/query.htm')">Property
Inquiry</a>

I feel so out ouf the loop, I know this is basic Javascript!
Susan

Last edited by sward : 04-22-2004 at 06:44 AM. Reason: typo
Reply With Quote
  #6  
Old 04-23-2004, 12:53 AM
relaxzoolander's Avatar
relaxzoolander relaxzoolander is offline
SEO
 
Join Date: Apr 2004
Location: columbus ohio usa
Posts: 490 relaxzoolander has a spectacular aura aboutrelaxzoolander has a spectacular aura about
Quote:
Originally Posted by sward
Which leads to a different question how do you hide source code from showing up?

this is simply not possible.
theres lots of techniques for discouraging the novice...but someone with skills who is adamant about getting your code...will get it.

Last edited by relaxzoolander : 11-05-2005 at 11:14 PM.
Reply With Quote
  #7  
Old 04-23-2004, 04:56 AM
sward sward is offline
SEO Junior
 
Join Date: Mar 2004
Location: North Carolina
Posts: 11 sward is on a distinguished road
Well then I won't bother hiding it. It's not like I'm some SEO god. I only do well thanks to the advise of all you guru's on these boards. And of course Content is King!.

I still would love for someone to explain what is wrong with this code. Is it ?{document.location.href=n;} I took that as literal. Are you suppose to put the actual document location or is it as you see it? If someone could use my example and help me I can adapt it to all the links I need. Course knowing me a period is out of place or something, stuff like that always effects me. Here is the code again.
In the head:

<script language="JavaScript"> function noFollow(n) {document.location.href=n;}</script>


In the body:

<a href="JavaScript.noFollow('http://www.greatcarolinaproperty.com/form/query.htm')">Property
Inquiry</a>

also I prefer for internal links if I can get the proper code:

<a href="JavaScript.noFollow(/form/query.htm')">Property
Inquiry</a>

web site is www.GreatCarolinaProperty.com
Thanks Susan
Reply With Quote
  #8  
Old 04-27-2004, 05:06 AM
sward sward is offline
SEO Junior
 
Join Date: Mar 2004
Location: North Carolina
Posts: 11 sward is on a distinguished road
Hey to anyone who have been having this same problem. Since I didn't get an answer here I did a search for JavaScript.noFollow and of course the top of ranking was this site, but I found another site with my answer. The problem with this script a href="JavaScript.noFollow(/form/query.htm')">Property
Inquiry</a> was JavaScript.noFollow I needed a ":" instead of a "." In other words javascript:noFollow hope this helps anybody else with this problem. Now lets see if it really works to keep PR from spilling over to those pages.
Susan
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Login/Register
User Name
Password
Remember Me?

Forum Links
Forum Home
SEO Forum
Internet Marketing Forum
Web Design Forum
Web Hosting Forum
Programming Forum
SEO Chat

Quick Links
Forum Home
New Posts
Mark Forums Read
Open Buddy List
User Control Panel
Edit Avatar
Edit Profile
Edit Options
Miscellaneous
Subscribed Threads
My Profile

Search Forums

Advanced Search
All times are GMT -8. The time now is 04:26 PM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.