Forum Moderators: phranque
I read many amazing options on the mod rewrite but here's what I'm trying to accomplish.
I simply want to be able to make my website "SEO" friendly by not having the file extension show.
Here's my question. I will probably have some .htm and .html files in there, but I will be making it primarly .aspx files
So...
can I have my site show no file extension but allow all the file extensions? .htm, .html, .aspx..maybe .php too?
If so, How can I? , (other than creating a folder for every individual page, which I would prefer not to do....)
Try a search for "extensionless URLs" here on WebmasterWorld to turn up previous threads.
Jim
Maybe I didnt look hard enough, but if anyone knows a simple rewrite to swap .html files to .aspx I'd certainly appreciate it!
Also, do I need 2 rewrites if I want .htm to be .aspx but not show the file extension
as well as
.html to go to .aspx without showing the file extension?
Thanks in advance.
I found a good example within the top three threads listed on WebmasterWorld using the suggested search words [google.com]... Please dig deeper.
This is a do-it-yourself forum, as described in our forum charter [webmasterworld.com]. You will likely need to research [httpd.apache.org] and understand the examples you find, and then modify them to fit your exact needs. Specific questions are welcome.
Jim
Are you on Apache or Windows? You say .aspx, that's a Windows extension.
I believe what you are referring to is called...
HTTP/1.1: Content Negotiation
[w3.org...]