I am having a problem with my .htaccess file. I want all my pages to go from .html to .php. However, I get an error message everytime I try to place it? Very frustrating. Can someone tell me exactly need to be in this .htaccess file?
silver,
It may NOT be an .htaccess file (content) problem. By default, mod_rewrite is NOT enabled so you need to get into your … well, I’ve got it all described in the start of the tutorial linked in my signature. No need for me to copy and paste here, is there? There’s also a test and regex tutorial with examples. Come back if you have any questions on implementation.
Regards,
DK
ok do you know how to turn it on in Hostgator?
I get this error everytime:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@deaddogdesign.bestqualityproducts.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
got it to work I AM A FOOL!
silver,
No, .htaccess is very sensitive to minor syntax (and other) errors. Care to share your experience so others won’t fall into the same trap?
Anyway, I’m glad to see that you’ve resolved the problem.
Regards,
DK