![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Just reopening the use of tracking URLs . . . I have seen posted around on the net that crawlers ignore the text that appears after a hash/pound (#) sign in a URL. Has anyone tried linking to a site using a URL similar to: Clean URL - http://www.mysite.com/products/product1.html URL with tracking - http://www.mysite.com/products/product1.html#0001 Does this count as a direct link? Could you see any reason why this wouldn't work, assuming that you had some server-side craziness that counted these URLs in a meaningful way. Actually . . . can you use Apache to redirect/log/take action based on the presence of something in the request URI? Come on nerds, give it to me. |
#3
| |||
| |||
|
|
I have seen posted around on the net that crawlers ignore the text that appears after a hash/pound (#) sign in a URL. Has anyone tried linking to a site using a URL similar to: Clean URL - http://www.mysite.com/products/product1.html URL with tracking - http://www.mysite.com/products/product1.html#0001 Does this count as a direct link? Could you see any reason why this wouldn't work, assuming that you had some server-side craziness that counted these URLs in a meaningful way. Actually . . . can you use Apache to redirect/log/take action based on the presence of something in the request URI? That's not a form of tracking and won't even appear in your web logs or to server sided scripting. It's a link to a named anchor somewhere in your page. If you have a named anchor called 0001 (eg <a name="0001">) somewhere in your page, then when the page is loaded the browser will jump down to it. |
#4
| |||
| |||
|
|
"Chris Hope" <blackhole (AT) electrictoolbox (DOT) com> wrote in message news:d8lufk$ub8$1 (AT) lust (DOT) ihug.co.nz... I have seen posted around on the net that crawlers ignore the text that appears after a hash/pound (#) sign in a URL. Has anyone tried linking to a site using a URL similar to: Clean URL - http://www.mysite.com/products/product1.html URL with tracking - http://www.mysite.com/products/product1.html#0001 Does this count as a direct link? Could you see any reason why this wouldn't work, assuming that you had some server-side craziness that counted these URLs in a meaningful way. Actually . . . can you use Apache to redirect/log/take action based on the presence of something in the request URI? That's not a form of tracking and won't even appear in your web logs or to server sided scripting. It's a link to a named anchor somewhere in your page. If you have a named anchor called 0001 (eg <a name="0001">) somewhere in your page, then when the page is loaded the browser will jump down to it. Hey Chris, yep I know it's an anchor . . . but I didn't realise that it didn't make it to the web server. I was hoping I could write up a script that would scour log files for it, but I see that's out of the question. I'm trying to avoid the use of javascript to redirect the URL, or to use a server side redirection script for logging clicks. It needs to be as accurate as possible (Ha!) as it'll be used for billing. Any other ideas? |
#5
| |||
| |||
|
|
Emme wrote: "Chris Hope" <blackhole (AT) electrictoolbox (DOT) com> wrote in message news:d8lufk$ub8$1 (AT) lust (DOT) ihug.co.nz... I have seen posted around on the net that crawlers ignore the text that appears after a hash/pound (#) sign in a URL. Has anyone tried linking to a site using a URL similar to: Clean URL - http://www.mysite.com/products/product1.html URL with tracking - http://www.mysite.com/products/product1.html#0001 Does this count as a direct link? Could you see any reason why this wouldn't work, assuming that you had some server-side craziness that counted these URLs in a meaningful way. Actually . . . can you use Apache to redirect/log/take action based on the presence of something in the request URI? That's not a form of tracking and won't even appear in your web logs or to server sided scripting. It's a link to a named anchor somewhere in your page. If you have a named anchor called 0001 (eg <a name="0001">) somewhere in your page, then when the page is loaded the browser will jump down to it. Hey Chris, yep I know it's an anchor . . . but I didn't realise that it didn't make it to the web server. I was hoping I could write up a script that would scour log files for it, but I see that's out of the question. I'm trying to avoid the use of javascript to redirect the URL, or to use a server side redirection script for logging clicks. It needs to be as accurate as possible (Ha!) as it'll be used for billing. Any other ideas? You want it like this: http://www.mysite.com/products/product1.html?foo=bar OR http://www.mysite.com/products/product1.html?foo If all you're going to do is look through the log files then you don't need to do anything other than the above, otherwise you'd need some sort of scripting language (eg perl, php, vbscript, coldfusion etc) in there working with the variables passed in as part of the url and doing something nifty behind the scenes. |

#6
| |||
| |||
|
| http://www.mysiste.com.au/products/p...l?foo=bigsiteA http://www.mysiste.com.au/products/p...l?foo=bigsiteB |
#7
| |||
| |||
|
|
Hi, Just reopening the use of tracking URLs . . . I have seen posted around on the net that crawlers ignore the text that appears after a hash/pound (#) sign in a URL. Has anyone tried linking to a site using a URL similar to: Clean URL - http://www.mysite.com/products/product1.html URL with tracking - http://www.mysite.com/products/product1.html#0001 Does this count as a direct link? Could you see any reason why this wouldn't work, assuming that you had some server-side craziness that counted these URLs in a meaningful way. Actually . . . can you use Apache to redirect/log/take action based on the presence of something in the request URI? Come on nerds, give it to me. Em |
#8
| |||
| |||
|
|
Clean URL - http://www.mysite.com/products/product1.html URL with tracking - http://www.mysite.com/products/product1.html#0001 The answer depends on what is it that you are trying to achieve with the tracking: are you trying to just count the clicks or you want to count them AND receive the PR benefit of a straight links? I have a feeling you are looking for the latter. In this regard, crawlers do not ignore anything! They simply follow to http://www.mysite.com/products/product1.html#0001, and if that page happens to reply OK, it will get indexed as ...product.html%230001. In terms of PR is a different page from ...product.html, so no benefit here. |

![]() |
| Thread Tools | |
| Display Modes | |
| |