Forum Moderators: open

Message Too Old, No Replies

Home Page HTML

How to set up

         

fmmk

11:43 pm on Sep 29, 2004 (gmt 0)

10+ Year Member



Does anyone know if it matters if your "button" that says HOME should be linked to
<a href="/">Home</a>
or should HOME be
<a href="http://wwWebmasterWorldebsite.com"</a>
I would like to use whichever may create more links back to my website from my other web pages.
Thank you.

encyclo

11:58 pm on Sep 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There's no advantage I know of for using the full domain name as the link. The user agent resolves relative and absolute URLs to the correct site URL anyway, so there is no need for explicitly specifying the full name.

Symbios

12:09 am on Sep 30, 2004 (gmt 0)

10+ Year Member



<a href="http://www.WebmasterWorldebsite.com">Webmaster World</a>

Would work a lot better than;

<a href="http://wwWebmasterWorldebsite.com"</a>

<a href="index.html">Home</a> is ok as mentioned above but there's no harm in stuffing in a link at the bottom of every page that says something like <a href="widgets.com">Widgets</a>

fmmk

12:22 am on Sep 30, 2004 (gmt 0)

10+ Year Member



So, I should use my website name instead of the HOME button?

Symbios

12:42 am on Sep 30, 2004 (gmt 0)

10+ Year Member



The key to success in this game is variety, so if you make button links which I assume are image links why not put some descriptive text in the alt tags that tells people about what they are likely to see on those pages.

Different search engines use different criteria to rank sites so use hyperlinks to your pages which have anchor text that describes the pages.

Sorry if my post looks like 'teach to suck eggs 101' just trying to help, without seeing your site its not easy to offer advice, sticky your url to me and I'll look at it and give you my opinion for what its worth.

longen

1:46 am on Sep 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Relative links are faster than absolute URLs.

Birdman

2:32 am on Sep 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Use <a href="/">...perfect!

deejay

3:03 am on Sep 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



On a slightly more cynical note.. using the full URL in your 'home' link can get you a *wealth* of inbound links from the more careless of those darling folks who just like to rip off the content of others.

RammsteinNicCage

3:05 am on Sep 30, 2004 (gmt 0)

10+ Year Member



I think what fmmk is asking is if it's better to have:

<a href="/">Home</a>

or

<a href="/">Website Name</a>

Jennifer

StupidScript

3:56 am on Sep 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<a href="/">Home</a>
or
<a href="/">Website Name</a>

Good point, Jennifer.

<a href="/">Key Search Term</a>
or
<a href="http://www.webmasterworld.com/index.html">Key Search Term</a>

Consider: What do spiders see and subsequently index?

[edited by: StupidScript at 3:59 am (utc) on Sep. 30, 2004]

tedster

3:58 am on Sep 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That's not how I read it, Jennifer. The question doesn't seem to be about anchor text (this would be the wrong forum for that discussion, at any rate) but rather it's about the difference between linking to the domain root using "/" and absolute linking to the full domain name.

The earlier posts in the thread got tangled up with our "abbreviation filter" that expands abbreviations of WebmasterWorld to the full text. But if we use example.com to avoid that issue, we're talking about:

<a href="/">Home</a>
-- or --
<a href="http://www.example.com/">Home</a>

fmmk

12:12 pm on Sep 30, 2004 (gmt 0)

10+ Year Member



Thank you for your replies.
Tedster, you have captured my question.
What is your feeling on which is better to use?

mincklerstraat

12:36 pm on Sep 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



deejay:

On a slightly more cynical note.. using the full URL in your 'home' link can get you a *wealth* of inbound links from the more careless of those darling folks who just like to rip off the content of others.

It sounds like you've had some interesting experiences in this regard, but I'm rather at a loss in figuring out exactly what? You mean using <a href="ht*p://mysite.com">Home</a> can somehow lead to getting your content 'ripped off'?

ballygobackwards

3:24 pm on Sep 30, 2004 (gmt 0)

10+ Year Member



