Welcome to WebmasterWorld Guest from 54.158.51.150

Forum Moderators: open

Message Too Old, No Replies

How do I cloak my URLs on my webpage?

So that my websurfers cannot see what URL I use!

     
10:40 am on Mar 30, 2005 (gmt 0)

10+ Year Member



How do I cloak my URLs on my webpage, So that my websurfers cannot see what URL I use?

Any ideas or suggestions please?

10:45 am on Mar 30, 2005 (gmt 0)

10+ Year Member



Do I need to buy anything? and is it just a matter of using some HTML to hide the URL?
2:36 pm on Mar 30, 2005 (gmt 0)

10+ Year Member



an .htaccess may cut it, or you can use a tool to cloak them. A good one I know if is Adtrackz.

KG

3:03 pm on Mar 30, 2005 (gmt 0)

WebmasterWorld Senior Member topr8 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



use the title attribute in the href
1:29 pm on Mar 31, 2005 (gmt 0)

10+ Year Member



How do I use the title attribute in href exactly?

Would you be kind enough to provide a coding example please?

2:31 pm on Mar 31, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you talking about making it so users can't see the URL in the location bar at the top of the browser? Or so they can't see the URLs of the links on your page?
4:37 pm on Mar 31, 2005 (gmt 0)

10+ Year Member



When the users hover the cursor over the affiliate link, i would like it if they aren't able to see that i am an affiliate and instead shows them the merchant's web url.
6:15 pm on Mar 31, 2005 (gmt 0)

10+ Year Member



When the users hover the cursor over the affiliate link, i would like it if they aren't able to see that i am an affiliate and instead shows them the merchant's web url.

JavaScript "onMouseOver" and "onMouseOut" in the "A" tags can accomplish this. The first sets a custom text in the status bar when you hover over the link. The second clears this.

I use this technique to add a comment (in parenthesis) after a URL but not to obscure the URL itself. Google is also using this with AdLinks.

6:24 pm on Mar 31, 2005 (gmt 0)

10+ Year Member



JavaScript "onMouseOver" and "onMouseOut" in the "A" tags can accomplish this

To do this insert this in the web page:

 <a onMouseOver="window.status='http://fakeurl.com'; return true" onMouseOut="window.status='Done';" href="http://realurl.com"> Link </a> 

It's important to place onMouseOut function as users will be curious when the find the 'destination' url stays there.

Other users will have different browsers [ other than Internet Explorer ] which may not say Done when a page has loaded but 89% of users do. Because of this 11% of your users may begin to get suspicious. The message is it's not full-proof.

6:54 pm on Mar 31, 2005 (gmt 0)

10+ Year Member



A much more clever way to do this would be to use .htaccess and apache rewrite mod.
like thus:

options all
RewriteEngine on
RewriteBase /
RewriteRule <url> /<dir><filename.html>

This will subsitute whatever you put in the <url> for the url and file name directly to the right of it. The user will only see what you want them to see. It can also be use for redirects......

You will need to be running apache mod whether it be windows server or Linux. Hopfully you'll be on a linux box......

 

Featured Threads

Hot Threads This Week

Hot Threads This Month