• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
htaccess for front/backend

#2
[eluser]louis w[/eluser]
You could shorten that to be on one line like this:

RewriteRule ^/admin/?$ /index.php/admin [NC,L]

- You do not need the Cond if you are just testing for a directory name
- I always like adding a NC to it to make it not case sensitive


Messages In This Thread
htaccess for front/backend - by El Forum - 06-30-2008, 01:12 PM
htaccess for front/backend - by El Forum - 06-30-2008, 01:56 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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