Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsDiscussion Forum → Someone' is getting fired at The Independant!
Someone' is getting fired at The Independant!
2011-04-19, 9:22 AM #1
http://www.independent.co.uk/life-style/food-and-drink/utter-PR-fiction-but-people-love-this-****-so-****-it-lets-just-print-it-2269573.html

First **** is feces, the second being fornication.

:awesome:
nope.
2011-04-19, 9:36 AM #2
For some reason the link works with the asterisks, too. o_O
Looks like we're not going down after all, so nevermind.
2011-04-19, 9:39 AM #3
Ok it's a hoax...

You see, when you take away all the words and just use:

http://www.independent.co.uk/life-style/food-and-drink/2269573.html

...it still works, but it adds what was The Independent REALLY put there, which is:

http://www.independent.co.uk/life-style/food-and-drink/kate-middleton-jelly-bean-expected-to-fetch-500-2269573.html

You can replace the words with ANYTHING as long as you have the digits.html at the end there, and it'll work.
Looks like we're not going down after all, so nevermind.
2011-04-19, 10:14 AM #4
good to know the web developers at the independent don't know how to do URLs
Detty. Professional Expert.
Flickr Twitter
2011-04-19, 10:33 AM #5
zero-effort SEO, just remap everything with ***-digits.html to digits.html.
2011-04-19, 10:34 AM #6
web "developers"
2011-04-20, 5:36 PM #7
The web developers almost certainly do know how to do URLs.
Someone made a decision that this was the way they would look up the articles and this potential for abuse was almost certainly made clear to that person.

Remember, a place like the Independent has a lot of content to serve up, and they want it to be as efficient as possible. Verifying that the headline supplied in the URL matches what they put in the database doesn't help that.

I have absolutely no sympathy for the viewpoint that the web developers don't know what they're doing.


The boneheaded decision was how the Independent reacted. Leaving the loophole open and making a big fuss with an editorial only publicised it further and made them look like incompetent idiots. Had they silently put in a simple rule that blocked just the circulated URL with a 404, or a redirect to the correct article URL (less good because it means the fake URL still "works") as soon as they were aware of it, the vast majority of people who have now seen the fake URL wouldn't have been able to use it. That would have given them time to decide on a more general reaction to fake URLs.
2011-04-20, 5:49 PM #8
Originally posted by Giraffe:
I have absolutely no sympathy for the viewpoint that the web developers don't know what they're doing.
Well, at least now we know that you write PHP for a living.
2011-04-20, 5:56 PM #9
Something wrong with that, Jon'c
"Nulla tenaci invia est via"
2011-04-20, 6:18 PM #10
Originally posted by Jon`C:
Well, at least now we know that you write PHP for a living.


Haha, good one. (Hint: no I don't)

Edit: Further hint: I don't write web sites/apps for a living, either, currently.
2011-04-20, 6:44 PM #11
Originally posted by zanardi:
Something wrong with that, Jon'c
Yep, and it's a waste of time to elaborate because everybody here already knows, or they're a web developer and won't listen, or they're a normie and just don't care.

In spite of Giraffe's opinion, it is definitely a safe bet to automatically assume that any given web developer has no clue.
2011-04-21, 1:48 AM #12
It's the job of a web developer to treat URLs as part of the user interface, and then it's their job to achieve that without noticeable performance penalty. There's also no reason for The Independent URLs to end with .html, it doesn't make the site faster. It's just bad URL design.
Detty. Professional Expert.
Flickr Twitter
2011-04-21, 6:33 AM #13
It seems lots of website do this with the URLs. Just throwing an article or topic title in the URL seems to be the thing to do for incoming links and search engines. I could retweet this thread with modified URL like: http://forums.massassi.net/vb3/showthread.php?58959-Someone-is-getting-****ed-at-The-Independant!
"Nulla tenaci invia est via"
2011-04-21, 7:07 AM #14
Using a slug (generally the title of the page run through an algorithm that strips out common words and replaces spaces with dashes) is the correct way to do it, you shouldn't need to use a numerical ID at all. If the incorrect slug is used in the URL it should 404 (unless the slug has intentionally changed, in which case it should do a 301 redirect).
Detty. Professional Expert.
Flickr Twitter
2011-04-21, 7:19 AM #15
Right.. my point is a lot of people don't do it that way, and I mean a lot. And this kind of thing could happen to anyone.
"Nulla tenaci invia est via"
2011-04-21, 8:03 AM #16
Originally posted by zanardi:
It seems lots of website do this with the URLs. Just throwing an article or topic title in the URL seems to be the thing to do for incoming links and search engines. I could retweet this thread with modified URL like: http://forums.massassi.net/vb3/showthread.php?58959-Someone-is-getting-****ed-at-The-Independant!


Yes, but the thread title doesn't change if you do. You could also just use any sort of URL redirection service to make up some stupid URL as well, and it'd work for any website. That wasn't really the issue. It was that they took said URL info, and actually used that to generate part of the content of the website, without any verification whatsoever. I don't care how efficient they're trying to be, that's idiotic.
2011-04-21, 9:29 AM #17
Oooooh I see, yeah that is pretty moronic and hopefully that guy did get fired.
"Nulla tenaci invia est via"
2011-04-21, 9:49 AM #18
It didn't generate content... The problem was limited to the slug being irrelevant for the system finding the right article.
Detty. Professional Expert.
Flickr Twitter
2011-04-21, 12:03 PM #19
Originally posted by zanardi:


Which also mistakenly assumes the vbulletin developers know what they're doing. :P

Like I said, this is zero-effort SEO. Basically, the web developers know that a lot of people will paste the URL without descriptive text and they want the headline to show up as often as possible. Like Detty said, using the headline text as the article ID is the correct way to do this, and anybody who knows anything about DBMSes knows that the only performance cost is compute which is totally subsumed by the I/O cost of accessing the index. Most web developers, incidentally, don't know anything about DBMSes.
2011-04-21, 2:33 PM #20
Oh let me just say that you would never hear those words "vbulletin developers" and "know what they're doing" in the same sentence.
"Nulla tenaci invia est via"
2011-04-21, 5:10 PM #21
Now that I think about it, I don't know any website that you couldn't just append something to the end of the url and it would still work (Not every url but most websites).. Like by adding a #, ?, or / at the end followed by some profanity or whatever. Could you then just retweet, facebook share, link to your website and have it shared/crawled by bots?

examples:
http://www.php.net/docs.php/go-****-your-mother
http://www.woot.com/WriteUs.aspx?and-go-to-hell
"Nulla tenaci invia est via"
2011-04-22, 3:55 AM #22
Adding a # has no effect on what gets sent to the web server, so it has no effect on what page gets returned (the exception is if the site is fully AJAXed, but then the page is generated in two passes). Adding a ? is just a query parameter, it's up to the developer whether an invalid one should cause a problem or not. They don't tend to contribute to keyword relevance in search engines so a lot of developers don't bother constraining them, I sometimes do because when I've used them I need to know the input is well-formed.

Adding a / is actually changing the resource location (whereas a query parameter is just a filter) and should always return a different resource or simply not work at all, there's no excuse for this one.

I have actually knowingly used the id-slug combination in URLs before, primarily on an e-commerce site where a lot of products have very similar names and had to occupy the top-level of the URL schema.
Detty. Professional Expert.
Flickr Twitter

↑ Up to the top!