lorax

msg:4553526 | 5:13 pm on Mar 11, 2013 (gmt 0) |
Rather than pass variables on the URL like that, you could use /aff/###/ (or similar) in the URL then use script just like you do with the variable to parse the affiliate's ID. This way the variables on the URL won't be an issue.
|
iteri

msg:4553538 | 5:44 pm on Mar 11, 2013 (gmt 0) |
From an SEO standpoint would that create a duplicate content issue?
|
lorax

msg:4553540 | 5:47 pm on Mar 11, 2013 (gmt 0) |
It could if you don't take steps to exclude the affiliate pages from the indexes. You'd keep the top level urls that point to the products without the /aff/###/ so they could be indexed by the bots. Then any of the affiliate pages could be noindex. Since I'm not really sure how you're setup nor the relationship with your affiliates and how the site is being used, this is all hypothetical.
|
iteri

msg:4553545 | 6:00 pm on Mar 11, 2013 (gmt 0) |
I see and that would definitely work. Could you explain a little bit more about how you could track using the /aff/###/? Currently what we were planning to do (with the ?source=) is to search the source field for the affiliate ID.
|
jrockfl

msg:4553722 | 2:47 am on Mar 12, 2013 (gmt 0) |
Using /aff/###/ instead of ?source= is url rewritting. The idea is that is is SEO friendly, but since SEO is not really a concern, I think it will make the URL friendly for affiliates to give out. If you are having issues with ?source=, then you could still have issues with url rewritting.
|
phranque

msg:4553809 | 8:54 am on Mar 12, 2013 (gmt 0) |
something along the lines of this would be a start but you may need something more specific to exclude some requests or to prevent rewrite loops: RewriteEngine On
RewriteRule ^aff/([^/]+)/$ /arbitrarypath?source=$1 [L]
|
|
|
lorax

msg:4553953 | 3:41 pm on Mar 12, 2013 (gmt 0) |
@jrockfl My thoughts on the issue are that there may be issues with the variables on the URL on the client side - could be browser security setting, AV program, or who knows what (this is a guess). But if the server is handling them behind the scenes then they're out of the picture. Cleaner URL == eliminates the possibility. @iteri The ### is just a placeholder in the example and would be replaced by an affiliate ID. You could write the URL any way you see fit - skip the /aff/ and just use the /###/ if you want. As long as you can reliably extract the URL into a usable variable when the user hits it.
|
jrockfl

msg:4554023 | 7:00 pm on Mar 12, 2013 (gmt 0) |
I agree with you lorax. I would rewrite the url too.
|
iteri

msg:4554026 | 7:08 pm on Mar 12, 2013 (gmt 0) |
Thanks everyone for your help!
|
|