Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Topsy handles 301 redirects inconsistently (www vs. non-www) #7

Open
GoogleCodeExporter opened this issue Nov 22, 2015 · 2 comments
Open

Comments

@GoogleCodeExporter
Copy link

Topsy rightly considers www.domain.com and domain.com to be different sites, 
but definitely has a mechanism for knowing when one redirects to the other. I 
can't figure out a way to trigger it.

If you access http://otter.topsy.com/trackbacks.json?url=http://www.topsy.com/. 
The response begins with 
{"request":{"parameters":{"orig_url":"http://www.topsy.com/","redirected_url":"h
ttp://topsy.com/","url":"http://topsy.com/"}. I'm trying to achieve the same 
effect for my domain (borismus.com, formerly www.borismus.com).

What steps will reproduce the problem?

1. Visit http://otter.topsy.com/trackbacks.json?url=http://borismus.com/
2. Visit http://otter.topsy.com/trackbacks.json?url=http://www.borismus.com/
3. Note the difference.

What is the expected output? What do you see instead?

I'd expect topsy to notice the 301 redirect from my www to the non-www domain, 
and respond with a similar "redirected_url" response, effectively giving the 
same response for both requests in (1) and (2).

What version of the product are you using? On what operating system?

Using the currently live otter API (as of 2010-02-10).

Original issue reported on code.google.com by [email protected] on 11 Feb 2011 at 1:23

@GoogleCodeExporter
Copy link
Author

Boris, next time the Topsy crawler visits your pages, it'll note the redirect.  
One way to force it is by posting a link on Twitter that has not been posted to 
Twitter before. 

Original comment by vipul%[email protected] on 11 Feb 2011 at 1:50

@GoogleCodeExporter
Copy link
Author

I tweeted a previously untweeted url: http://www.borismus.com/moving-day/ and 
now I get the correct redirected_url business in the response for that and 
http://www.borismus.com/.

Still, nothing seems to have changed for
http://otter.topsy.com/trackbacks.json?url=http://www.borismus.com/android-phone
gap-plugins/ vs
http://otter.topsy.com/trackbacks.json?url=http://borismus.com/android-phonegap-
plugins/

Any ideas?

Original comment by [email protected] on 11 Feb 2011 at 2:11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant