08
Jul
Change your joomla website default admin url
- Category:
- Joomla
Posted On : July 8, 2013
| No Comment
The Back-end of a Joomla! site is used to manage the content, appearance and functionality of the site. It is not seen by visitors to the ‘Front-end’ and you can only login to it if you have appropriate permissions. Joomla uses “Administrator ” name for its backend URL by default. It remains not much secure if we have already kept URL as by default .So For security reason we need to change joomla administrator folder. To protect your joomla website you need to rename your administrator folder or path.
Here is the steps to implement this.
Step:-1-Create a folder of your choice name like ‘myadmin’ in root directory.
Step:2-Create a index.php file and write a code like this & Save it in myadmin folder.
1 2 3 4 5 6 7 8 9 | <!--?php $admin_cookie_code= "999999999" ; setcookie("JoomlaAdminSession",$admin_cookie_code,0,"/"); header("Location: ../administrator/index.php"); ?--> |
Step:-3-Add given Below code in index.php file of default folder(Administrator) of joomla
1 2 3 4 5 6 7 | if ($_COOKIE['JoomlaAdminSession'] != "999999999") { header("Location: ../index.php"); } |
(Your Url should look like this – http://yoursitename/ myadmin)
- Tags: