title: How can I change the Joomla administrator URL By PHP - No plugins
body: <p>Since I'm new to Joomla I would like to know whether there is a way to change the administrator URL by <strong>using PHP</strong> rather than using a plugin or extensions. As far as I see using a 3rd party component is risky. I really don't want to use 3rd party extensions at all in mysite. How can I get it done?</p>
  
  <p>By default Joomla administrator URL is yoursitename/administrator.</p>
  
  <p><strong>changing constants</strong> in /includes/defines.php and /administrator/includes/defines.php <strong>does not work</strong>.</p>
  
  <p>Thanks</p>