Site keeps redirecting/can't get to admin url

Discussion regarding Joomla! 2.5 security issues.

Moderators: mandville, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant / FPA - If you are serious about wanting help, you will use this tool to help you post.
Locked
Smartsistah
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Thu Jun 14, 2007 8:41 pm

Site keeps redirecting/can't get to admin url

Post by Smartsistah » Thu Oct 15, 2015 7:22 pm

I cant get to admin url because it keeps redirecting. I went to users in backend and there are users other then myself and there is no place on the site for them to be added so I guess I have been hacked. the site works still but I can't get to admin. What can i do?

pmuruaga
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Fri Mar 16, 2007 9:10 pm

Re: Site keeps redirecting/can't get to admin url

Post by pmuruaga » Thu Oct 15, 2015 8:52 pm

Which joomla version?

sozzled
I've been banned!
Posts: 13639
Joined: Sun Jul 05, 2009 3:30 am
Location: Canberra, Australia

Re: Site keeps redirecting/can't get to admin url

Post by sozzled » Thu Oct 15, 2015 8:57 pm

If your site has been hacked then you probably need to restore it to the stage it was before the problems first started appearing. If you do not have a reliable site backup then I do not have too many other helpful suggestions except to

1) Rename the [current] website folder in on your webhost

2) Create a new folder on your webhost with the same name

3) Install Joomla in this new folder; and then

4) See if you can access the admin backend using your existing site URL.

If this simple procedure works, then you can set about rebuilding your site again. After you get your site going, install a good backup tool (e.g. Akeeba Backup) and make a copy of the site (download the site backup to your PC) and make regular backups in future. Regular site backups are the key to recovering after disasters like the one you seem to be now experiencing. Good luck.
Last edited by sozzled on Sat Oct 17, 2015 10:48 pm, edited 1 time in total.

harperlala
Joomla! Guru
Joomla! Guru
Posts: 697
Joined: Mon Aug 24, 2015 5:55 pm

Re: Site keeps redirecting/can't get to admin url

Post by harperlala » Fri Oct 16, 2015 2:56 am

check .htaccess file. Login phpmyadmin, see table extensions and check any plugin to rename url of backend?

Smartsistah
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Thu Jun 14, 2007 8:41 pm

Re: Site keeps redirecting/can't get to admin url

Post by Smartsistah » Sat Oct 17, 2015 5:23 pm

pmuruaga wrote:Which joomla version?
i believe it's 2.5

thanks

Smartsistah
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Thu Jun 14, 2007 8:41 pm

Re: Site keeps redirecting/can't get to admin url

Post by Smartsistah » Sat Oct 17, 2015 5:27 pm

sozzled wrote:If your site has been hacked then you probably need to restore it to the stage it was before the problems first started appearing. If you do not have a reliable site backup then I do not have too many other helpful suggestions except to

1) Rename the [current] website folder in on your webhost

2) Create a new folder on your webhost with the same name

3) Install Joomla in this new folder; and then

4) See if you can access the admin backend using your existing site URL.

thanks. could i remove the users that are in the database using phpmyadmin and will joomla default back to me as the superadmin or could I add a new one?

If this simple procedure works, then you can set about rebuilding your site again. After you get your site going, install a good backup tool (e.g. Akeeba Backup) and make a copy of the site (download the site backup to your PC) and make regular backups in future. Regular site backups are the key to recovering after disasters like the one you seem to be now experiencing. Good luck.

Smartsistah
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Thu Jun 14, 2007 8:41 pm

Re: Site keeps redirecting/can't get to admin url

Post by Smartsistah » Sat Oct 17, 2015 5:29 pm

harperlala wrote:check .htaccess file. Login phpmyadmin, see table extensions and check any plugin to rename url of backend?
I tried that and don't see any plug ins and i deleted the .htaccess file. should i add it back?

User avatar
Bernard T
Joomla! Guru
Joomla! Guru
Posts: 782
Joined: Thu Jun 29, 2006 11:44 am
Location: Hrvatska
Contact:

Re: Site keeps redirecting/can't get to admin url

Post by Bernard T » Sat Oct 17, 2015 8:58 pm

About your website probably being hacked - read this: http://forum.joomla.org/viewtopic.php?f=621&t=582854

About the forced redirecting on your fronted:
  • Check the dates when the ".htaccess" and "index.php" file in main webdir of your website were changed, and if those dates correspond to your last actions with those files?
  • Check the content of the files mentioned above, do you notice any odd stuff or differences regards to original files?
If you find anything odd in the files, replace them with original files and proceed with other cleanup steps from my first link. Be free to post the "odd files" as attachment here, or send me directly in PM for review.
VEL Team || Security Forum || PHP/Web Security Specialist || OWASP member
JAMSS author http://forum.joomla.org/viewtopic.php?f=621&t=777957
Twitter: @toplak


Locked

Return to “Security in Joomla! 2.5”