Skip to content

Commit

Permalink
add htaccess
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodingaviator committed Jul 26, 2023
1 parent c438dcd commit f5a21e2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^([^\.]+)$ $1.php [NC,L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^([^\.]+)$ $1.html [NC,L]

0 comments on commit f5a21e2

Please sign in to comment.