-1
我的网址类似于domain.com/store/storename,但我想将其重写为storename.domain.com作为子域网址。想要更改子网站的网址
我该怎么做?谁能帮我吗?
我正在使用WordPress。我想通过.htaccess文件来做到这一点。
我的网址类似于domain.com/store/storename,但我想将其重写为storename.domain.com作为子域网址。想要更改子网站的网址
我该怎么做?谁能帮我吗?
我正在使用WordPress。我想通过.htaccess文件来做到这一点。
AS I understand it you want to make it work like following :
a.xyz.com
b.xyz.com
c.xyz.com
This is to be done on single wordpress installation which is done on www.xyz.com
You have separate sections running under a URL like :
www.xyz.com/1/a
www.xyz.com/1/b
www.xyz.com/1/c
You want them to be openend with subdomains.
Thanks.
是,我完全想要这样 – komalghai91
你不能做到这一点只有htaccess的...你的子域必须registred第一,并使其文件夹中的WordPress网站,然后在网站 –
的设置更新URL如果你不知道该怎么办这个,你应该使用像Duplicator这样的插件来处理你的内部变化。 – FluffyKitten
@TemaniAfif如果我注册了子域名并指定了文件夹,那么我在.htaccess文件 – komalghai91