0

I want to secure my website from script injection and other Security failures so is there patch or somthing that i have to do or upload to do so.

Also i want advice from you concerning sécurity magento 2.

And how to change the url of backend from /admin to /somthing/admin.

Thanks in advance :)

  • 2
    I think you should check your site report here and here, do action accordingly. – Hitesh Oct 10 '18 at 10:45
  • 2
    go to app/etc/env.php and open it search 'frontName' => 'admin' and replace admin to what you want – Hitesh Oct 10 '18 at 10:46
  • 1
    yes changing the frontName => admin to something/admin in env.php is the right approch. But make sure you delete cache from the var folder after making the changes – Usman Yousaf Oct 10 '18 at 10:50
  • thanks for all of you really :) just one question @Hit's my magento version is 2.2.4 so what's the appropriate patch to downold and thanks again – Developper Magento Oct 10 '18 at 10:59
  • After magento 2 release they have removed patch concept to install manually, you can just run composer update from root folder that's it. or update version check here – Hitesh Oct 10 '18 at 11:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.