If you want to change joomla adminitrator login easily without changing any original code. This I got from other joomla forum, and for all my friend who need, you can try like sample below : With this tricks user will found error page if want to access : http://myweb.com/administrator For User Admin, address of administrator has been changed to : http://myweb.com/myadmin/
1. Create new folder name (example : /myadmin)
2. In "myadmin" folder, create index.php file with following code :<?php
$admin_cookie_code="1234567890";
setcookie("JoomlaAdminSession",$admin_cookie_code,0,"/");
header("Location: /administrator/index.php");
?>
3. In .htaccess enter this code :RewriteEngine On
RewriteCond %{REQUEST_URI} ^/administrator
RewriteCond %{HTTP_COOKIE} !JoomlaAdminSession=1234567890
RewriteRule .* - [L,F]Note : change : "1234567890" with new number depend with your choice, and the number must same with number in index.php file which already created in .htaccess.
Have a nice try....
2 comments:
Yes, I'm already use it :D
Are you sure??
Post a Comment