you should not put your admn folder name in your robots.txt file
It will probably be one of the first files a kiddie hacker will look to see what to attack
It will probably be one of the first files a kiddie hacker will look to see what to attack
Hello guys, i have installed vqmod too , so what i need to modify to rename/ protect my admin folder?
thanks in advance
my version is 1.5.2.1
best regards
Marco
i solved, i didn't modified on admin folder config.php
thanks in advance
my version is 1.5.2.1
best regards
Marco
i solved, i didn't modified on admin folder config.php
This doesn't work - I get an error (it appears in the front area skin) "The page you requested cannot be found!"iHandler wrote:I think you can set "Password Protected" area for the admin login. You can do it in cPanel.
1st Login - Password Protected area
*Username & Password can be saved so next time you entry the site.
2nd Login - http://www.yoursite.com/store/admin/index.php
Personally, I like this way since you don't need to rename the original folder, even if you rename to another folder, the "hacker" can use "scan script" to scan which one the admin folder is.
OpenCart Hosting - SSL Certificates - VPS Servers - http://www.martfox.com
What about changing define('HTTP_ADMIN', 'http://yoursite.com/admin/'); in the main .config file? Does this affect anything?
"EDIT: in version 1.5.6 this line of code is no longer present in main .config file."
"EDIT: in version 1.5.6 this line of code is no longer present in main .config file."
Last edited by Antoni4 on Tue Aug 27, 2013 7:52 am, edited 1 time in total.
Hi,
I read in the opencart instructions to modify the admin file to something else which I have done. Also change the config files and VQMOD.
I have other extensions which when you upload during ftp. the files and code assume the folder is still called admin. So before you upload any files such as these do you need to rename them accordingly. Seems like hell of a long winded process changing the admin folder.
Cheers.
I read in the opencart instructions to modify the admin file to something else which I have done. Also change the config files and VQMOD.
I have other extensions which when you upload during ftp. the files and code assume the folder is still called admin. So before you upload any files such as these do you need to rename them accordingly. Seems like hell of a long winded process changing the admin folder.
Cheers.
This works,babaloo wrote:to change the admin name go to config.php in admin and change the name "admin":
// HTTP
define('HTTP_SERVER', 'http://localhost/upload129/HERE/');
define('HTTP_CATALOG', 'http://localhost/upload129/');
define('HTTP_IMAGE', 'http://localhost/upload129/image/');
// HTTPS
define('HTTPS_SERVER', '');
define('HTTPS_IMAGE', '');
// DIR
define('DIR_APPLICATION', 'C:\wamp\www\upload129/HERE/');
define('DIR_SYSTEM', 'C:\wamp\www\upload129/system/');
define('DIR_DATABASE', 'C:\wamp\www\upload129/system/database/');
define('DIR_LANGUAGE', 'C:\wamp\www\upload129/HERE/language/');
define('DIR_TEMPLATE', 'C:\wamp\www\upload129/HERE/view/template/');
define('DIR_CONFIG', 'C:\wamp\www\upload129/system/config/');
define('DIR_IMAGE', 'C:\wamp\www\upload129/image/');
define('DIR_CACHE', 'C:\wamp\www\upload129/cache/');
define('DIR_DOWNLOAD', 'C:\wamp\www\upload129/download/');
define('DIR_CATALOG', 'C:\wamp\www\upload129/catalog/');
and if you want you can still change the .htaccess
Thanks for the clear tutorial
Just a heads up, it is no longer necessary to edit each of your vQmod files to replace all occurrences of 'admin'.thysm00 wrote:Another quick tip, if you have vQmod extensions, don't forget to change all of the occurences of admin to the new name otherwise they won't show up.
In newer versions of vQmod just open up vqmod/pathReplaces.php and add something like this to the end of the file. Where 'admin123' is your new admin folder... don't use admin123
Code: Select all
// START REPLACES //
$replaces[] = array('~^admin\b~', 'admin123');
// END REPLACES //
Quick Edit Admin Panel (40% off!) - CSS Unique (only $10!)
Sticky Admin Menu (Free) - Add Scripts & Styles to head (Free)
I'm new to OpenCart and saw in the documentation to change the admin folder name ( http://docs.opencart.com/display/openca ... +interface ). It states:
I don't see any mention of the admin folder in either config file. Am I missing something or is this documentation simply incorrect?Changing the name of the admin folder to another name is important for improving an online shop's security. The config.php file needs to be edited to indicate the correct file path and location.
And what about these 3 (admin/config.php):cdpritchard wrote:I'm new to OpenCart and saw in the documentation to change the admin folder name ( http://docs.opencart.com/display/openca ... +interface ). It states:
I don't see any mention of the admin folder in either config file. Am I missing something or is this documentation simply incorrect?Changing the name of the admin folder to another name is important for improving an online shop's security. The config.php file needs to be edited to indicate the correct file path and location.
Code: Select all
define('HTTP_SERVER', 'http://yourshop/admin/');
define('HTTP_CATALOG', 'http://yourshop');
// HTTPS
define('HTTPS_SERVER', 'http://yourshop/admin/');
define('HTTPS_CATALOG', 'http://yourshop');
// DIR
define('DIR_APPLICATION', 'some/root/admin/');
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
How can we create an isolated fake version of the original admin log-in page with crippled functionality as described here?As a extra tip after that, it is good to make new catalog, called admin (empty), and put there 2 files:
.htaccess
Code: Select all
AuthUserFile /home/user/opencart/admin/.htpasswd
AuthGroupFile /dev/null
AuthName "Username:"
AuthType Basic
<limit GET POST>
require valid-user
</limit>
And second,
.htpasswd (empty)
Code: Select all
Nice litle suprise for hacker. While he try hack empty folder ur real admin catalog is by still safe, bicouse he dont looking for it ;-]
Hi
I changed my admin folder and the config file using the instructions but I get the errors:
When i login i get the following:
I am using the latest version of opencart.
Please help!!!!!!
I changed my admin folder and the config file using the instructions but I get the errors:
Code: Select all
/home/store/public_html/Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/store/public_html/StoreManager/config.php:1) in /home/store/public_html/system/library/session.php on line 21Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/store/public_html/StoreManager/config.php:1) in /home/store/public_html/system/library/session.php on line 21
Code: Select all
/home/store/public_html/Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/store/public_html/StoreManager/config.php:1) in /home/store/public_html/system/library/session.php on line 21Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/store/public_html/StoreManager/config.php:1) in /home/store/public_html/system/library/session.php on line 21Warning: Cannot modify header information - headers already sent by (output started at /home/store/public_html/StoreManager/config.php:1) in /home/store/public_html/system/library/response.php on line 12
Please help!!!!!!
As it reads, you have made an error while storing the config.php, because it sends something ..sweet.p wrote:Hi
I changed my admin folder and the config file using the instructions but I get the errors:
..
Guess you stored the file with BOM.
Which editor have you used?
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
hi all
need some help when I change the folder name for some reason I cant save changes under settings - store. When I click save it says page cannot be found. I did update the config.php and also updated vqmod.
Any ideas?
Thanks
need some help when I change the folder name for some reason I cant save changes under settings - store. When I click save it says page cannot be found. I did update the config.php and also updated vqmod.
Any ideas?
Thanks
Hi ,
renamed the admin folder.
Any help ?
renamed the admin folder.
- Changed it in admin/config.php
- and config.php
- changed it vqmod/install/index.php
- vqmod/pathReplaces.php
Any help ?
Well, I assume, that a Solution like linked below would be a much simpler
and still not much less secure Solution for such, just to mention this !
And in any case still fully compatible with anything else, wich is no longer the
Case with your way of doing this.
Good Luck!
Ernie
---
[VQMOD] SecureMyAdmin free, OC v.1.5.x - 1.5.6.5_rc:
https://www.opencart.com/index.php?rout ... n_id=15901
combined with this:
SecureMyAdmin - Login Addon free, OC v.1.5.x - 1.5.6.5_rc:
https://www.opencart.com/index.php?rout ... n_id=17247
---
(VQMOD) Change admin url free, OC v.1.5.6.x - 2.2.0.0:
https://www.opencart.com/index.php?rout ... n_id=27076
---
Change admin url free, OC v.1.5.6.x - 2.2.0.0:
https://www.opencart.com/index.php?rout ... n_id=27076
---
(VQMOD) Secure Admin URL free, OC v.2.0.0.0 - 2.2.0.0:
https://www.opencart.com/index.php?rout ... n_id=24045
---
and still not much less secure Solution for such, just to mention this !
And in any case still fully compatible with anything else, wich is no longer the
Case with your way of doing this.
Good Luck!
Ernie
---
[VQMOD] SecureMyAdmin free, OC v.1.5.x - 1.5.6.5_rc:
https://www.opencart.com/index.php?rout ... n_id=15901
combined with this:
SecureMyAdmin - Login Addon free, OC v.1.5.x - 1.5.6.5_rc:
https://www.opencart.com/index.php?rout ... n_id=17247
---
(VQMOD) Change admin url free, OC v.1.5.6.x - 2.2.0.0:
https://www.opencart.com/index.php?rout ... n_id=27076
---
Change admin url free, OC v.1.5.6.x - 2.2.0.0:
https://www.opencart.com/index.php?rout ... n_id=27076
---
(VQMOD) Secure Admin URL free, OC v.2.0.0.0 - 2.2.0.0:
https://www.opencart.com/index.php?rout ... n_id=24045
---
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 4 guests