Welcome Guest, Not a member yet? Register   Sign In
config .htacces to obtain url as fotolog, twiterr, etc...

Hi. I'm doing a solution...
i need that my users enter on the site with like url:


with this .htaccess script, i get hide only the index.php

# Customized error messages.
ErrorDocument 404 /index.php

# Set the default handler.
DirectoryIndex  index.php/usuario/

# Various rewrite rules.
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php $1 [L,QSA]

how can do it? actually, i haven't idea about .htaccess

i found the following script, but the site isn't made on CI

Quote:RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule ^(.+)$ ver.php?ver=$1

where ver.php is renamed by other string


Thanks for your help..!!

Messages In This Thread
config .htacces to obtain url as fotolog, twiterr, etc... - by El Forum - 07-26-2009, 03:52 PM

Theme © iAndrew 2016 - Forum software by © MyBB