Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine On
- RewriteBase /
- # 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]
- RewriteRule ^project/([^/]*)$ /project/index.php?p=$1&u=123&l=k [L, QSA]
- ErrorDocument 404 /index.php
- $uri_asked = explode("/", $_SERVER['PHP_SELF']);
- $uri_asked[3]="project";
- $uri_asked[4]="settings";
- include("www.domain.com/index.php?p=".$uri_asked[3]."&u=".$uri_asked[4]);
- RewriteEngine On
- RewriteCond %{THE_REQUEST} /index.php?p=([^&s]+) [NC]
- RewriteCond %{REQUEST_URI} !/system/ [NC]
- RewriteRule ^(.*?)index.php$ /$1%1? [R=301,NE,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement