简体   繁体   English

Wordpress帐户上的用户个人数据库

[英]User individual database on Wordpress account

I want to create a unique URL for each of my Wordpress user that would like like this : 我想为我的每个Wordpress用户创建一个唯一的URL,如下所示:

www.mywebsite.com/username

I've tried using $user_info->user_login but with no success ! 我尝试过使用$user_info->user_login但没有成功!

Just set up network with your site. 只需与您的网站建立网络即可。

Then run this url yoursite_url/wp-signup.php . 然后运行此url yoursite_url / wp-signup.php。

You will see it will ask some information to enter. 你会看到它会询问一些信息。

Once it is done that user will be able to see his personal site. 完成后,用户将能够看到他的个人网站。

let me know if you have any confusion. 如果你有任何困惑,请告诉我。

As you want to use different database for different user Wordpress network site will help you in this. 由于您想为不同的用户使用不同的数据库Wordpress网站将帮助您在此。

Please check https://codex.wordpress.org/Create_A_Network 请检查https://codex.wordpress.org/Create_A_Network

Also it will be good if you briefly describe your requirements. 如果您简要描述您的要求,也会很好。

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

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