Use absolute FQDN when referencing an external resource, use relative paths when referencing internal resources.
There are many disadvantages to using absolute paths and none to using relative paths. (That I can think of anyway). To a search engine or web browser, the root is added the beginning of the path of relative resources anyway - which is how they know they are on the same page. A good CMS will use relative paths for internal resources - every time. That's my opinion though, others may have good reasons why this is wrong. On Sat, 30 Oct 2004 09:16:23 -0700, John <[EMAIL PROTECTED]> wrote: > Hello again, > > I have searched both the Internet and the list archives but did not find > a definitive resource on the superiority of fully-qualified domain name > (FQDN), absolute or relative references and I want to get any fresh > opinions here as well. I am not sure if it is appropriate to post the > best URLs I found? I understand where FQDN must be used, but I am > wondering which is most appropriate for each tag such as <a href>, > script, img and link, etc., or if best practice even differ by tag, and > if there are the different considerations between representation on the > server and what is actually sent to the browser. Most content > management products seem to use absolute URLs where assets are > referenced, but not with FQDN. When I worked on an integrated CMS/GMS, > the globalization management system vendor said that translation is > easiest when relative references are used. I seem to prefer unqualified > absolute URLs for some reason, but consensus seems to be against me. > What are the related considerations regarding CMS products, and which > address them well? The browser requirements generally don't matter > other than it run with the latest IE and Firefox. > > I realize this is a little scattered but any resources or opinions on > these topics would be appreciated. > > -John > > ****************************************************** > The discussion list for http://webstandardsgroup.org/ > > See http://webstandardsgroup.org/mail/guidelines.cfm > for some hints on posting to the list & getting help > ****************************************************** > > -- Website Designer/Developer www.nataliebuxton.com ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
