Htaccess File

joshuaadela/jesusislordchurch-admin/master/.htaccess

GET, REQUEST_FILENAME, REQUEST_URI, THE_REQUEST
#Deny from all

#RewriteEngine on
#RewriteCond $1 !^(index.php)
#RewriteRule ^(.*)$ /index.php?/$1 [L]

#RewriteEngine on
#RewriteCond $1 !^(index.php|uploads|css|js|lib|img|bootstrap|robots.txt)
#RewriteRule ^(.*)$ /manage/index.php/$1 [L]

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /

    RewriteCond $1 !^(index.php|images|assets|robots.txt)

    # Removes index.php from ExpressionEngine URLs
    RewriteCond %{THE_REQUEST} ^GET.*index.php [NC]
    RewriteCond %{REQUEST_URI} !/system/.* [NC]
    RewriteRule (.*?)index.php/*(.*) /$1$2 [R=301,NE,L]

    # Directs all EE web requests through the site index file
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
Exit mobile version