Msg#: 4235527 posted 5:48 am on Nov 27, 2010 (gmt 0)
If you ever change your programming language, from html to php, asp, etc you can just place the appropriate index.(php|asp|?) file under that folder and delete the index.htm as opposed to making an .htaccess file to rewrite the request.
better than having all your links go to domain.com/page2.html when your new page is domain.com/page3.php
much easier to just go to domain.com/page2
Either way .com/page2.html or domain.com/page2 both are easy to rewrite with an .htaccess file when it really boils down to it..
personally I like placing the documents in independent folders and named index.php because I hate seeing extensions..
Msg#: 4235527 posted 7:20 am on Nov 27, 2010 (gmt 0)
Thanks cmnetworx. I ran a test and this process do work in html too.
You've explained re-write reasons, fair enough, but it is the last sentence there that I'm interested in. Is it simply a matter of visual preference or are there seo implications too perhaps relating to canonical url best practices?
Msg#: 4235527 posted 4:55 pm on Nov 30, 2010 (gmt 0)
when I am going down through the list of search results on google or something I don't care either way if it has a file extension or not.. It's just on my domains. I think its because typing .htm takes so much more effort, lol.. Actually in my scenario I try to not make it completely obvious that I am using php this way some noob won't try to mess with my pages/forms or sql injections.. because if they think I am running something else (anything else) at least their attempts would be a waste of time..