I'm troubleshooting an admin issue for a 3rd party's Magento CE 1.9.?. They "renamed" their admin URL, but they also secured their admin using .htaccess
to restrict access to specific IP.
I'm trying to find the .htaccess
file that does this in FTP, but can't find an /admin
or /new-admin-URL
directory.
- What folder does the admin live in?
- What
.htaccess
would contain the restricted IPs? I can't see those restrictions in the web root's.htaccess
.
Best Answer
@Steve, Admin path will either be set in
app/etc/local.xml
file or overwritten by Magento admin and can be verified incore_config_data
table wherepath=admin/url/custom
.Developer IP restriction can be done by admin panel as well. If you are not finding this in .htaccess then check this as well ...
System > Configuration > Advanced > Developer
If you have the database access, then you can modify this record in
core_config_data
table wherepath=dev/restrict/allow_ips
this should work for you.