Welcome to WebmasterWorld Guest from 188.8.131.52
Ok, I'm completely new to this and would really appreciate some help. I'm trying to remove the .html extension at the end of my site pages.
My pages currently looks like this:
and I want them to look like:
My hosting is on godaddy shared windows. Whenever I try to manually change it to "http://www.example.com/about-us", I get a 404 error. I have tried to use .htaccess with no success, can it be used on a windows based server? D:
Please let me know how to fix this problem and thanks in advance.
another way to do this (probably what piatkow is referring to) is if you can specify the default directory index document such as index.html and create a directory structure with names similar to your original documents.
then refer the the "extensionless" document with a trailing slash, which makes it a directory url.
that way a request for /about-us/ is actually served the file located at /about-us/index.html
it's not an ideal solution, but it may be your only option if you have limited control.