Skip navigation
Chloé_L
Currently Being Moderated

I dont't know how to change my URL

Feb 10, 2013 1:38 PM

Tags: #html #dreamweaver #css #cs6

My URL: lave0134.site44.com/dsn1568/exercise-css.html

 

I would like to remove the ".html" at the end but I dont't know how to do it.

I've deleted the ".html" in the document name in my files but it still appears in my URL.

 
Replies
  • Currently Being Moderated
    Feb 10, 2013 1:58 PM   in reply to Chloé_L

    Every web page you create in DW will need to have a .html, .htm, .shtml, .shtm or .php file extension.  This tells browsers & your server that it is a web page.

     

    CSS is not an HTML document.

     

    If you want exercise to be the url, you must create an index.html page and put it inside a folder named exercise.

     

    In the DW Files Panel (F8), your local site would look something like this:

     

    SITENAME (C:\your_site_folder)

         +exercise

              index.html

         +about

              index.html

         +contact

              index.html

         index.html (your site's home page)

     

    Personally, I don't see any value in doing this.  It just makes your site more complicated with all those extra index pages.

     

     

     

    Nancy O.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 10, 2013 5:49 PM   in reply to Chloé_L

    Just because you can do it, doesn't mean you should

    I agree with Nancy,, . when you are editing multiple files, all named index.html, it's a train wreck of errors and mistaken overwtites in the making.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 11, 2013 1:52 PM   in reply to Chloé_L

    The way sites do this is through a server-side configuration to "re-write" the actual URL. You actually don't change the file extension on the actual file but you tell the server to "mask" or hide it. But this is an advanced topic and I'd suggest doing a lot of research before ever trying to make such server configuration changes.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points