Is there a way to get to a page w/o typing .htm at the end

  • Thread starter Thread starter Guest
  • Start date Start date
Name the page <your host's default filename - ask them> and put it into a
folder named "shipping". Since it's the default filename, it will load if
no filename is specified.
 
cigargerald said:
Is there a way to set up a page so someone go to it without typing
.htm at the end. (i.e. www.abccompany.com/shipping instead of
www.abccompany/shipping.htm)?

On Apache, you can achieve this using the directive

Options +MultiViews

in your .htaccess, cf.
<http://httpd.apache.org/docs/2.0/mod/core.html#options>.

Another way would be to create a directory "shipping" and place a default
document (usually "index.html" or "Default.html") in it. Your server will
do a "courtesy redirect" from <http://www.abccompany.com/shipping> to
<http://www.abccompany.com/shipping/>.
 
Much thanks to all for a quick and simple solution...best of all it
works...and easily! Thanks again!

G-
 
Back
Top