views:

176

answers:

7

I noticed many web sites use

<h1><a href="/subdir/somepage/">bla bla</a></h1>

in the page example.com/subdir/somepage/

Why do they do that? SEO? Compliance to some standard I don't know? Does it really help users in any way?

EDIT: after many of the answers obviously misunderstood me. I'm not talking about a link to the homepage of the site. I'm talking about a question page in SO using the question's text in H2 element (see that above?) to link to the same page.

A: 

Most probably, some smart php (or perl) script generates some standard heading content for all the pages in the site. That's why it may suddenly contain the link to itself.
Also it helps to keep pagerank intact.

alemjerus
A: 

I find this feature really useful. It means that no matter where I am on the website, I can just click the website's title to take me to the home page.

Since urls from other sites often deep link, I might read an article and then decide to take a look at the rest of the site - is it interesting, does it look legitimate, etc.

Please implement it in your sites!

Alex Brown
He's not referring to a link back to the home page. He's referring to a link the page at the top that links to itself.
Joel Etherton
A: 

Just take a look at some inexperienced user - they click it whenever they're lost. And to be honest I started using it myself, as a quickest bookmark that you doesn't even have to create.

From design/usability point of view, such link is filled with semantical meaning: "look, it's me!"

Tomasz Zielinski
? I don't understand. let's look at the current page for example. The question "What is the reason..." is an H2 element, which links to this page. How does that help the user, besides being a "refresh without POST" button?
Ofri Raviv
Rigth, I misunderstood you. BalusC has already written about breadcrumbs and SEO, and I can only add, that I'm using them for adding bookmarks to interesting pages (I'm here, I right-click it and "add bookmark"). So it's still usability-friendly.
Tomasz Zielinski
A: 

Ofri, in your example, I believe alemjerus and Tomasz Zielinski have covered it for you. It's a link to the home page of the site that is automatically built by the server. It's really common and I tend to use it frequently for blogs in particular.

Sam
A: 

Think of your favorite blog or community web site that updates often. You generally bookmark or browse to the address of the home page, and you're presented with the most recent content. If you refresh the page, say, an hour or a day later, you may see different content.

Now suppose you come across one particularly inspired entry during your lunch break, and you email the link to your friend who always answers questions on Stack Overflow between noon and 1PM. By the time your friend reads your email, the content will have changed.

If only there were some way to email a link to the specific entry you want to share....

Adam Liss
That's a different scenario you're describing - you're talking about links to individual entries from a list of entries. OP is talking about each entry linking to itself AFTER you follow the link for that entry.
Michael Madsen
+1  A: 

I don't think the link is particularly useful, except in two cases:

  • If for some reason, you cleared your location bar (or overwrote it with something else), you still have access to the link to the page,
  • Similarly, if the location bar is not visible, you can still get the link to the current page easily.

I am not sure if the reasons are very compelling, though.

Alok
Thanks. both of these reasons don't hold for SO. so why do they do it? (and, lots of other sites too)
Ofri Raviv
The first reason holds. As to why they do it, I can't guess. But if I need a permalink to a question, I would most likely copy the address of the heading link, rather than looking at the location bar, which *could* have changed.
Alok
+1  A: 

if I want to cut and paste a page link, it's one operation (in Firefox) to right-click the page title and select "Copy Link Location." Swiping (or doing select-all) on the URL and then hitting control-C is two operations.

Wayne Conrad