Although wildly off-topic what he means is that there are dodgy people out there who might scrape your content and display it as their own. By having a link with your domain in your page the site which has scrapped your content will effectively be giving you a link and therefore making your site look more popular in the eyes of search engines. I really wouldn't worry about it if your new to web dev as it's highly unlikely that you'll be scrapped.

deejay

7:19 am on Oct 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



mincklerstraat, ballygobackwards nailed it.

Everything except the gender. ;)

mincklerstraat

7:32 am on Oct 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



aaah, thanks, I hadn't thought of that, I'd presumed screenscrapers would have the common sense to parse out the template. Just copying the page isn't really 'scraping', is it? I mean, it takes a little elbow grease to scrape the crud off the pan, just taking the whole pan, crud and pan, whole, is a pretty easy affair. Screenscrapers who are stealing others' contents should feel the moral compunction to work a little at doing this, and learn a little regex to boot.

I've come across a couple of sites which were whole-cloth copied like this, but pretty much assumed that this was so oafish that only a one-in-a-million genuine oafey oaf would even contemplate it.

Apparently I'm wrong.

tedster

2:49 pm on Oct 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Tedster, you have captured my question.
What is your feeling on which is better to use?

I have never used the bare "/" to send people to the domain root, so I have no experience there. Although I admire the minimalism of "/", I always use "http://www.example.com/" and have had no trouble with search engines seeing the link.

I feel it is the very safest choice, because it will be the most common form of inbound links from other websites - so there's no chance of a technical complication inside the secret caves of the search engine algorithms.

Birdman

5:08 pm on Oct 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I must say that I'm the exact opposite...I never use the full absolute path. I always use / to go to the root folder. I tend to form all my URLs starting from root as well(eg. /folder/another), even if the target URL is in, or below, the current folder.

Tedster, I humbly disagree with the 'safe' theory. Any robot will already know the 'host' and resolve any relative links correctly.

Why add code bloat to your pages when it's not needed?

Just my 2cents :)
Birdman

Saltminer

5:22 pm on Oct 1, 2004 (gmt 0)

10+ Year Member



I never use a full path either. I find relative paths shorter and easier to work with. Plus you can run the site right on your hard drive or a CD for testing and editing. Then upload the files without having to change file paths on every link.

If the boss asks for a current copy of the website on CD I can just download the files, burn them to CD and it works exactly as it did on the server. Of course you'll lose any SSI or other server dependent functions.

tedster

5:27 pm on Oct 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Birdman, you may convince me, but how do you test to discover if those links are indexed? My concern isn't that the bot will find the page, my concern is that the SE's back end will mangle it, somehow.

As I said, if you are having no problems, you may convince me to switch. But I have been bitten one too many times by apparently simple technology glitches that do make a difference (such as with or without "www", or "_" vs. "-", or "index.html" vs. "http://www.example.com")

I am a crazy man about code bloat, so I like
the file size savings. The most recent home page
design I did had a total page weight of 11.6kb
(including css, js and image files). I was so
excited I added a couple rollovers as a luxury
that I could afford!

Birdman

7:50 pm on Oct 1, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Tedster, if I do a link:www.mysite.com, I get lots of internal links show in the results. If I view source of any of them, the only links pointing to root are "/".

No matter what technology a search engine uses, it will have a url class to handle the different methods of internal linking. I'm working on a tool that uses PERL URI and it does a good job of it.

Sorry to be sounding like an expert here, because I'm NOT ;)

One question(Tedster): Do you link to all your pages with absolute URLs or just back to the homepage?

Birdman

I'm with you on the code bloat thing!

tedster

1:27 am on Oct 2, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



handle the different methods of internal linking

Yes, but Google is awful at seeing the root of the domain and knowing that it is the same as index.html or home.htm or whatever. Partly, of course, because there is no guarantee that both URL point ot the same resource. Nevertheless, two differently formed but equivalent URLs often collect independent PageRank, backlink anchor text, etc.

As I said, it's not Googlebot I worry about, it's how their back end crunches the data that Googlebot collects. The fact that you can see your internally linked pages with a link: command is heartening.