Support

Admin Tools

#26302 New website cannot be accessed from www.website.com/administrator

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 Clarenceljw on Wednesday, 12 October 2016 05:38 CDT

Clarenceljw
 Hi Guys,

I am having problems accessing the backend administrator area of new websites. Every time I access www.website.com/administrator, I get a 403 forbidden.

How may I resolve the access to the administrator area for my new addon websites?

I believe Admin Tools has caused this error.

nicholas
Akeeba Staff
Manager
I am a bit unclear on your hosting setup. There are two possibilities, both of which are documented in our troubleshooter.

If this site is hosted in its own account: Admin Tools administrator password protection issues

If this site is an add-on domain to a hosting account and its files are inside a subdirectory in the main site's root folder: I created a .htaccess file on my main site and I can't access my other domains on the same account

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!

Clarenceljw
Hi Nicholas,

I've "Allow direct access, including .php files, to these directories" for the responsible folder and included the command "RewriteEngine Off" in my new website's .htaccess file. Still doesn't work :(

What do you suggest I do?

Clarenceljw
I'm using an add-on domain to a hosting account and its files are inside a subdirectory in the main site's root folder. My server is a Litespeed server.

nicholas
Akeeba Staff
Manager
As you can read in the second link I pasted:

.htaccess settings are propagated by default to the children directories. Let us give an example. Let's say that you have a main site called www.example.com and its files are inside public_html. Let's also assume that you have another domain called www.foobar.com whose files are stored inside public_html/foobar. What happens when you launch foobar.com is that Apache looks for a .htaccess in the parent directory (public_html), applies its settings, then looks for a .htaccess file inside public_html/foobar and append its settings to the ones it has already read from the previous file. It will then process the combined rules and decide what to do with the request.


The only way to have your setup work is to create the add-on site's root outside the main site's root. Instead of creating a folder inside public_html create one next to it.

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!

Clarenceljw
Hi Nicholas,

I'm glad to report it works! Thank you so much!

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!