usually we use [ domain . com / folder / ] it works fine. but [ domain . com / folder ] not works fine every time. my question is how to create no [ / ] at the end of URL ? and how to create [ domain . com / file-no-dot ] so we do not need to put [ / ] at the end of URL ? Thanks Regards,
domain.com - will load the defaults docs on the root folder. doman.com/dir - will load the default docs inside the 'dir' folder. domain.com/dir/ - will load the default docs inside the 'dir' folder. Can you please be more clear where exactly you are using these paths?
I have seen some sites are using domain.com/file , and the file name has no extension. how to do that?
Which server do you have? Linux or Windows? This tencho is called "URL Rewrite". On Linux/Apache we use Mod_rewrite on the .htaccess file. See this guide. And on Windows, as long as you use one of the mod_rewrite cousins for IIS (iis_rewrite, isapi rewrite), the method will be mostly the same for IIS as it will for Apache. Do remember that the place you insert the rules will depend on which software you're using (you won't be putting them into httpd.conf or .htacess). But the rule generation pretty much sticks either way. Check out both: introduction to mod_rewrite And: mod_rewrite Documentation Hope my answer helps you.