HOME | DOWNLOAD | SUPPORT | INSTALLATION | FAQ | SUPPORT FORUM | DEMO
 ° Forums ° Statistics ° Registration ° Search ° Manual °
SkaLinks Forum / Technical Support / ABSOLUTE LINKS
Author Message
bug


Posted: 21 Aug 2005 11:54:31


Hey admin, just now I have noticed "amazing property".

All links, including those are part of user interface and control elements, all href in the skalinks directory are absolute and include host name. For links pointing to resources within the same site this is nonsense. This is more then bad, very bad style. You should replace all links like this

href="http://www.skalinks.com/dir/add_cat.php?cat=48"

with

href="/dir/add_cat.php?cat=48"

Also I see, the skalfa.com have the the same property. This look like the "brand style" of Your company. This should be fixed immediately to remove this disreputable fact from annals of history.

skalinks
Admin

Posted: 21 Aug 2005 22:16:43


Hi bug.
I think you are mistaken. Of course to write href="/dir/add_cat.php?cat=48" is faster then href="http://www.skalinks.com/dir/add_cat.php?cat=48", but, there is more effective and better to use absolute links for Search Engines. Then, if some body will copy the content from your site, with absolute links , he will need to change all links in content site.
Well bug, if said that it is This is more then bad, very bad style., please argue this. Because I don't think, that it is the bad style, it is the norm, which must keep every site.
Well, if also want to use not absolute links, I remember thereis a special tag in HTML ( base tag ), which point the base URL, and then the not absolute links are placing relatively of this URL.
Thank you

skalinks
Admin

Posted: 22 Aug 2005 01:04:57


Well, one notice yet:
Then I recommend that you make things as simple as possible for spiders. I recommend absolute links instead of relative links, because there's less chance for a spider (not just Google, but any spider) to get confused. In the same fashion, I would try to be consistent on your internal linking.
Thank's

bug


Posted: 22 Aug 2005 04:24:47


> I think you are mistaken.

Are You sure?

> Of course to write href="/dir/add_cat.php?cat=48" is faster then

May be, if You take pen and write on the paper.

> there is more effective and better to use absolute links for Search Engines

Why do You think so? You think, they are using pen and paper too?

> will copy the content from your site, with absolute links , he will need to change all links in content site.

You are right. Even this is part of the site, for example structured user manual. What do You think, what kind of words he will send to author of such site? It will be non-printable words.

> it is the norm, which must keep every site.

Really? Did You ever gave this wise advise to web masters? Don't try, because You will be unhappy with their answers.

> I remember thereis a special tag in HTML ( base tag )

This is better, then absolute links, but in most cases it is not needed.

> there's less chance for a spider (not just Google, but any spider) to get confused.

Do You know such spiders? What are their names? Spiders confused by relative link (if any exist) are written by illiterate programmers. We shouldn't keep in mind such spiders and they don't help us to promote our sites.

You ask me for arguments for 2*2=4. OK, here they are.

1. neither server nor client don't need host name in the links pointing to resources within the same site, because they both take/put host name into/from http headers.

2. The same site may be accessible by more then one name (ServerAlias in VirtualHost). This is good for promotion or brand keeping. But with absolute links this impossible. Yes, still You can use redirect or RewriteEngine, but this worse solution.

3. When You need to move Your site to other host, You will have a lot of problems with absolute links, because Your should rewrite all of them.

4. When user download part of Your site, he hope to view it off-line, but every time, when he click on any link, his browser send request to remote host if all links are absolute.

5. Some example. See the sources of these pages:

http://google.com/Top/
http://www.sun.com/
http://www.yahoo.com/
http://www.oracle.com/
http://www.cnn.com/

Do You want to teach web masters of these sites with Your advise?

bug


Posted: 22 Aug 2005 05:00:27


In addition to examples, Your lovely hosting provider:

http://hostforweb.com/

All of them don't insert host names into internal links.

skalinks
Admin

Posted: 22 Aug 2005 06:55:33


OK, thank you for your valuable input. You are free to keep your own markup standards as well as we are entitled to keep our own in our products.

The words you laughed at (about recommending to use absolute links) were said by a representative of Google, by the way this was a piece of advice concerning Google, too. And by the way, there can definitely be serious negative effect if your site is accessible under different domain names (www and non-www for example) named "duplicate content penalty". If you dig into search engine optimization you must have heard about this.

Absolute links are fully complied with HTML specification as well as relative ones. You may find it a bad, very bad style but we'd rather discuss new features for the software, or bugs if you find any. We are sure you can use your (and our) time much much better in this manner than speaking about styles and tastes.

Please, let's stop this pointless discussion, not sure if it can lead to anything useful and not sure about the very purpose of your arguing. Thank you.

bug


Posted: 23 Aug 2005 07:23:55


Admin, please add separate variable to config file for using solely in mail messages instead of $_url_root.

skalinks
Admin

Posted: 24 Aug 2005 01:24:05


What for do you need this variable?

bug


Posted: 24 Aug 2005 01:52:39


$_url_root may be absolute or relative, while it's equivalent for mail must be always absolute.

linky
Member

Posted: 30 Aug 2005 22:09:54


Bug you are wrong here.

You the reality is you need to have a consistent format and use it throughout. It doesn't matter if they are absolute or any other way. You simply need to be consistent with any method you choose.

Having absolute links is not a problem for search engines.

linky
Member

Posted: 30 Aug 2005 22:11:23


That being said... I am wondering about the actual site display pages, the listingx.html pages. I have several directories set up and so far none of them have gotten any of the actual site listings indexed. It may just be a matter of time, I just want to know if there is any known issue for getting this pages indexed.

I can't see any problems, but I just wanted to double check.

skalinks
Admin

Posted: 30 Aug 2005 22:30:26


Hello linky.
It's just a matter of time, because bots are indexing new pages every day and soon they will come to your site. But you need at least one inbound link.

linky
Member

Posted: 31 Aug 2005 15:23:59


Yeah they are hitting my site.. But they are never going to the extended description pages. THey just hit the main directory, and the category pages.

linky
Member

Posted: 1 Sep 2005 00:00:29


By the way here is a quote from someone at Google in regards to absolute links:

[quote] Sometimes a tangent isn't such a bad thing though. For example, partway into the Bourbon discussion, wattsnew asked if there was a technical guide on how to handle www vs. non-www, relative vs. absolute linking, and links to different pages such as / vs. index.html vs. default.asp. My rule of thumb is to pick a root page and be as consistent as possible. I lean toward choosing http://www.yourdomain.com/ but that's just me; http://yourdomain.com/ would work as well. Then I recommend that you make things as simple as possible for spiders. I recommend absolute links instead of relative links, because there's less chance for a spider (not just Google, but any spider) to get confused.[/quote]

http://www.webmasterworld.com/forum30/29720.htm

skalinks
Admin

Posted: 1 Sep 2005 04:34:25


Are there some links to the extended description pages?

linky
Member

Posted: 1 Sep 2005 15:38:27


Yes. Under more info. I noticed on one of my directories, Jeeves has searched them... And the Adsense googlebot does go to them as well.

My problem just seems to be with MSN, Yahoo and Google... but they are picky to begin with.. I will give it a few weeks and see what happens.

skalinks
Admin

Posted: 1 Sep 2005 22:27:03


Ok...let's wait. If you have any problems, feel free to ask some questions.
Thanks for using our product.