简体   繁体   English

如何更改typo3 管理URL?

[英]How can i change typo3 admin URL?

I want to change admin url in typo3我想在typo3中更改管理员网址

currently admin URL is http://www.example.com/typo3/当前管理 URL 是http://www.example.com/typo3/

I want to change it like below,我想像下面那样改变它,

http://www.example.com/dj28dgfad2jtsa47 (at least 12 digits!) to hide the admin backend login. http://www.example.com/dj28dgfad2jtsa47 (至少 12 位数字!)隐藏管理员后台登录。

As outline in the other answers, this is not possible.正如其他答案中的概述,这是不可能的。 What you should do instead is to你应该做的是

  1. Create a new subdomain that is allowed to access the /typo3/ directory创建一个允许访问/typo3/目录的新子域
  2. Protect the /typo3/ directory with the means of the webserver (eg .htaccess ) to allow accessing the /typo3/ path only if requested from the given subdomain使用网络服务器(例如.htaccess )保护/typo3/目录,仅在给定子域请求时才允许访问/typo3/路径

For example accessing http://example.org/typo3/ would be forbidden, whereas https://edit321.example.org/typo3/ would be allowed.例如,访问http://example.org/typo3/将被禁止,而https://edit321.example.org/typo3/将被允许​​。

You can't.你不能。 You could rename the typo3/ directory, but this would break the code.您可以重命名typo3/目录,但这会破坏代码。

renaming the directory will be very difficult to impossible.重命名目录将非常困难甚至不可能。
A much simpler solution to protect the BE access would be to protect the path /typo3/ by an htaccess password.保护 BE 访问的更简单的解决方案是通过 htaccess 密码保护路径/typo3/
But keep in mind that there might be some access from the FE into the typo3 core with this path, eg if you use the core jQuery library, or some icons or images from the core (like flags) you need to copy these files.但请记住,使用此路径可能会从 FE 访问 Typ3 核心,例如,如果您使用核心 jQuery 库,或来自核心的某些图标或图像(如标志),则您需要复制这些文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM