Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Neologism: The Vegas Method (root relative URLs)

1:37 am on Jan 10, 2019 (gmt 0)

New User

joined:Jan 2, 2019
votes: 1

I was trying to explain to a very non-techy person why I had chosen to use a "/" rather than "http://example.com" to go to his home page. I like root relative URLs because they make switching from dev to test to live simple as it can be (which may or may not be simple, depending).

Anyway, I realized immediately that wasn't going to work, so I dubbed the root relative URL "the Vegas Method" because what happens in Vegas, stays in Vegas.

So of someone (i.e. me) happens upon the test server, I stay on the test server. Whereas if I had hardcoded absolute URLs, I would be whisked away to the live site.

I know there are other arguments for absolute URLs (RSS and scrapers for example), but this is more about my proud new (to me) neologism for explaining root relative linking to a non-tech person, which may come in handy for you. Even if you were arguing against it you could say "The problem with that is that it's the Vegas method - what happens on that site stays on that site. So if a scraper steals youe page, all the links keep you on his site, but if we use the full URL and he doesn't take the time to update them, the full links take the user back home to your site."

As it turns out "root relative linking" is a much more intimidating phrase than "the Vegas method."
5:57 am on Jan 10, 2019 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member tangor is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 29, 2005
votes: 1099

@huongtranbong ... Welcome to Webmasterworld!

Any scraper who does NOT do the tidy is not deserving of the name/game. :)

The rest of us (most anyway) use relative because it makes sense in the ever changing ecoscape of hosts/cloud, etc.