0

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. !

2
Contributors
2
Replies
5
Views
6 Years
Discussion Span
Last Post by pbcomput
0

Hi pbcomput,

Some webhosts are quite strict with what they will allow in .htaccess files. My previous host for example wouldn't allow me to customise them at all.

Contact your host and ask them if you are allowed to add your own .htaccess files.


Hope this helps.
Zagga

0

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.!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.