News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Admin URL Not Redirecting Properly

Started by empmdk, January 22, 2017, 11:31:46 PM

Previous topic - Next topic

empmdk

I set the admin url during installation and I've checked in the /system/config.php file to make sure it is correct and it is. ".htaccess.txt" has been renamed to ".htaccess". When trying to go to the admin URL, I get directed to the storefront instead of admin. I've noticed the only way to get the admin login to load, is if I add "?s=admin" to the end of the url.
If I leave the .htaccess with .txt extension, it will give me a not found error.

Sam_78

IF you removed .txt and your storefront is working fine then I don't thing there is a problem with htaccess
Just to make sure you are hitting /index.php?s=admin right? or just ?s=admin

empmdk

The storefront is fine either way. However, should the page not redirect itself by just putting /admin? From looking into the config.php file it says it will use ?s=name to access the admin. Are we meant to manually type that portion of the URL or no?

yonghan

Hi, you will need to type the admin URL manually. AFAIK it will not automatically redirect the URL by putting /admin.

Basara

Quote from: empmdk on January 23, 2017, 03:19:56 PM
The storefront is fine either way. However, should the page not redirect itself by just putting /admin? From looking into the config.php file it says it will use ?s=name to access the admin. Are we meant to manually type that portion of the URL or no?

This made for security reasons - in other Shopping Carts anyone can access your admin side and try to crack it.
In AbanteCart your admin is secure with unique admin so only you can access it.

Forum Rules Code of conduct
AbanteCart.com 2010 -