Hi there, How to transform a URL like this: http://www.yourdomain.com/profile-1.html to a URL like this: http://www.yourdomain.com/profile-1/ ? I need it for just one URL, so I don't need htaccess and whatnot. Want it plain and simple. Can I just make a folder profile-1 and put index.html in there?
yes you can, but the same page will be accessible using this url too : http://www.yourdomain.com/profile-1/index.html
Almost correct. You are assuming that he does NOT have ANOTHER page already named "index.html" in that folder. If he does, then THAT becomes the DEFAULT when no specific page is named.
You should modify your htaccess file to do mod rewrite. You should write mod rewrite rules and can make seo friendly urls. It will be useful for the SEO purpose.
No it doesn't really matter at all, the index.html wont be indexed if you don't have any links to it. You could redirect index.html to /profile-1/ if you wanted to but there's no need to bother really, unless you're fussed about a few people linking to the index.html or something?
Thanks. No, I was just wondering if it's okay to just do it the way I described -- without htaccess, etc. So I guess it is.