Can't access admin after writing .htaccess
Hi all,
I m newbie in .htaccess i am using .htaccess to make url SEO friendly.
I can access admin in localhost of my pc. but when i put all this files to my server i can't access admin. it shows me white blank page. without any message or error.
Please help me out to solve this problem. here is my .htaccess code.
Options +FollowSymLinks
RewriteEngine on
RewriteRule admin$ admin/index.php
RewriteRule admin/$ admin/index.php
RewriteBase /exotic/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^fleet/(.*)/$ fleet_car.php?fl_id=$1 [QSA]
RewriteRule ^service/(.*)/$ services.php?s_id=$1 [QSA]
RewriteRule ^exoticcars/(.*)/$ exoticcar.php?e_id=$1 [QSA]
as i wrote rule for admin it works only in my localpc but didnt work with my server.
my site url is www.mysite.com/exotic
my site admin url is www.mysite.com/exotic/admin
Please help me out asap.:S
Thanks in advance. !
pbcomput
Junior Poster in Training
59 posts since Feb 2010
Reputation Points: 19
Solved Threads: 4
Hi Zagga,
my host allow me to put htaccess file.and all of my .htaccess rules are working fine with this .htaccess for example - RewriteRule ^fleet/(.*)/$ fleet_car.php?fl_id=$1 [QSA] rule for get url SEO friendly. and i got that url.
so, my problem is that i can't access admin panel. it seems that i done some mistake to write rule for admin panel. please help me to correct admin rule for .htaccess.
Thanks in advance.!
pbcomput
Junior Poster in Training
59 posts since Feb 2010
Reputation Points: 19
Solved Threads: 4