在子目录中托管一个 wordpress 站点
Host a wordpress site in subdirectory
我有一个 wordpress 网站托管在 http://example.com
本地语言。
现在我想在 http://example.com/english
托管另一个英文网站
我该怎么做。
有什么建议吗
创建名为 english 的文件夹并在其中安装新的 wordpress http://example.com/english
。创建新数据库并与这个新的全新 wordpress 集成,您就完成了。
您的新 URL 将是:
http://example.com/english
您的新管理员 URL 将是:
http://example.com/english/wp-admin
首先在您的网站控制面板中创建子域,然后轻松安装 wordpress。
->if you are hosting already developed WordPress project on sub domain then.
->create folder under root directory.
->create database and import wordpress database
->change the URL on database name "wp_option" with 'option_name' =>'siteurl' and 'home'. To= http://example.com/english
eg if your domain name http://example.com and you like to create sub domain name 'english' then
url will be http://example.com/english
http://example.com/english/wp-admin`enter code here`
if you are hosting new WordPress project
Create folder called english & Install fresh WordPress in that http://example.com/english. Create new database and integrate with this new fresh WordPress and you are done.
Your new URL will be :
http://example.com/english
Your new Admin URL will be :
http://example.com/english/wp-admin
我有一个 wordpress 网站托管在 http://example.com
本地语言。
现在我想在 http://example.com/english
我该怎么做。
有什么建议吗
创建名为 english 的文件夹并在其中安装新的 wordpress http://example.com/english
。创建新数据库并与这个新的全新 wordpress 集成,您就完成了。
您的新 URL 将是:
http://example.com/english
您的新管理员 URL 将是:
http://example.com/english/wp-admin
首先在您的网站控制面板中创建子域,然后轻松安装 wordpress。
->if you are hosting already developed WordPress project on sub domain then.
->create folder under root directory.
->create database and import wordpress database
->change the URL on database name "wp_option" with 'option_name' =>'siteurl' and 'home'. To= http://example.com/english
eg if your domain name http://example.com and you like to create sub domain name 'english' then
url will be http://example.com/english
http://example.com/english/wp-admin`enter code here`
if you are hosting new WordPress project
Create folder called english & Install fresh WordPress in that http://example.com/english. Create new database and integrate with this new fresh WordPress and you are done.
Your new URL will be :
http://example.com/english
Your new Admin URL will be :
http://example.com/english/wp-admin