Htaccess File

k0nsl/codejab/master/.htaccess

HTTP_HOST, REQUEST_FILENAME
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]
Exit mobile version