• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.htaccess baseurl

#1
[eluser]dexter21[/eluser]
Hi i have following site estructure

/codeign
/several
how could i do with .htaccess that if i type www.mysite.com go to www.mysite.com/codeign ?

i have .htaccess:
Code:
RewriteCond $1 !^(index\.php|imagenes|js|descargas|tmp|public|robots\.txt)
RewriteRule ^/codeigniter/([^/\.][^\.]?)$ /codeigniter/index.php/?$1 [L]

many thanks

#2
[eluser]Johnny Freeman[/eluser]
you could just put a redirect in your index file... just a thought


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.