| |||||||
This is a discussion on How to hide url when hovering over link? within the Website Discussion forums, part of the Websites category; Hi, I had a question about something I've been seeing on other freebie sites. When you hover over a link, ...
![]() |
| | Thread Tools |
| | #1 |
| iPod Nano 4GB | How to hide url when hovering over link?Hi, I had a question about something I've been seeing on other freebie sites. When you hover over a link, for the url it would display something like sitename.com/register instead of your referral link. Can anyone explain how to do this. An example is on MJ10's site: Free iPhone 4S - Contract Free iPhone 4 - Guaranteed FREE iPHONE
__________________ |
|
| | #2 |
| What to put... | They send it to a url which then has a redirect (probably 301), going to their referral link. Also tracking codes may be used in the custom url too.
__________________ Last edited by ryan1087; 11-01-12 at 10:05 PM.. |
|
| | #3 |
| iPod Nano 4GB | Oh. Do you know how to do that?
__________________ |
|
| | #4 |
| Romper Stomper | Create a folder in your hosting root called register Place a file in there called index.html In that index file place this code... Code: <meta http-equiv="Refresh" content="0; url=http://affiliatelink.bla"> When it calls the register folder it will automatically open index.html which will redirect to your aff link.
__________________ |
|
| | #5 | |
| iPod Nano 4GB | Quote:
__________________ | |
|
| | #6 |
| What to put... | Too much work? It takes a few minutes.
__________________ |
|
| | #7 |
| iPod Nano 4GB | Ok. fine I'll try it
__________________ |
|
| | #8 |
| Romper Stomper | Too much work ? Create a folder with an index page in it and call it with site.com/register Too much work ? Put it this way, if you ever have to replace all 30 links on your site you will have to do them all one at a time won't you ? If you do this then you will just need to edit the ref link in register/index.html and all links that use that will be changed at once ...
__________________ |
|
| | #9 |
| iPod Nano 4GB | Wait where do I put the ref link in that and the sitename.com/join?
__________________ Last edited by KUSHxKILLA; 11-01-12 at 10:15 PM.. |
|
| | #10 | |
| Romper Stomper | Quote:
sitename.com/register (or whatever you call the folder) goes in your main page html links. <a href="http://sitename. com/register">anchor</a>
__________________ | |
|
| | #11 |
| iPod Nano 4GB | <meta http-equiv="Refresh" content="0; url=ref link here?">
__________________ |
|
| | #12 |
| Romper Stomper | That goes in the index.html that you create inside the folder that you need to create called REGISTER Nothing else, just that. No other code at all. Then on your main website page, instead of having <a href="http:/ /yourreflink/98765">Anchor</a> you would have <a href="http://youraddress. com/register">Anchor</a>
__________________ |
|
| | #13 | |
| iPod Nano 4GB | Quote:
__________________ | |
|
| | #14 |
| Mini Mac Join Date: Apr 2008 Location: South Yorkshire
Posts: 4,906
![]() ![]() ![]() ![]() ![]() | I've been tempted to to this for ages but the current use of itemids has put me off. I would need alot of redirects!
__________________ |
|
| | #15 | |
| Romper Stomper | Quote:
It would be worth it though if you have numerous instances of each itemid link. I think it also looks more professional than a referral link. If you do use it then be sure to log out of your freebie account and test the link, make sure it lands on your affiliate account :P
__________________ | |
|
| | #16 |
| Currently: Moderating! | I use a php file as well as what you have explained. So my set up means if you just go to that root (ie /signup) you'll get 301'd to a sign up page. However I like to be able to chop and change my links sometimes so have the link IDs as 'kudos' 'iPhone' 'FJ' etc which link to the relevant ref numbers in the php file. Really didn't take much work. There's a thread about it on eXceem somewhere, or I'm sure one of you will be able to find the file on my site!! Or if your using Wordpress then get the PrettyLink plugin.
__________________ Spoiler Free iPhone | Free iPhone | Free iPad 3 | Sign Define App | Freebie Proof Photo Blog Total Received: £7,446.87 plus Current Stats: 0 green 12 pending WIN an iPod Shuffle, XBox Live, Amazon or iTunes vouchers >> Free competition entry here << Spoiler Spoiler Spoiler |
|
| | #17 |
| iPod Nano 4GB | Didn't work...
__________________ |
|
| | #18 |
| Mini Mac Join Date: Apr 2008 Location: South Yorkshire
Posts: 4,906
![]() ![]() ![]() ![]() ![]() | Then you did something wrong, I've not tried it but the instructions set out for you above are incredibly simple and are fool proof, so to speak..
__________________ |
|
| | #19 |
| iPod Nano 4GB | Alright it worked. All I had to do was in the anchor line, instead of sitename.com/register, I had to do sitename.com/register/index.html
__________________ |
|
| | #20 | |
| Currently: Moderating! | Quote:
You need to: put the register "index.html" into a folder called "register". Then change your links to just "site.com/register" - this should mean that when a "site.com/register" link is clicked it will look for the index file in the folder and redirect you to the sign up page. So your root should look like this: index.html (your site home page) register (folder) - index.html (the redirect inside the register folder) I'd recommend putting all your pages into folders like this as it removes the "index.html" from the url string. EG: index.html (home page) Register (folder) - index.html How (folder) - index.html Proof Page (folder) - index.html Your urls will look like: site.com site.com/how site.com/proof rather than: site.com/index.html site.com/how/index.html site.com/proof/index.html
__________________ Spoiler Free iPhone | Free iPhone | Free iPad 3 | Sign Define App | Freebie Proof Photo Blog Total Received: £7,446.87 plus Current Stats: 0 green 12 pending WIN an iPod Shuffle, XBox Live, Amazon or iTunes vouchers >> Free competition entry here << Spoiler Spoiler Spoiler Last edited by MJ10; 12-01-12 at 08:31 AM.. | |
|
![]() |
| Thread Tools | |
| |