Support

Admin Tools

#28819 locked out from a MOVED website

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Wednesday, 03 January 2018 17:17 CST

bobpit
Hi

I have a website https://example.com.

I also had a Development version in subdomain :
https://dev.example.com


I decided to MOVE the subdomain from DEV to DEV5. So now I have a working website at
https://dev5.example.com


The problem is I cannot go to the admin any more:
https://dev.example.com/administrator.

I have all levels of protection :

1) Admin tools -> Web Application Firewall → Configure WAF → basic protection features - > Administrator secret URL parameter :
2) Admin Tools – Password-protect Administrator


I have already done this:
Go inside the plugins/system/admintools/admintools directory on your site (on older versions of Admin Tools: plugins/system/admintools). You will see a file named main.php. Rename it to main-disable.php.

Please help.

bobpit
I am sorry, I wanted to say, I cannot go to the admin any more:
https://dev5.example.com/administrator/index.php?secretkey

bobpit
Hi

When I say "I moved the subdomain from DEV to DEV5", I mean:
I crated a new subdomain DEV5.
I renamed the directory /dev.example.com to /dev5.example.com
I deleted old subdomain DEV.

nicholas
Akeeba Staff
Manager
Admin Tools does not store your site's URL in anything except the .htaccess file you create with the .htaccess Maker. If this is the case, deleting the .htaccess file from your site's root should let you log in.

If, however, this didn't work I have to say that this sounds like a Joomla! (configuration.php file) issue. Check the following keys in the configuration.php and adjust for the new location of the site: $live_site, $cookie_domain and $cookie_path. On most servers all three can be left blank, allowing Joomla! to determine their correct values from the information reported by the web server. If you have to set them for Joomla! to work on your server you need to update them when you move your site.

Alternatively you can rename your site back to its previous name, take a backup with Akeeba Backup, renamed the site's directory and subdomain and the restore the backup of the site. Akeeba Backup's restoration script lets you easily change all those invisible and easy to forget configuration values during restoration.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!