www.webdeveloper.com
Results 1 to 5 of 5

Thread: Beginner needing help

  1. #1
    Join Date
    Jun 2010
    Posts
    1

    Beginner needing help

    How do I save a page in Dreamweaver so my visitor doesn’t have to type .html at the end of my webpage address? For example the page is saved as: www.domain.com/product.html, but I want my site visitors to just need to type www.domain/product.

  2. #2
    Join Date
    May 2010
    Location
    Midwest USA
    Posts
    16

    Re: Beginner needing help

    It would seem the simplest way would be to rename products.html to index.html and put it in a subdirectory named /products. Then change the links on your other pages to reflect the new location.

    There's probably a way to do it with .htaccess, but I'm still learning.

  3. #3
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,217
    As stated, setting up your .htaccess to deliver to the browser the URL you wish for a link is one way. Another is to put the file in its own folder (products) and rename it to index.html. Some browsers will still show the complete URL though.

  4. #4
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    At least 98% of internet users' DNA is identical to that of chimpanzees

  5. #5
    Join Date
    May 2010
    Posts
    35
    Money...thanks for posting this!

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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