Support

Admin Tools

#21640 Joomla 404 when protecting

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 tampe125 on Friday, 05 December 2014 02:13 CST

x2tech
 I have been playing around with admin tools and used the "secure admin with password" routine to create the .htaccess for the admin area. When I run this with SEF enabled on the front-end of Joomla, the /administrator/ link to get to the admin actually produces a 404 error on my site. It says "error 404 - category not found". The SEF url's work in Joomla on the front-end.

If I rename the .htaccess within the administrator directory, I am able to get into the admin without a 404 error on the front-end of the site.

I am not sure if this is an issue with Joomla, Admin Tools (not likely), or hosting environment.

If I created the .htaccess myself OUTSIDE of admin tools through the cPanel program to do it, the same occurs. i'm leaning towards the SEF code in the htaccess file, but I have no idea how to track it down at this point.

Something interesting, if I run the following url in my site, it produces the same exact 404 page error:

www.mysite.com/file-does-not-exist.html

What's throwing me off is that it is saying "category not found", which makes no sense. Page not found makes sense, but category not found does not.

I'm not sure what to do with this and would definitely like to have my admin password protected.


Kendall Cabe

tampe125
Akeeba Staff
Hello Richard,

it seems that your host does not support directory password-protection, you should contact him.

Regarding the error, when you try to visit that directory the server throws a 404 error, since he can't handle the protected directory. Then Joomla kicks in, catching the error and displaying the standard error page (Category not found)

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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!