Welcome Guest!
Please login
If you do not have an account yet on The Web Squeeze forums, please Register! It’s FREE and there are many benefits:
- Receive Fast Advice
- Learn Programming Languages
- Get Professional Website Reviews
- Quick Troubleshooting Assistance
|
|
Homepage Links
This is a discussion on Homepage Links, within the Search Engine Optimization (SEO) section. This forum and the thread "Homepage Links" are both part of the Managing Your Website category.
![]() ![]() |
Aug 11 2008, 04:25 PM
Post
#1
|
|
![]() Squeeze Machine ![]() Posts: 560 Joined: 14-February 08 From: Stockport |
I have heard this somewhere a while ago, just wondering if it was true.
Obviously in your navigation you want to to link to your homepage with the hyperlink "index.php", but while you are on your actual homepage, is it best to change that to just link to "#", otherwise it is counted as double-linking or something along those lines lol Sorry if this is a bit confusing Craig -------------------- |
|
|
Aug 11 2008, 05:35 PM
Post
#2
|
|
![]() Don deluzione ![]() Posts: 1,175 Joined: 13-February 08 From: Canada eh? |
linking to the home page can better be done with <a href="/"...
-------------------- |
|
|
Aug 11 2008, 05:48 PM
Post
#3
|
|
![]() Squeeze Machine ![]() Posts: 560 Joined: 14-February 08 From: Stockport |
Sorry it was "/", not "#".
But apart from that, is it true lol? -------------------- |
|
|
Aug 11 2008, 07:54 PM
Post
#4
|
|
![]() Don deluzione ![]() Posts: 1,175 Joined: 13-February 08 From: Canada eh? |
well.. Chances are bigger, yes, 'cause you're linking to the index.php twice. On time from your .htaccess (so the "/") and one time from your menu. For Google those are 2 different pages, so duplicates. I'm not 100% sure if it works like this, but better be safe than sorry, right?
-------------------- |
|
|
Aug 11 2008, 08:16 PM
Post
#5
|
|
![]() Squeeze Machine ![]() Posts: 766 Joined: 13-February 08 From: Catching the squeezed drips downunder. |
You want to stick to one way of linking to your homepage where you can -- either "/" or "/index.php" and use it uniformly throughout your site.
To answer your question, get rid of the link altogether when you are on the page in question -- set it up so that you have a div or span styled to look like an active link. This is from a usability perspective, if it looks like a link, people will end up clicking it eventually, only to go through a page load or in the case of '#', go to the top of the page. No point even using the <a> tag if its purpose is not being put to use for that particular page. -------------------- |
|
|
Aug 12 2008, 02:15 AM
Post
#6
|
|
|
Master of the Universe ![]() Posts: 1,298 Joined: 15-February 08 From: London, England |
When viewing a folder in a web browser it defaults to the index page. While the complete list of files can specified in your apache settings folder generally speaking it looks something like this.
index.html, index.htm, index.php, ... What this means is that if you have an index.html and an index.php file, when you load up domain.com the index.html file will be loaded instead of the index.php. When you load a home page you will usually need to only specify http://www.domain.com/. If you are trying to obscure your site while you do some testing and have an index.html file in your root directory then you will need to use http://www.domain.com/index.php. Apart from the example here I see no reason why you would need to explicity specify the home page. Regarding #. I wouldn't use this, it allows you to send a user down a page to a lower element. It doesn't need to be added to home page links. Regarding home page buttons on home pages. All of my sites have an active home page button on all pages including the home page. Most of sites have inactive navigation links when you visit other pages. What this means is that if you are at domain.com/ my visitors will still be able to click the home page button. If they are on my about page, the about button will be inactive and users will not be able to click on the 'about' button while on the about page. I have always done this. I think the user should always know and be able to access the home page, having a logo or header as a link to your home page is such common practice now that it is odd when a site doesn't do it. For this reason my banner, link, logo is always active and pointing to my home page. -------------------- |
|
|
Aug 12 2008, 02:38 PM
Post
#7
|
|
|
Squeeze Machine ![]() Posts: 682 Joined: 15-February 08 From: UK |
As Rakuli said: it's best to remove the link altogether, retaining the text, and style the text to indicate "you are here" (change of colour/background, for example).
In general, avoid linking to the current page; it's bad for usability (there is at least one obscure exception, however). |
|
|
Aug 12 2008, 05:03 PM
Post
#8
|
|
![]() Squeeze Machine ![]() Posts: 560 Joined: 14-February 08 From: Stockport |
Right I think i will change to no link at all then as you say, and get rid of the "#".
Out of curiosity, what are the expections? -------------------- |
|
|
Aug 12 2008, 05:24 PM
Post
#9
|
|
|
Squeeze Machine ![]() Posts: 682 Joined: 15-February 08 From: UK |
Out of curiosity, what are the expections? The main exception I can think of is this: links that have no anchor (and hence no separable link text). For example: CODE <head> ... <link rel="section" href="http://www.badmintonbible.com/articles/grips-guide/which-grip/" title="Which badminton grip for each shot?" type="text/html"> ... </head> In this case, when you remove the link, you also remove the text. This makes the navigation inconsistent between pages, and very confusing. Instead, I add "[you are here]" to the title attribute: CODE <head>
... <link rel="section" href="http://www.badmintonbible.com/articles/grips-guide/which-grip/" title="Which badminton grip for each shot? [you are here]" type="text/html"> ... </head> |
|
|
If you found The Web Squeeze to be helpful, please donate so we can keep this site FREE, FRESH, and fortified with Web Design & Development info!
![]() ![]() |
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
6 | unitedcraig | 337 | 21st February 2008 - 09:21 AM Last post by: thesealportalteam |
|||
![]() |
9 | Sharron | 445 | 28th February 2008 - 11:28 AM Last post by: Sharron |
|||
![]() |
3 | Mark | 246 | 6th March 2008 - 11:10 PM Last post by: Monie |
|||
![]() |
7 | djeyewater | 526 | 2nd May 2008 - 04:07 PM Last post by: djeyewater |
|||
![]() |
0 | Daniel | 211 | 24th April 2008 - 06:13 PM Last post by: Daniel |
|||






Aug 11 2008, 04:25 PM













