www.webdeveloper.com
Results 1 to 5 of 5

Thread: Meaning of: "/"!

  1. #1
    Join Date
    Jun 2005
    Location
    Cairo, Egypt.
    Posts
    96

    Meaning of: "/"!

    Hello everybody,

    I came accross such coding: <A href="/"..>.

    What "/" means, its advantages and disadvantages.

    Thanks in advance for the kind help.

  2. #2
    Join Date
    Jul 2009
    Posts
    184
    / is where the anchor link is going to take the user that clicks on the link.

    / will take the user to the domains root, or homepage typically. In other words, if your domain was example.com, the link would take you to whatever page displays at http://example.com/

    The advantage to using / is that the anchor links using it will still work if you move your websites files under a different domain name. Plus it is shorter than typing out your domain name every time.

  3. #3
    Join Date
    Jun 2005
    Location
    Cairo, Egypt.
    Posts
    96
    That is great WestWeb, thanks a lot.

    But do not you think it may represent a deficiency in terms of SEO?

  4. #4
    Join Date
    Jul 2009
    Posts
    184
    From what I have read it is just older search engines that get confused by relative links like href="about/us". I think the trick there used to be to always start your links with /.

    If it really concerns you, do a search for something like "SEO absolute vs relative links" and you should find some more in depth information on the pros and cons of such.

  5. #5
    Join Date
    Jun 2005
    Location
    Cairo, Egypt.
    Posts
    96
    Very appreciated, WestWeb!

    I searched and I got good answer.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles