SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast Roxanne's Avatar
    Join Date
    Jan 2005
    Location
    CALI
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Red face A very stupid question, I must say.

    How do I make is so site.com/links goes to site.com/links.html

    I'm drawing a blank.

    Thanks

  2. #2
    SitePoint Enthusiast
    Join Date
    Jun 2004
    Location
    USA
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, one possible way that comes to mind is to create a symbolic link named links that points to links.html. This assumes your host allows this, of course.

    BaenSidhe

  3. #3
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or use .htacess and mod_rewrite. Either way, not an HTMl/XHTML question.
    Aaron Brazell
    Technosailor



  4. #4
    SitePoint Guru
    Join Date
    Dec 1999
    Location
    Southampton, Hants, UK
    Posts
    672
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    instead of using links.html, make links a directory and put links.html in index.html in the directory:

    that way you'll point to the directory (/links) and it'll automatically load the index file within it :-)


Bookmarks

Posting Permissions

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