Welcome Guest, Not a member yet? Register   Sign In
hidding url with .htaccess
#1

[eluser]Mitja B.[/eluser]
My .htaccess

Code:
RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond $1 !^(index\.php|public|tmp|robots\.txt)
    RewriteRule ^(.*)$ index.php?/$1 [L]

I have controller main.php so my url is domain/main/function

how can i with .htaccess hide main from url that my url will be just domain/function


Thx


Messages In This Thread
hidding url with .htaccess - by El Forum - 02-20-2009, 02:50 AM
hidding url with .htaccess - by El Forum - 02-20-2009, 03:41 AM
hidding url with .htaccess - by El Forum - 02-20-2009, 01:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB