简体   繁体   English

如何将博客中的子域移至wordpress?

[英]How to move a subdomain in blogger to wordpress?

I have a website that is hosted in Blogger with a custom domain. 我有一个使用自定义域托管在Blogger中的网站。 I also had a subdomain that used a different theme than the main website. 我也有一个使用与主网站不同主题的子域。 Now I want to move to WordPress . 现在我想转到WordPress I got a wordpress hosting from GoDaddy and used the installation wizard to install WordPress. 我从GoDaddy获得了wordpress托管,并使用安装向导安装了WordPress。 Now, there is step during the installation that asks for the domain for the website. 现在,在安装过程中有一个步骤要求网站的域名。 What I want is that my domain should remain in Blogger, but subdomain should be in wordpress. 我想要的是我的域应保留在Blogger中,而子域应保留在wordpress中。 Is this possible? 这可能吗?

Or, even if I move my main domain to wordpress, still is it possible to have a subdomain in wordpress with another template. 或者,即使我将主域移到了wordpress上,仍然可能在wordpress中有一个带有另一个模板的子域。 I am a newbie to WordPress. 我是WordPress的新手。

Okay, Follow these steps: 好的,请按照下列步骤操作:

1) Go to database and choose wp_option table. 1)进入数据库并选择wp_option表。 Change site_url whatever you want in wordpress. 在wordpress中更改site_url即可。

2) Go to "General" in setting option in admin panel and change both url given in box. 2)在管理面板的设置选项中转到“常规”,然后更改框中提供的两个网址。

that's it. 而已。

如果您希望该子域可与WordPress网站一起使用,则只需将CNAME或A记录指向Godaddy托管帐户,该子域网站将与WordPress一起使用。

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

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