Created
February 17, 2020 07:31
-
-
Save chanakaDe/6c3f71d9539e0b00ca45978acc646c75 to your computer and use it in GitHub Desktop.
htaccess file for www.navigator360.co/education
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AddDefaultCharset UTF-8 | |
<IfModule mod_rewrite.c> | |
# Enable rewrite rules | |
RewriteEngine on | |
# Base directory | |
RewriteBase /education/ | |
# Deny direct access to the next directories | |
RewriteRule ^bl-content/(databases|workspaces|pages|tmp)/.*$ - [R=404,L] | |
# All URL process by index.php | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*) index.php [PT,L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment