Reply
how to mask a url??
Old 09-07-2007, 04:11 PM how to mask a url??
Extreme Talker

Posts: 175
Hi there,

I am wanting to mark the url links on my site stardietsecrets.com. As you can see there are some affiliate links in the posts AND in the side bar. When you scroll over them they show the lynxtrack url, I want to mask this so that it doesnt show anything..is this possible?? if so how?

Thanks in advance!
__________________
Want a Free Designer Handbag?
carrielulu is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 09-07-2007, 04:30 PM Re: how to mask a url??
Learning Newbie's Avatar
Moderator

Latest Blog Post:
Republicans Are In Trouble
Posts: 5,531
Name: John Alexander
Not really. You could assign javascript event handlers to change the status bar text to "super happy link" but I can turn off your site's ability to mess with my status bar. You could also try using sneaky java redirects, but that's likely to get you banned from Google.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 09-07-2007, 04:45 PM Re: how to mask a url??
whym's Avatar
Putting food on my family

Posts: 3,429
Name: Daniel
Location: A sleepy town in Mid Wales
You could just use Adsense rather than affiliate marketing - that way, people wouldn't think you were sneaky, which by the subject of this post, I'm sure you're not...
__________________
Whym Web Design - article blog| Personal blog

I need your help - sponsor me!
whym is offline
Reply With Quote
View Public Profile Visit whym's homepage!
 
Old 09-07-2007, 05:02 PM Re: how to mask a url??
Extreme Talker

Posts: 175
hehe thanks! ya i just notice that on a lot of other affiliate sites in particular, when you scrolled over the l;ink it would be like www.mysite.com/hgkjg and not the affiliate site. just wondered how this was done
__________________
Want a Free Designer Handbag?
carrielulu is offline
Reply With Quote
View Public Profile
 
Old 09-07-2007, 05:21 PM Re: how to mask a url??
whym's Avatar
Putting food on my family

Posts: 3,429
Name: Daniel
Location: A sleepy town in Mid Wales
That's done via redirects, not via code on the page.

It would be OK to do manually as long as you don't have too many affiliate links to redirect
__________________
Whym Web Design - article blog| Personal blog

I need your help - sponsor me!
whym is offline
Reply With Quote
View Public Profile Visit whym's homepage!
 
Old 09-07-2007, 05:25 PM Re: how to mask a url??
Learning Newbie's Avatar
Moderator

Latest Blog Post:
Republicans Are In Trouble
Posts: 5,531
Name: John Alexander
You would actually set up that page on your site, but you would either tell your server to direct requests for that page out to your affiliate. Or you could have javascript on that page, like <body onLoad="window.location = 'somesite.com'"> but that's really not a path you want to go down.

I'm not sure whether you have to or not, but if you do this, it would be a very good idea to prevent search robots from seeing that page and its redirects.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 09-07-2007, 05:50 PM Re: how to mask a url??
whym's Avatar
Putting food on my family

Posts: 3,429
Name: Daniel
Location: A sleepy town in Mid Wales
What do bots do in the case of affiliate links? I mean couldn't they just click on them and it would be money in your pocket?
__________________
Whym Web Design - article blog| Personal blog

I need your help - sponsor me!
whym is offline
Reply With Quote
View Public Profile Visit whym's homepage!
 
Old 09-07-2007, 06:12 PM Re: how to mask a url??
Learning Newbie's Avatar
Moderator

Latest Blog Post:
Republicans Are In Trouble
Posts: 5,531
Name: John Alexander
Not really sure - that would be one reason. Stop click bombs. But I think if you set up a bunch of pages with no content and affiliate redirects, Google would be upset if those pages wound up in their SERPs. I know the question was about how to code such a thing in html, but I think the person asking the question would do well to know the potential consequences this might have. Some poor girl over in the general forum is getting sued over something one of her site members did, and I don't think she woke up expecting that. Getting banned from Google would be almost as bad, and I just have a gut feeling that might be the end result here if carrielulu doesn't tread carefully.
Learning Newbie is offline
Reply With Quote
View Public Profile
 
