k0nsl/codejab/master/.htaccess
RewriteEngine on # add your domain RewriteCond %{HTTP_HOST} ^www.codejab.com$ [NC] RewriteRule ^(.*)$ http://codejab.com/$1 [R=301,L] RewriteRule ^embed/([^.]+).js$ /code/embed/$1 [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /index.php/$1 [L]
Files
![HTTP_HOST, REQUEST_FILENAME](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/k0nsl/codejab-htaccess.png)