Remove File Extention from URLs in .htaccess


/ Published in: PHP
Save to your folder(s)

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/extension is enabled.

URL: http://www.apphp.com/index.php?snippet=htaccess-remove-file-extention-from-url

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.