宝塔面板下WordPress换空间换域名

宝塔面板下WordPress换空间换域名

如何更换WordPress网站域名

首先要注册域名然后域名绑定到主机,为域名添加解析记录,由于每个域名管理平台的解析操作都不太一样,如果不会进行解析操作的,请自己看域名注册商的帮助文档,或者联系域名商客服咨询。在这里,我就不做演示。

1、以宝塔面板为例说明WordPress换空间换域名。

2、在网站菜单下新建新域名站点。
3、填写域名信息。
4、在文件菜单下查找旧域名文件夹名。

5、选择复制全部文件(因为我们的网站都有附件,比如说图片放在服务器上,搬家还是要把整个uploads文件夹搬家,主要是原空间目录下的/wp-content/uploads/这个文件夹)。

6、进入数据库菜单打开phpMyAdmin导出数据库文件(其实刚才已经把旧域名全部文件复制了只是数据库没有记录,需要用导出数据库文件然后在新域名数据库导入)。
7、编辑wp-config.php文件。
8、我们需要把复制过来的wp-config.php修改数据库名称、用户名、密码。
9、在数据库菜单下选择新域名数据库点击管理。
10、导入数据库选择到你在旧域名导出的数据库文件。
11、修改为新域名。
12、修改为新域名。
13、修改为新域名。
14、输入你的域名、用户名、密码进入新域名。

15、成功登录到新域名WordPress了可以开始你的文章发布了。

14条评论

The hottest_homevideo ever 发布于01:16 - 02/28/2023

May I simpply saay wyat a comffort tto uncover somebody who actually knowqs wht they’re disxussing onn the internet.
Yoou definitely undersand how too bding ann issue tto light annd maoe it important.
More people oughnt too look at his and understand this sidee
off ykur story. I can’t believe you are not more popular
since you most certainly possess tthe gift.

Morena gostosa 发布于21:37 - 04/26/2023

Great post. I aam going througbh mwny oof thexe issus aas well..

deepthroating mydildo 发布于00:22 - 05/01/2023

Heyaa exceptional website! Does runniing a blog like ths tzke a massive amount work?
I hafe virtually nno knowledge of programming buut I wwas
hoping to sart myy owwn blog in thhe near future.
Anyways, should you have anny ideas oor tips for new
blog oowners please share. I underdtand his iis ooff topkc nevertheless I simply anted
to ask. Thanks!

Maddison 发布于02:26 - 05/03/2023

Hello There. I discoverd your weblog useing msn. This iis a very sartly written article.
I will mawke sure to bookmark iit and cokme back to learn mmore
oof ykur useful info. Thanks for the post.
I wil certainly return.

530 发布于17:25 - 05/06/2023

all thhe time i usewd to read smaller comtent that also clear
their motive, annd that is also happening with
this piec of writing which I amm reading att this place.

匿名 发布于05:44 - 05/20/2023

I have learn sevedral just right sstuff here. Certainly worth
bookmarking for revisiting. I wonder hoow a lot effort
yyou sett tto make one of hese fantastic informative
site.

Cuban girlAngelina Castro 发布于20:01 - 05/20/2023

My brother suggestted I would possibly like thiks blog. He was entirely right.
Thhis submit actualpy made my day. Yoou can not imagine
simply howw mucch time I had spent for this information! Thanks!

Alexandra 发布于18:43 - 07/18/2023

Hi, after resding this amazing pot i am alsso haappy too share myy familiarity
hede wkth friends.

908 发布于03:42 - 07/24/2023

We’re a bujch oof volunteers annd starting
a rand nnew schueme in ouur community. Youur
sie procided us wih uuseful info too worek on. You have ddone an impressive task and our whole greoup might be gratful tto you.

639 发布于18:10 - 09/03/2023

Heyy there! I ould havbe sworn I’ve ben tto this site beforre buut after chrcking through some off tthe post
I realize it’s nnew to me. Anyhow, I’m ddefinitely delighted
I found iit annd I’ll be book-marking and checking back frequently!

Lynda 发布于04:36 - 09/04/2023

I like the hepful infokrmation you provide in your articles.

I will bookmark yor weblog and ceck agaikn heere frequently.
I amm quite certin I’ll leearn many new stuff riught here!
Besst of luck for the next!

mitsuri kanroji pussy 发布于17:07 - 09/05/2023

Hi thee I am sso excited I foud yur blog, I really fouind yyou bby mistake,
whiile I waas lookling on Digg ffor somethiing else, Anyhow I am here noww annd
would just lioke to saay cheers for a fantastic post
and a alll rounjd thrilling blog (I alkso love the theme/design), I don’t have tiume to look ovedr it all at thhe monute buut I havee blokmarked itt andd also included your RSS feeds,
so whern I havve time I wijll bee bacck too read a great deal
more, Please do keep up thee fantastic work.

Candice 发布于05:44 - 09/06/2023

Thanks designed for sharing uch a ppleasant opinion, pot iis pleasant, thatss whyy i have reaqd
iit fully

641 发布于07:09 - 09/06/2023

Preyty nice post. I jut stumbed upon your blog aand wished tto saay that I habe truuly enjoyed surfing aroubd your blog posts.

In any case I wil bee suscribing tto yoiur rsss feed and I hhope youu wrkte agaiun soon!

发表评论