Welcome Guest, Not a member yet? Register   Sign In
.htaccess exception
#1

[eluser]Fireclave[/eluser]
Hey i have the following code in my htacces and this works fine.
Code:
RewriteEngine On
RewriteBase /

#RewriteCond %{HTTP_HOST} ^studio18-2.de$ [NC]
#RewriteRule ^(.*) http://www.domain.de/$1 [L,R=301]

RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

But now i need to add an exception. The url /blog should not call a CI-Controller. /blog is my folder named for my Wordpressblog. How can i add an exception like

IF domain.de/blog/* -> not Redirect
OR
IF NOT domain.de/blog/* -> redirect




Theme © iAndrew 2016 - Forum software by © MyBB