Welcome to Discussion Forum, where you can ask questions and receive answers from other members of the community.

opencart admin session not working in localhost, it is redirecting me to localhost/admin

1 like 0 dislike
I am using Opencart 2.3.0.2, and just installed in localhost and also created a database. During installation I gave username and password for admin, but I am unable to access admin side. when I write the url localhost/mysitename/admin it is redirecting to localhost/admin
asked Jun 5, 2017 in Opencart by harsh (8,710 points)

1 Answer

0 like 0 dislike

Hi,

 

1. Please check .htaaccess file in the root folder. Open the file and make change in below line -

RewriteBase /

Change the above line to below code -

RewriteBase /mysitename

2. In case the above does not work, please check the config.php file in root directory and /admin directory and check the HTTP_SERVER path.

 

Hope it will help.

 

answered Jun 9, 2017 by teo.arjun (2,610 points)

Related questions

1 like 0 dislike
1 answer 221 views
221 views asked Feb 15, 2017 in Opencart by harsh (8,710 points)
0 like 0 dislike
0 answers 177 views
1 like 0 dislike
2 answers 268 views
0 like 1 dislike
0 answers 194 views
194 views asked Jun 7, 2017 in Opencart by harsh (8,710 points)
0 like 0 dislike
0 answers 460 views
...