Forum:links back from twitter problem
2
1
Entering edit mode
10.1 years ago
Ann ★ 2.4k

Maybe a BioStars bug?

Links back from twitter giving 404 error?

ex)

real link: IGB hacks - trying out different colors for samples

twitter link: https://www.biostars.org/115244/

meta twitter • 1.9k views
ADD COMMENT
2
Entering edit mode
10.1 years ago
Ram 44k

Hi Ann,

I've emailed the admin on this and we've been doing a bit of back and forth. My analysis of the problem stands here:

There are two kinds of links on the tweets: IFTTT links (that go ift.tt/) and google links (that go goo.gl/). The IFTTT links are fine, but the google links miss out a /p/ in their URL. They redirect to biostars.org/<GUID> instead of to biostars.org/p/<GUID>

We're trying to find out the root cause behind this problem, but are unsuccessful so far. I'm sure the admin will get this working soon. In the meantime, I guess we could use the IFTTT link or add the /p/ part manually.

ADD COMMENT
1
Entering edit mode

Thanks again for taking care of this RamRS

ADD REPLY
0
Entering edit mode

Glad to be of help, Devon Ryan !

ADD REPLY
1
Entering edit mode
10.1 years ago

I have put in a rewrite at the static webserver level, so the links should work.

I hope that with that I have not broken anything else. Keep your eyes open and please report in this thread if something seems amiss.

ADD COMMENT
1
Entering edit mode

The rewrite seems to not be working at the moment. When I click on the link in this tweet, I still get a 404 error, though just adding the "p/" in manually to the URL works.

ADD REPLY
1
Entering edit mode

heh, that was a second kind of incorrect link - one that did not have the trailing / in the URL - I originally tried to maximally match the pattern as shown.

now should work.

ADD REPLY
1
Entering edit mode

Thanks, works for me!

ADD REPLY
0
Entering edit mode

That's awesome, Istvan! Thank you for the quick action!

ADD REPLY

Login before adding your answer.

Traffic: 1633 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6