简体   繁体   English

查找wordpress / buddypress未知的子URL

[英]Find wordpress/buddypress unknown sub url

I need to automate the download of user data and shared files from a wordpress site that use buddypress. 我需要自动从使用buddypress的wordpress网站下载用户数据和共享文件。

The solution using curl proposed by the @antics's gist seems to adress all my requirements. @antics的要点提出的使用curl的解决方案似乎可以满足我的所有要求。

The problem is that I can't locate the exact URL of the login page */wp-login.php . 问题是我无法找到登录页面*/wp-login.php的确切URL。 There is no way to retrieve PHP files from an apache server and - even if I scrap the whole public part of the web site - I can't find any information about this specific URL. 无法从apache服务器检索PHP文件,并且-即使我废弃了网站的整个公共部分-我也找不到有关此特定URL的任何信息。

How could I find this unknown URL */wp-login.php and which command line tool could I use to do that? 我怎么能找到这个未知的URL */wp-login.php ?我可以使用哪个命令行工具来做到这一点?

Any other cli solution to my problem is welcome. 欢迎解决我的问题的任何其他CLI解决方案。

It is in general will be redirected to the the root directory where the site is hosted. 通常,它将被重定向到站点所在的根目录。 So if your site is www.example.com, it can be access at www.example.com/wp-login.php . 因此,如果您的网站是www.example.com,则可以访问www.example.com/wp-login.php For local server, it depends on how your root directory is configured. 对于本地服务器,这取决于如何配置根目录。 Either at http://localhost/wp-login.php (if it is directly installed at the root directory) or http://localhost/folder/wp-login.php (if it is within a directory of the root). 位于http://localhost/wp-login.php (如果直接安装在根目录下)或http://localhost/folder/wp-login.php (如果位于根目录下)。

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

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