Profile
Achievement
apphp-snippets's Recent PHP SnippetsTagged htaccess
- All /
« Prev 1 Next »
This example shows you how to create redirection o another directory. It may be useful, for example, when you have a project, placed in sub-directory.
0
829
posted 8 years ago by apphp-snippets
This example shows you how to remove file extension from URLs using .htaccess file directives. Remember, that "mod_rewrite" works only on Apache server. Before trying please be sure that you are working on Apache server and the "mod_rewrite" module/e...
0
762
posted 10 years ago by apphp-snippets
We know that normally index.html or index.php is the default page for many servers, when visitor types a directory without specifying a file name. You can change this rule with .htaccess:
0
734
posted 10 years ago by apphp-snippets