Old 09-07-2007, 06:29 PM Re: how to mask a url??
Extreme Talker

Posts: 175
Quote:
Originally Posted by whym View Post
That's done via redirects, not via code on the page.

It would be OK to do manually as long as you don't have too many affiliate links to redirect
ahh i see, ok. i have about 10 aff link i would like to mask..not trying to be sneaking or anything..just thought it looked tacky and would like the look of a redirect instead so it looks like www.stardietsecrets.com/123.php instead of www.lynxtrack.com/ytr677tgt87.php



now redirects hey...hmm does this involve php? hope not lol
__________________
Want a Free Designer Handbag?
carrielulu is offline
Reply With Quote
View Public Profile
 
Old 09-07-2007, 06:43 PM Re: how to mask a url??
whym's Avatar
Putting food on my family

Posts: 3,429
Name: Daniel
Location: A sleepy town in Mid Wales
If you are using cPanel, then you can setup redirects there. That's the easy way.
__________________
Whym Web Design - article blog| Personal blog

I need your help - sponsor me!
whym is offline
Reply With Quote
View Public Profile Visit whym's homepage!
 
Old 09-07-2007, 06:47 PM Re: how to mask a url??
Extreme Talker

Posts: 175
cool i will give it a try....thanks both of u ! interesting posts!!
__________________
Want a Free Designer Handbag?
carrielulu is offline
Reply With Quote
View Public Profile
 
Old 09-07-2007, 06:49 PM Re: how to mask a url??
whym's Avatar
Putting food on my family

Posts: 3,429
Name: Daniel
Location: A sleepy town in Mid Wales
OK. No worries. Talkupation appreciated for me and Newbie

Hope we've been able to get this working for you
__________________
Whym Web Design - article blog| Personal blog

I need your help - sponsor me!
whym is offline
Reply With Quote
View Public Profile Visit whym's homepage!
 
Old 09-07-2007, 07:57 PM Re: how to mask a url??
Banned

Posts: 253
Name: Michel Samuel
frames.
fastest and easiest way
Michel Samuel is offline
Reply With Quote
View Public Profile
 
Old 09-07-2007, 08:02 PM Re: how to mask a url??
whym's Avatar
Putting food on my family

Posts: 3,429
Name: Daniel
Location: A sleepy town in Mid Wales
Quote:
Originally Posted by Michel Samuel View Post
frames.
fastest and easiest way
Not very useful for visitors though, accessibility-wise and not good for SEO either - it seems like overkill just to hide these URLs
__________________
Whym Web Design - article blog| Personal blog

I need your help - sponsor me!
whym is offline
Reply With Quote
View Public Profile Visit whym's homepage!
 
Old 09-08-2007, 01:28 AM Re: how to mask a url??
brandrocker's Avatar
Experienced Talker

Posts: 30
Name: CONFIDENTIAL
Location: India
NO need to hide affiliate links from search engine crawlers if you have original content. Rather - if you hide links and somehow caught notice of the bots ( yah! spam reports) - your site may be penalised.
__________________
Web Hosting Resources!

brandrocker is offline
Reply With Quote
View Public Profile Visit brandrocker's homepage!
 
Old 09-08-2007, 12:48 PM Re: how to mask a url??
Extreme Talker

Posts: 175
where do go in cpanel for redirects?
__________________
Want a Free Designer Handbag?
carrielulu is offline
Reply With Quote
View Public Profile
 
Old 09-08-2007, 02:40 PM Re: how to mask a url??
whym's Avatar
Putting food on my family

Posts: 3,429
Name: Daniel
Location: A sleepy town in Mid Wales
It depends what version of cPanel you are using.

For cPanel 10, its the 3rd or 4th row down, with an icon and the word "redirects" under it.

In cPanel 11, it's under the domains area.
__________________
Whym Web Design - article blog| Personal blog

I need your help - sponsor me!
whym is offline
Reply With Quote
View Public Profile Visit whym's homepage!
 
Old 09-09-2007, 07:35 PM Re: how to mask a url??
fitnfree's Avatar
Ultra Talker

Posts: 371