<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>小白操作指引 &#8211; 0260</title>
	<atom:link href="https://0to60.top/tag/%E5%B0%8F%E7%99%BD%E6%93%8D%E4%BD%9C%E6%8C%87%E5%BC%95/feed/" rel="self" type="application/rss+xml" />
	<link>https://0to60.top</link>
	<description>Zero To More</description>
	<lastBuildDate>Sat, 23 Aug 2025 06:23:09 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://0to60.top/wp-content/uploads/2025/05/cropped-ba4ded44ed2ce0995e556ab476fd11d2-1-150x150.jpg</url>
	<title>小白操作指引 &#8211; 0260</title>
	<link>https://0to60.top</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Blog，WordPress常用设置及插件推荐</title>
		<link>https://0to60.top/blog%ef%bc%8cwordpress%e5%b8%b8%e7%94%a8%e8%ae%be%e7%bd%ae%e5%8f%8a%e6%8f%92%e4%bb%b6%e6%8e%a8%e8%8d%90/</link>
					<comments>https://0to60.top/blog%ef%bc%8cwordpress%e5%b8%b8%e7%94%a8%e8%ae%be%e7%bd%ae%e5%8f%8a%e6%8f%92%e4%bb%b6%e6%8e%a8%e8%8d%90/#respond</comments>
		
		<dc:creator><![CDATA[burson]]></dc:creator>
		<pubDate>Fri, 16 May 2025 07:59:46 +0000</pubDate>
				<category><![CDATA[blog旅途]]></category>
		<category><![CDATA[WordPress搭建部署]]></category>
		<category><![CDATA[小白操作指引]]></category>
		<guid isPermaLink="false">http://47.109.203.158/?p=340</guid>

					<description><![CDATA[<p>引言 本文目的是记录WordPres&#46;&#46;&#46;</p>
<p><a rel="nofollow" href="https://0to60.top/blog%ef%bc%8cwordpress%e5%b8%b8%e7%94%a8%e8%ae%be%e7%bd%ae%e5%8f%8a%e6%8f%92%e4%bb%b6%e6%8e%a8%e8%8d%90/">Blog，WordPress常用设置及插件推荐</a>最先出现在<a rel="nofollow" href="https://0to60.top">0260</a>。</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">引言</h2>



<p>本文目的是记录WordPress的的常用设置及一些常见问题。</p>



<p>持续更新</p>



<h2 class="wp-block-heading">一、常用设置</h2>



<h3 class="wp-block-heading">1.1 主题设置</h3>



<figure class="wp-block-riovizual-tablebuilder is-style-stripes rv_tb-9afb1eff-1c11-4edb-8ed3-02c3cd9f43c6 is-scroll-on-mobile" rv-tb-responsive-breakpoint="768px"><table class=""><thead><tr><th class="rv_tb-cell rv_tb-row-0-cell-0 rv_tb-rs-row-0-cell-0 rv_tb-cs-row-0-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">序号</div></div></div></th><th class="rv_tb-cell rv_tb-row-0-cell-1 rv_tb-rs-row-0-cell-1 rv_tb-cs-row-0-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">动作</div></div></div></th><th class="rv_tb-cell rv_tb-row-0-cell-2 rv_tb-rs-row-0-cell-2 rv_tb-cs-row-0-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">描述</div></div></div></th><th class="rv_tb-cell rv_tb-row-0-cell-3 rv_tb-rs-row-0-cell-3 rv_tb-cs-row-0-cell-3"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">图示</div></div></div></th></tr></thead><tbody><tr><td class="rv_tb-cell rv_tb-row-1-cell-0 rv_tb-rs-row-1-cell-0 rv_tb-cs-row-1-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">1</div></div></div></td><td class="rv_tb-cell rv_tb-row-1-cell-1 rv_tb-rs-row-1-cell-1 rv_tb-cs-row-1-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">添加Alx插件</div></div></div></td><td class="rv_tb-cell rv_tb-row-1-cell-2 rv_tb-rs-row-1-cell-2 rv_tb-cs-row-1-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">搜索<strong>Alx Extensions</strong>，安装并启用<br>该插件非必须，我比较喜欢ALX主题样式</div></div></div></td><td class="rv_tb-cell rv_tb-row-1-cell-3 rv_tb-rs-row-1-cell-3 rv_tb-cs-row-1-cell-3"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/screenshot-20250516-154405.png"/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-2-cell-0 rv_tb-rs-row-2-cell-0 rv_tb-cs-row-2-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">2</div></div></div></td><td class="rv_tb-cell rv_tb-row-2-cell-1 rv_tb-rs-row-2-cell-1 rv_tb-cs-row-2-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">下载alx主题</div></div></div></td><td class="rv_tb-cell rv_tb-row-2-cell-2 rv_tb-rs-row-2-cell-2 rv_tb-cs-row-2-cell-2"><div class="rv_tb-element"><div class="rv_tb-list-wrap rv_justify cell-element-0"><ul class="rv_tb-list"><li>点击外观->主题->自定义->侧边栏->alx media</li><li><a href="https://agnarson.com/wpthemes/" target="_blank" rel="noopener">下载喜欢的主题样式</a></li></ul></div></div></td><td class="rv_tb-cell rv_tb-row-2-cell-3 rv_tb-rs-row-2-cell-3 rv_tb-cs-row-2-cell-3"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/screenshot-20250516-162914.png"/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-3-cell-0 rv_tb-rs-row-3-cell-0 rv_tb-cs-row-3-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">3</div></div></div></td><td class="rv_tb-cell rv_tb-row-3-cell-1 rv_tb-rs-row-3-cell-1 rv_tb-cs-row-3-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">安装主题</div></div></div></td><td class="rv_tb-cell rv_tb-row-3-cell-2 rv_tb-rs-row-3-cell-2 rv_tb-cs-row-3-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">点击外观->主题->添加主题->上传主题(不用解压)<br>上传时可能会报错，提示文件太大了，会在本文的第二部分进行说明</div></div></div></td><td class="rv_tb-cell rv_tb-row-3-cell-3 rv_tb-rs-row-3-cell-3 rv_tb-cs-row-3-cell-3"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/screenshot-20250516-163224.png"/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-4-cell-0 rv_tb-rs-row-4-cell-0 rv_tb-cs-row-4-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">4</div></div></div></td><td class="rv_tb-cell rv_tb-row-4-cell-1 rv_tb-rs-row-4-cell-1 rv_tb-cs-row-4-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">启用主题</div></div></div></td><td class="rv_tb-cell rv_tb-row-4-cell-2 rv_tb-rs-row-4-cell-2 rv_tb-cs-row-4-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">启用主题，我用的是Curveflow</div></div></div></td><td class="rv_tb-cell rv_tb-row-4-cell-3 rv_tb-rs-row-4-cell-3 rv_tb-cs-row-4-cell-3"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/screenshot-20250516-163411.png" alt=""/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-5-cell-0 rv_tb-rs-row-5-cell-0 rv_tb-cs-row-5-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">5</div></div></div></td><td class="rv_tb-cell rv_tb-row-5-cell-1 rv_tb-rs-row-5-cell-1 rv_tb-cs-row-5-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">设置主题</div></div></div></td><td class="rv_tb-cell rv_tb-row-5-cell-2 rv_tb-rs-row-5-cell-2 rv_tb-cs-row-5-cell-2"><div class="rv_tb-element"><div class="rv_tb-list-wrap rv_justify cell-element-0"><ul class="rv_tb-list"><li>进入主题自定义界面</li><li>设置站点身份</li><li>设置菜单</li><li>小工具添加(这里主要是给侧边栏添加小工具，小工具可以理解成不同的显示组件)，这里我添加了alxtab</li><li>主题设置(theme option)->header，增加profile内容</li></ul></div></div></td><td class="rv_tb-cell rv_tb-row-5-cell-3 rv_tb-rs-row-5-cell-3 rv_tb-cs-row-5-cell-3"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/screenshot-20250516-165303.png"/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-6-cell-0 rv_tb-rs-row-6-cell-0 rv_tb-cs-row-6-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">6</div></div></div></td><td class="rv_tb-cell rv_tb-row-6-cell-1 rv_tb-rs-row-6-cell-1 rv_tb-cs-row-6-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">发布</div></div></div></td><td class="rv_tb-cell rv_tb-row-6-cell-2 rv_tb-rs-row-6-cell-2 rv_tb-cs-row-6-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">点击发布，OK完成(为了看到完整效果，建议随便写几篇文章)</div></div></div></td><td class="rv_tb-cell rv_tb-row-6-cell-3 rv_tb-rs-row-6-cell-3 rv_tb-cs-row-6-cell-3"></td></tr></tbody></table></figure>



<p>每种主题的设置方式可能不一样，可以自行多试几种。</p>



<h3 class="wp-block-heading">1.2 插件推荐</h3>



<figure class="wp-block-riovizual-tablebuilder is-align-left is-style-stripes rv_tb-631c6319-0654-4aab-9a2f-4665d042af4b is-scroll-on-mobile" rv-tb-responsive-breakpoint="768px"><table class=""><thead><tr><th class="rv_tb-cell rv_tb-row-0-cell-0 rv_tb-rs-row-0-cell-0 rv_tb-cs-row-0-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">序号</div></div></div></th><th class="rv_tb-cell rv_tb-row-0-cell-1 rv_tb-rs-row-0-cell-1 rv_tb-cs-row-0-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">插件名</div></div></div></th><th class="rv_tb-cell rv_tb-row-0-cell-2 rv_tb-rs-row-0-cell-2 rv_tb-cs-row-0-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">描述</div></div></div></th></tr></thead><tbody><tr><td class="rv_tb-cell rv_tb-row-1-cell-0 rv_tb-rs-row-1-cell-0 rv_tb-cs-row-1-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">1</div></div></div></td><td class="rv_tb-cell rv_tb-row-1-cell-1 rv_tb-rs-row-1-cell-1 rv_tb-cs-row-1-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text"><strong>Alx Extensions</strong></div></div></div></td><td class="rv_tb-cell rv_tb-row-1-cell-2 rv_tb-rs-row-1-cell-2 rv_tb-cs-row-1-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">Alx主题的前置插件</div></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-2-cell-0 rv_tb-rs-row-2-cell-0 rv_tb-cs-row-2-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">2</div></div></div></td><td class="rv_tb-cell rv_tb-row-2-cell-1 rv_tb-rs-row-2-cell-1 rv_tb-cs-row-2-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text"><strong>Media Library Assistant</strong></div></div></div></td><td class="rv_tb-cell rv_tb-row-2-cell-2 rv_tb-rs-row-2-cell-2 rv_tb-cs-row-2-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">媒体库管理，增加了分类和标签管理</div></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-3-cell-0 rv_tb-rs-row-3-cell-0 rv_tb-cs-row-3-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">3</div></div></div></td><td class="rv_tb-cell rv_tb-row-3-cell-1 rv_tb-rs-row-3-cell-1 rv_tb-cs-row-3-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text"><strong>SVG Support</strong></div></div></div></td><td class="rv_tb-cell rv_tb-row-3-cell-2 rv_tb-rs-row-3-cell-2 rv_tb-cs-row-3-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">媒体库支持SVG格式</div></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-4-cell-0 rv_tb-rs-row-4-cell-0 rv_tb-cs-row-4-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">4</div></div></div></td><td class="rv_tb-cell rv_tb-row-4-cell-1 rv_tb-rs-row-4-cell-1 rv_tb-cs-row-4-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text"><strong>LuckyWP Table of Contents</strong></div></div></div></td><td class="rv_tb-cell rv_tb-row-4-cell-2 rv_tb-rs-row-4-cell-2 rv_tb-cs-row-4-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">增肌目录，可以为文章或者页面快速添加目录，便捷跳转</div></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-5-cell-0 rv_tb-rs-row-5-cell-0 rv_tb-cs-row-5-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">5</div></div></div></td><td class="rv_tb-cell rv_tb-row-5-cell-1 rv_tb-rs-row-5-cell-1 rv_tb-cs-row-5-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text"><strong>Meow Lightbox</strong></div></div></div></td><td class="rv_tb-cell rv_tb-row-5-cell-2 rv_tb-rs-row-5-cell-2 rv_tb-cs-row-5-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">前端图片展示时，点击可放大展示</div></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-6-cell-0 rv_tb-rs-row-6-cell-0 rv_tb-cs-row-6-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">6</div></div></div></td><td class="rv_tb-cell rv_tb-row-6-cell-1 rv_tb-rs-row-6-cell-1 rv_tb-cs-row-6-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text"><strong>MerPress</strong></div></div></div></td><td class="rv_tb-cell rv_tb-row-6-cell-2 rv_tb-rs-row-6-cell-2 rv_tb-cs-row-6-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">让文章支持mermaid格式，我常用来搞流程图</div></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-7-cell-0 rv_tb-rs-row-7-cell-0 rv_tb-cs-row-7-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">7</div></div></div></td><td class="rv_tb-cell rv_tb-row-7-cell-1 rv_tb-rs-row-7-cell-1 rv_tb-cs-row-7-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text"><strong>Todo List Block</strong></div></div></div></td><td class="rv_tb-cell rv_tb-row-7-cell-2 rv_tb-rs-row-7-cell-2 rv_tb-cs-row-7-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">文章编辑支持todo list区块</div></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-8-cell-0 rv_tb-rs-row-8-cell-0 rv_tb-cs-row-8-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">8</div></div></div></td><td class="rv_tb-cell rv_tb-row-8-cell-1 rv_tb-rs-row-8-cell-1 rv_tb-cs-row-8-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text"><strong>Visual Link Preview</strong></div></div></div></td><td class="rv_tb-cell rv_tb-row-8-cell-2 rv_tb-rs-row-8-cell-2 rv_tb-cs-row-8-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">文章嵌入链接时，可展示为卡片样式</div></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-9-cell-0 rv_tb-rs-row-9-cell-0 rv_tb-cs-row-9-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">9</div></div></div></td><td class="rv_tb-cell rv_tb-row-9-cell-1 rv_tb-rs-row-9-cell-1 rv_tb-cs-row-9-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text"><strong>Ultimate Blocks</strong></div></div></div></td><td class="rv_tb-cell rv_tb-row-9-cell-2 rv_tb-rs-row-9-cell-2 rv_tb-cs-row-9-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">文章编辑时提供的工具区块集合</div></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-10-cell-0 rv_tb-rs-row-10-cell-0 rv_tb-cs-row-10-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">10</div></div></div></td><td class="rv_tb-cell rv_tb-row-10-cell-1 rv_tb-rs-row-10-cell-1 rv_tb-cs-row-10-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text"><strong>WordPress Hide Posts</strong></div></div></div></td><td class="rv_tb-cell rv_tb-row-10-cell-2 rv_tb-rs-row-10-cell-2 rv_tb-cs-row-10-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">用于文章过滤(首页，类目页等)</div></div></div></td></tr></tbody></table></figure>



<h3 class="wp-block-heading">1.3 域名设置</h3>



<p>通过IP访问不人性，也不利于传播，所以还需进行域名设置，由于我使用的是阿里云，我就直接通过阿里云的域名模块进行操作</p>



<figure class="wp-block-riovizual-tablebuilder is-style-stripes rv_tb-1c341c46-e067-46b4-9991-7b64535d011b is-scroll-on-mobile" rv-tb-responsive-breakpoint="768px"><table class=""><thead><tr><th class="rv_tb-cell rv_tb-row-0-cell-0 rv_tb-rs-row-0-cell-0 rv_tb-cs-row-0-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">步骤</div></div></div></th><th class="rv_tb-cell rv_tb-row-0-cell-1 rv_tb-rs-row-0-cell-1 rv_tb-cs-row-0-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">描述</div></div></div></th><th class="rv_tb-cell rv_tb-row-0-cell-2 rv_tb-rs-row-0-cell-2 rv_tb-cs-row-0-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">示意图</div></div></div></th></tr></thead><tbody><tr><td class="rv_tb-cell rv_tb-row-1-cell-0 rv_tb-rs-row-1-cell-0 rv_tb-cs-row-1-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">注册域名(付费)</div></div></div></td><td class="rv_tb-cell rv_tb-row-1-cell-1 rv_tb-rs-row-1-cell-1 rv_tb-cs-row-1-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text"><a href="https://help.aliyun.com/zh/dws/user-guide/register-a-domain-name-on-alibaba-cloud?source=5176.29345612&amp;userCode=7gwy9jbo" target="_blank" rel="noreferrer noopener">注册域名流程</a></div></div></div><div class="rv_tb-element"><div class="rv_tb-list-wrap rv_justify cell-element-1"><ul class="rv_tb-list"><li>域名查询，看是否已被注册</li><li>域名需要易于记忆，方便传播</li><li>刚开始找便宜的试水</li><li>按照指示操作购买即可</li><li>过程中可能会涉及到信息模板，按指示一路创建，并且将其实名认证即可</li></ul></div></div></td><td class="rv_tb-cell rv_tb-row-1-cell-2 rv_tb-rs-row-1-cell-2 rv_tb-cs-row-1-cell-2"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/image-9.png"/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-2-cell-0 rv_tb-rs-row-2-cell-0 rv_tb-cs-row-2-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">域名备案</div></div></div></td><td class="rv_tb-cell rv_tb-row-2-cell-1 rv_tb-rs-row-2-cell-1 rv_tb-cs-row-2-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text"><a href="https://help.aliyun.com/zh/icp-filing/basic-icp-service/getting-started/quick-start-for-icp-filing-for-personal-websites?source=5176.29345612&amp;userCode=7gwy9jbo" target="_blank" rel="noopener">域名备案流程</a>，若站点部署在国内的服务器上，需要ICP备案。</div></div></div><div class="rv_tb-element"><div class="rv_tb-list-wrap rv_justify cell-element-1"><ul class="rv_tb-list"><li>按照操作处理就好，不难就是费点时间</li></ul></div></div></td><td class="rv_tb-cell rv_tb-row-2-cell-2 rv_tb-rs-row-2-cell-2 rv_tb-cs-row-2-cell-2"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/image-8.png"/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-3-cell-0 rv_tb-rs-row-3-cell-0 rv_tb-cs-row-3-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">域名解析</div></div></div></td><td class="rv_tb-cell rv_tb-row-3-cell-1 rv_tb-rs-row-3-cell-1 rv_tb-cs-row-3-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">域名备案号了后，需要进行域名解析，<a href="https://help.aliyun.com/zh/dns/add-a-dns-record?source=5176.29345612&amp;userCode=7gwy9jbo" target="_blank" rel="noreferrer noopener">添加解析记录流程</a></div></div></div><div class="rv_tb-element"><div class="rv_tb-list-wrap rv_justify cell-element-1"><ul class="rv_tb-list"><li>进入域名列表</li><li>域名实名认证</li><li>添加域名解析记录（A类型即可）</li></ul></div></div></td><td class="rv_tb-cell rv_tb-row-3-cell-2 rv_tb-rs-row-3-cell-2 rv_tb-cs-row-3-cell-2"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/image-10.png"/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-4-cell-0 rv_tb-rs-row-4-cell-0 rv_tb-cs-row-4-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">WP-后台站点设置</div></div></div></td><td class="rv_tb-cell rv_tb-row-4-cell-1 rv_tb-rs-row-4-cell-1 rv_tb-cs-row-4-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">进入wordpress后台->设置->常规</div></div></div><div class="rv_tb-element"><div class="rv_tb-list-wrap rv_justify cell-element-1"><ul class="rv_tb-list"><li>WordPress地址（URL）设置为http://[域名]，如：http://0to60.top</li><li>站点地址（URL）设置为http://[域名]，如：http://0to60.top</li></ul></div></div></td><td class="rv_tb-cell rv_tb-row-4-cell-2 rv_tb-rs-row-4-cell-2 rv_tb-cs-row-4-cell-2"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/image-11.png"/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-5-cell-0 rv_tb-rs-row-5-cell-0 rv_tb-cs-row-5-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">悬挂<br>ICP备案号</div></div></div></td><td class="rv_tb-cell rv_tb-row-5-cell-1 rv_tb-rs-row-5-cell-1 rv_tb-cs-row-5-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">在站点底部添加ICP备案信息，通用代码，<a href="https://help.aliyun.com/zh/icp-filing/basic-icp-service/the-icp-record-post-processing-1?source=5176.29345612&amp;userCode=7gwy9jbo" target="_blank" rel="noreferrer noopener">悬挂备案号说明</a></div></div></div><div class="rv_tb-element"><div class="rv_tb-list-wrap rv_justify cell-element-1"><ul class="rv_tb-list"><li>通用代码：&lt;a href=&#8221;https://beian.miit.gov.cn/&#8221; target=&#8221;_blank&#8221;>您的备案号&lt;/a></li><li>添加位置：如果主题支持，设置即可（要求需要点击跳转），如果主题不支持，需要在主题文件中，一般找到footer.php，然后在其中找到copyright的区域，在其中添加上这段代码，如果不知道怎么添加，那就将footer中的代码全复制，然后问AI，问询内容为：【footer.php代码内容】+ 这是我wordpress的footer部分，我要在其中加入一个区域，用来放ICP备案声明，通用代码是&lt;a href=&#8221;https://beian.miit.gov.cn/&#8221; target=&#8221;_blank&#8221;>【备案号】&lt;/a>，你将获得操作方法</li></ul></div></div></td><td class="rv_tb-cell rv_tb-row-5-cell-2 rv_tb-rs-row-5-cell-2 rv_tb-cs-row-5-cell-2"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/image-12.png"/></div></div><div class="rv_tb-element"><div class="rv_tb-image cell-element-1"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/image-13.png"/></div></div></td></tr></tbody></table></figure>



<h3 class="wp-block-heading">1.4 SSL证书部署</h3>



<p>域名设置完成后，发现访问站点时，浏览器一直会提示不安全，影响传播，所以还需解决这个问题。</p>



<p>由于阿里云自带证书模块，我使用的是免费证书。</p>



<figure class="wp-block-riovizual-tablebuilder is-style-stripes rv_tb-0132e030-48a8-4e01-8736-10a752519165 is-scroll-on-mobile" rv-tb-responsive-breakpoint="768px"><table class=""><thead><tr><th class="rv_tb-cell rv_tb-row-0-cell-0 rv_tb-rs-row-0-cell-0 rv_tb-cs-row-0-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">步骤</div></div></div></th><th class="rv_tb-cell rv_tb-row-0-cell-1 rv_tb-rs-row-0-cell-1 rv_tb-cs-row-0-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">描述</div></div></div></th><th class="rv_tb-cell rv_tb-row-0-cell-2 rv_tb-rs-row-0-cell-2 rv_tb-cs-row-0-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">示意图</div></div></div></th></tr></thead><tbody><tr><td class="rv_tb-cell rv_tb-row-1-cell-0 rv_tb-rs-row-1-cell-0 rv_tb-cs-row-1-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">获取证书</div></div></div></td><td class="rv_tb-cell rv_tb-row-1-cell-1 rv_tb-rs-row-1-cell-1 rv_tb-cs-row-1-cell-1"><div class="rv_tb-element"><div class="rv_tb-list-wrap rv_justify cell-element-0"><ul class="rv_tb-list"><li>进入<a href="https://www.aliyun.com/product/cas?spm=5176.21213303.J_ZGek9Blx07Hclc3Ddt9dg.1.45e92f3dOvrc2S&amp;scm=20140722.S_product@@%E4%BA%91%E4%BA%A7%E5%93%81@@104379._.ID_product@@%E4%BA%91%E4%BA%A7%E5%93%81@@104379-RL_ssl%E5%85%8D%E8%B4%B9%E8%AF%81%E4%B9%A6%E7%94%B3%E8%AF%B7-LOC_2024SPAllResult-OR_ser-PAR1_2150446417559269408336658e72f3-V_4-PAR3_r-RE_new5-P0_0-P1_0&amp;userCode=7gwy9jbo" target="_blank" rel="noopener">数字证书管理服务</a>，登录控制台</li><li>数字证书控制台->SSL证书->个人测试证书（原SSL免费证书），点击立即购买。</li><li>回到数字证书控制台->SSL证书->个人测试证书，点击创建证书</li><li>下载证书，点击创建好的证书，进入详情页点击下载，根据服务器类型选择对应的证书进行下载。</li></ul></div></div></td><td class="rv_tb-cell rv_tb-row-1-cell-2 rv_tb-rs-row-1-cell-2 rv_tb-cs-row-1-cell-2"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/image-17.png"/></div></div><div class="rv_tb-element"><div class="rv_tb-image cell-element-1"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/image-18.png"/></div></div><div class="rv_tb-element"><div class="rv_tb-image cell-element-2"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/image-19.png"/></div></div><div class="rv_tb-element"><div class="rv_tb-image cell-element-3"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/image-21.png"/></div></div><div class="rv_tb-element"><div class="rv_tb-image cell-element-4"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/image-22.png"/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-2-cell-0 rv_tb-rs-row-2-cell-0 rv_tb-cs-row-2-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">证书部署-登录服务器实例</div></div></div></td><td class="rv_tb-cell rv_tb-row-2-cell-1 rv_tb-rs-row-2-cell-1 rv_tb-cs-row-2-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">本着免费即正义的说法，我没有使用证书部署服务，而是自行部署。</div></div></div><div class="rv_tb-element"><div class="rv_tb-list-wrap rv_justify cell-element-1"><ul class="rv_tb-list"><li>远程登录服务器实例，如图。(要用root密码登录，免密登录会没有权限)</li></ul></div></div></td><td class="rv_tb-cell rv_tb-row-2-cell-2 rv_tb-rs-row-2-cell-2 rv_tb-cs-row-2-cell-2"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/image-23.png"/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-3-cell-0 rv_tb-rs-row-3-cell-0 rv_tb-cs-row-3-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">证书部署-上传证书</div></div></div></td><td class="rv_tb-cell rv_tb-row-3-cell-1 rv_tb-rs-row-3-cell-1 rv_tb-cs-row-3-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">在服务器中上传证书，根据服务器类型执行即可，此处用的是nginx</div></div></div><div class="rv_tb-element"><div class="rv_tb-list-wrap rv_justify cell-element-1"><ul class="rv_tb-list"><li>向/etc/nginx/cert路径中上传下载的证书文件，一个pem、一个是key文件</li></ul></div></div></td><td class="rv_tb-cell rv_tb-row-3-cell-2 rv_tb-rs-row-3-cell-2 rv_tb-cs-row-3-cell-2"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/image-24.png"/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-4-cell-0 rv_tb-rs-row-4-cell-0 rv_tb-cs-row-4-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">证书部署-服务器配置</div></div></div></td><td class="rv_tb-cell rv_tb-row-4-cell-1 rv_tb-rs-row-4-cell-1 rv_tb-cs-row-4-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">此处使用的是nginx</div></div></div><div class="rv_tb-element"><div class="rv_tb-list-wrap rv_justify cell-element-1"><ul class="rv_tb-list"><li>找到配置文件/etc/nginx/site-available/default</li><li>增加配置信息，注意将server_name改成自己的域名，root改成wordpress的应用目录，index改成对应的配置，一般来说不需要修改，证书目录改成自己的证书路径。</li></ul></div></div><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-2"><div class="rv_tb-text"># <code>HTTP重定向到HTTPS<br>server {<br>    listen 80;<br>    listen [::]:80;<br>    server_name 0to60.top www.0to60.top;<br>    return 301 https://$server_name$request_uri; # 永久重定向到HTTPS<br>}<br># HTTPS服务器配置<br>server {</code><br>    <code>listen 443 ssl http2;</code><br>    <code>listen [::]:443 ssl http2;</code><br>    <code><code>server_name 0to60.top www.0to60.top; </code></code><br>    <code><code># SSL证书配置</code></code><br>    <code><code>ssl_certificate /etc/nginx/cert/0to60.top.pem;</code></code><br>    <code><code>ssl_certificate_key /etc/nginx/cert/0to60.top.key; </code></code><br>    <code><code># SSL优化配置 </code></code><br>    <code><code>ssl_session_timeout 1d; </code></code><br>    <code><code>ssl_session_cache shared:MozSSL:10m; </code></code><br>    <code><code>ssl_protocols TLSv1.2 TLSv1.3; </code></code><br>    <code><code>ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256; </code></code><br>    <code><code>ssl_prefer_server_ciphers off; </code></code><br>    <code><code>root /var/www/html; </code></code><br>    <code><code>index index.php index.html index.htm; </code></code><br>    <code><code>access_log /var/log/nginx/www.access.log; </code></code><br>    <code><code>error_log /var/log/nginx/www.error.log; </code></code><br>    <code><code>location / { </code></code><br>        <code><code>try_files $uri $uri/ /index.php?$args; </code></code><br>    <code><code>} </code></code><br>    <code><code>location ~ \.php$ { </code></code><br>        <code><code>include snippets/fastcgi-php.conf; </code></code><br>        <code><code>fastcgi_pass unix:/run/php/php8.0-fpm.sock; </code></code><br>    <code><code>} </code></code><br>    <code><code>location ~ /\.ht { </code></code><br>        <code><code>deny all; </code></code><br>    <code><code>} </code></code><br>    <code><code>location = /favicon.ico { </code></code><br>        <code><code>log_not_found off; </code></code><br>        <code><code>access_log off; </code></code><br>    <code><code>} </code></code><br>    <code><code>location = /robots.txt { </code></code><br>        <code><code>allow all; log_not_found off; </code></code><br>        <code><code>access_log off; </code></code><br>    <code><code>} </code></code><br>    <code><code>location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { </code></code><br>        <code><code>expires max; </code></code><br>        <code><code>log_not_found off; </code></code><br>    <code><code>}</code><br>}</code></div></div></div></td><td class="rv_tb-cell rv_tb-row-4-cell-2 rv_tb-rs-row-4-cell-2 rv_tb-cs-row-4-cell-2"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/image-25.png"/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-5-cell-0 rv_tb-rs-row-5-cell-0 rv_tb-cs-row-5-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">证书部署-服务器重载</div></div></div></td><td class="rv_tb-cell rv_tb-row-5-cell-1 rv_tb-rs-row-5-cell-1 rv_tb-cs-row-5-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">在登录的远程连接终端中，进行nginx重载</div></div></div><div class="rv_tb-element"><div class="rv_tb-list-wrap rv_justify cell-element-1"><ul class="rv_tb-list"><li>sudo systemctl reload nginx # 或者 </li><li>sudo service nginx reload</li></ul></div></div></td><td class="rv_tb-cell rv_tb-row-5-cell-2 rv_tb-rs-row-5-cell-2 rv_tb-cs-row-5-cell-2"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="https://0to60.top/wp-content/uploads/2025/05/image-26.png"/></div></div></td></tr></tbody></table></figure>



<h2 class="wp-block-heading">二、踩坑记录</h2>



<h3 class="wp-block-heading">2.1 文件上传失败</h3>



<details class="wp-block-details is-layout-flow wp-block-details-is-layout-flow"><summary>2025-5-16 解决</summary>
<p>包括图片文件和主题文件，在上传时可能会上传失败，解决方式如下：</p>



<p>2.1.1 上传主题文件时，第一次报错：request entity is large，解决步骤如下</p>



<figure class="wp-block-riovizual-tablebuilder is-style-stripes rv_tb-6eb619eb-878f-4ee3-9680-384f6c72e0d5 is-scroll-on-mobile" rv-tb-responsive-breakpoint="768px"><table class=""><thead><tr><th class="rv_tb-cell rv_tb-row-0-cell-0 rv_tb-rs-row-0-cell-0 rv_tb-cs-row-0-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">序号</div></div></div></th><th class="rv_tb-cell rv_tb-row-0-cell-1 rv_tb-rs-row-0-cell-1 rv_tb-cs-row-0-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">操作</div></div></div></th><th class="rv_tb-cell rv_tb-row-0-cell-2 rv_tb-rs-row-0-cell-2 rv_tb-cs-row-0-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">图示</div></div></div></th></tr></thead><tbody><tr><td class="rv_tb-cell rv_tb-row-1-cell-0 rv_tb-rs-row-1-cell-0 rv_tb-cs-row-1-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">1</div></div></div></td><td class="rv_tb-cell rv_tb-row-1-cell-1 rv_tb-rs-row-1-cell-1 rv_tb-cs-row-1-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">登录进入服务器</div></div></div><div class="rv_tb-element"><div class="rv_tb-list-wrap rv_justify cell-element-1"><ul class="rv_tb-list"><li>打开服务器实例</li><li>远程登录进入服务器</li></ul></div></div></td><td class="rv_tb-cell rv_tb-row-1-cell-2 rv_tb-rs-row-1-cell-2 rv_tb-cs-row-1-cell-2"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="http://47.109.203.158/wp-content/uploads/2025/05/image-1.png"/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-2-cell-0 rv_tb-rs-row-2-cell-0 rv_tb-cs-row-2-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">2</div></div></div></td><td class="rv_tb-cell rv_tb-row-2-cell-1 rv_tb-rs-row-2-cell-1 rv_tb-cs-row-2-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">找到<strong><code>php.ini</code></strong>文件，linux一般在<br>&#8211; /etc/php/8.x/apache2/php.ini（Apache）<br>&#8211; /etc/php/8.x/fpm/php.ini（Nginx + PHP-FPM）</div></div></div></td><td class="rv_tb-cell rv_tb-row-2-cell-2 rv_tb-rs-row-2-cell-2 rv_tb-cs-row-2-cell-2"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="http://47.109.203.158/wp-content/uploads/2025/05/image-2.png"/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-3-cell-0 rv_tb-rs-row-3-cell-0 rv_tb-cs-row-3-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">3</div></div></div></td><td class="rv_tb-cell rv_tb-row-3-cell-1 rv_tb-rs-row-3-cell-1 rv_tb-cs-row-3-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">修改参数，保存</div></div></div><div class="rv_tb-element"><div class="rv_tb-list-wrap rv_justify cell-element-1"><ul class="rv_tb-list"><li>upload_max_filesize = 64M</li></ul></div></div></td><td class="rv_tb-cell rv_tb-row-3-cell-2 rv_tb-rs-row-3-cell-2 rv_tb-cs-row-3-cell-2"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="http://47.109.203.158/wp-content/uploads/2025/05/image-3.png"/></div></div></td></tr></tbody></table></figure>



<p>2.2.2 再次上传时，继续报错：413 Request Entity Too Large nginx/1.18.0 (Ubuntu)</p>



<figure class="wp-block-riovizual-tablebuilder is-style-stripes rv_tb-5397f5ea-0b45-427d-a704-d042a9ae70fe is-scroll-on-mobile" rv-tb-responsive-breakpoint="768px"><table class=""><thead><tr><th class="rv_tb-cell rv_tb-row-0-cell-0 rv_tb-rs-row-0-cell-0 rv_tb-cs-row-0-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">序号</div></div></div></th><th class="rv_tb-cell rv_tb-row-0-cell-1 rv_tb-rs-row-0-cell-1 rv_tb-cs-row-0-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">操作</div></div></div></th><th class="rv_tb-cell rv_tb-row-0-cell-2 rv_tb-rs-row-0-cell-2 rv_tb-cs-row-0-cell-2"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">图示</div></div></div></th></tr></thead><tbody><tr><td class="rv_tb-cell rv_tb-row-1-cell-0 rv_tb-rs-row-1-cell-0 rv_tb-cs-row-1-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">1</div></div></div></td><td class="rv_tb-cell rv_tb-row-1-cell-1 rv_tb-rs-row-1-cell-1 rv_tb-cs-row-1-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">登录进入服务器（同上）</div></div></div></td><td class="rv_tb-cell rv_tb-row-1-cell-2 rv_tb-rs-row-1-cell-2 rv_tb-cs-row-1-cell-2"><div class="rv_tb-element"></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-2-cell-0 rv_tb-rs-row-2-cell-0 rv_tb-cs-row-2-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">2</div></div></div></td><td class="rv_tb-cell rv_tb-row-2-cell-1 rv_tb-rs-row-2-cell-1 rv_tb-cs-row-2-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">找到Nginx配置文件<br>&#8211; /etc/nginx/nginx.conf</div></div></div></td><td class="rv_tb-cell rv_tb-row-2-cell-2 rv_tb-rs-row-2-cell-2 rv_tb-cs-row-2-cell-2"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="http://47.109.203.158/wp-content/uploads/2025/05/image-5.png"/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-3-cell-0 rv_tb-rs-row-3-cell-0 rv_tb-cs-row-3-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">3</div></div></div></td><td class="rv_tb-cell rv_tb-row-3-cell-1 rv_tb-rs-row-3-cell-1 rv_tb-cs-row-3-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">增加配置信息，保存</div></div></div><div class="rv_tb-element"><div class="rv_tb-shortcode cell-element-1">client_max_body_size 64M;  # 允许上传最大 64MB 的文件（可调整</div></div></td><td class="rv_tb-cell rv_tb-row-3-cell-2 rv_tb-rs-row-3-cell-2 rv_tb-cs-row-3-cell-2"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="http://47.109.203.158/wp-content/uploads/2025/05/image-6.png"/></div></div></td></tr><tr><td class="rv_tb-cell rv_tb-row-4-cell-0 rv_tb-rs-row-4-cell-0 rv_tb-cs-row-4-cell-0"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">4</div></div></div></td><td class="rv_tb-cell rv_tb-row-4-cell-1 rv_tb-rs-row-4-cell-1 rv_tb-cs-row-4-cell-1"><div class="rv_tb-element"><div class="rv_tb-text-wrap rv_justify cell-element-0"><div class="rv_tb-text">重启服务，挨个执行回车，其中php8.x是指自己的版本，这里我的是8.0<br>Apache: sudo systemctl restart apache2<br>Nginx: sudo systemctl restart nginx<br>PHP-FPM: sudo systemctl restart php8.x-fpm</div></div></div></td><td class="rv_tb-cell rv_tb-row-4-cell-2 rv_tb-rs-row-4-cell-2 rv_tb-cs-row-4-cell-2"><div class="rv_tb-element"><div class="rv_tb-image cell-element-0"><img decoding="async" loading="lazy" src="http://47.109.203.158/wp-content/uploads/2025/05/image-7.png"/></div></div></td></tr></tbody></table></figure>



<p>毕~</p>
</details>



<h3 class="wp-block-heading">2.2 SSL设置后不生效</h3>



<details class="wp-block-details is-layout-flow wp-block-details-is-layout-flow"><summary>2025-5-19 解决<br></summary>
<p>设置完成后，浏览器访问时一直提示没成功，但是在无痕模式下没问题。</p>



<p>不是没生效，而是受缓存影响，浏览器清除该站点的数据后关闭浏览器重新打开生效。</p>
</details>



<h3 class="wp-block-heading">2.3 SSL-mixed content</h3>



<p>部署SSL证书后，发现文章中的图片资源裂开，最后是因为资源文件还是通过http访问。</p>



<details class="wp-block-details is-layout-flow wp-block-details-is-layout-flow"><summary>2025-6-1 解决</summary>
<p>使用插件解决，really simple ssl</p>
</details>



<p></p>
<p><a rel="nofollow" href="https://0to60.top/blog%ef%bc%8cwordpress%e5%b8%b8%e7%94%a8%e8%ae%be%e7%bd%ae%e5%8f%8a%e6%8f%92%e4%bb%b6%e6%8e%a8%e8%8d%90/">Blog，WordPress常用设置及插件推荐</a>最先出现在<a rel="nofollow" href="https://0to60.top">0260</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://0to60.top/blog%ef%bc%8cwordpress%e5%b8%b8%e7%94%a8%e8%ae%be%e7%bd%ae%e5%8f%8a%e6%8f%92%e4%bb%b6%e6%8e%a8%e8%8d%90/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Blog，WordPress搭建部署 &#038; 文章输出</title>
		<link>https://0to60.top/blog%ef%bc%8c%e5%bf%ab%e9%80%9f%e6%89%a7%e8%a1%8c/</link>
					<comments>https://0to60.top/blog%ef%bc%8c%e5%bf%ab%e9%80%9f%e6%89%a7%e8%a1%8c/#respond</comments>
		
		<dc:creator><![CDATA[burson]]></dc:creator>
		<pubDate>Tue, 13 May 2025 06:49:12 +0000</pubDate>
				<category><![CDATA[blog旅途]]></category>
		<category><![CDATA[WordPress搭建部署]]></category>
		<category><![CDATA[小白操作指引]]></category>
		<guid isPermaLink="false">http://47.109.203.158/?p=97</guid>

					<description><![CDATA[<p>一、引言 基于上一篇文章《Blog，&#46;&#46;&#46;</p>
<p><a rel="nofollow" href="https://0to60.top/blog%ef%bc%8c%e5%bf%ab%e9%80%9f%e6%89%a7%e8%a1%8c/">Blog，WordPress搭建部署 &amp; 文章输出</a>最先出现在<a rel="nofollow" href="https://0to60.top">0260</a>。</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading has-black-color has-text-color has-link-color wp-elements-85dcae7dd2267e56ebac9f0847c1ba58" id="0-%E4%B8%80%E3%80%81%E5%BC%95%E8%A8%80">一、引言</h2>



<p>基于上一篇文章<a href="http://47.109.203.158/2025/05/12/blog%ef%bc%8c%e5%bf%ab%e9%80%9f%e5%bc%80%e5%a7%8b/" data-type="post" data-id="86" target="_blank" rel="noreferrer noopener nofollow">《Blog，启动》</a>，搭建自己的博客网站，可按以下操作步骤：</p>



<ol class="wp-block-list">
<li>进入云服务器平台官网
<ul class="wp-block-list">
<li>目前较多的就是阿里云或者腾讯云，这里我选择了阿里云服务器ECS，根据AI推荐，它能一键部署wordpress，适合我这种小白。</li>



<li>操作决策时间：10分钟。</li>
</ul>
</li>



<li>购买或者白嫖云服务器
<ul class="wp-block-list">
<li>初次尝试，成本控制下，100R/元以内即可，能白嫖就白嫖。</li>



<li>操作/决策时间：20分钟。</li>
</ul>
</li>



<li>搭建部署WordPress
<ul class="wp-block-list">
<li>初次尝试，既然是一键部署，应该不会太久</li>



<li>预估时间，60分钟。</li>
</ul>
</li>



<li>写一篇文章
<ul class="wp-block-list">
<li>第一篇文章，开启我的新篇章，还是稍微构思下，哈哈</li>



<li>预估时间：60分钟。</li>
</ul>
</li>
</ol>



<h2 class="wp-block-heading" id="1-%E4%BA%8C%E3%80%81%E6%93%8D%E4%BD%9C%E6%89%A7%E8%A1%8C">二、操作执行</h2>



<h3 class="wp-block-heading" id="2-21-%E8%BF%9B%E5%85%A5%E4%BA%91%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%B9%B3%E5%8F%B0%E3%80%82%E6%88%91%E9%80%89%E7%9A%84%E9%98%BF%E9%87%8C%E4%BA%91%EF%BC%8C%E8%87%AA%E7%84%B6%E8%BF%9B%E9%98%BF%E9%87%8C%E4%BA%91%E5%B9%B3%E5%8F%B0%E9%A1%B5%E9%9D%A2%E3%80%82">2.1 进入云服务器平台。</h3>



<p>我选的阿里云，自然进阿里云平台页面。</p>


<div><div class="wp-block-pluginette-todo-block-item-wrapper"><input class="wp-block-pluginette-todo-input" type="checkbox" value="1"  checked='checked' data-readonly="true" onclick="this.checked=!this.checked;"  />
<div class="wp-block-pluginette-todo-block-item has-vivid-green-cyan-color has-text-color has-link-color">执行状态：DONE</div>
</div><input type="hidden" id="tdb_nonce_input_id" value="46b5945dff"><input type="hidden" id="tdb_post_id" value="97"></div>

https://www.aliyun.com/daily-act/ecs/activity_selection?source=5176.29345612&#038;userCode=7gwy9jbo


<h3 class="wp-block-heading" id="3-22-%E8%B4%AD%E4%B9%B0%E6%88%96%E8%80%85%E7%99%BD%E5%AB%96%E4%BA%91%E6%9C%8D%E5%8A%A1%E5%99%A8%E3%80%82">2.2 购买或者白嫖云服务器。</h3>



<p>点击以上链接，找到最便宜的一款ECS服务，我这里选择99元/年的。新用户能免费试用，也有60多的，由于我的目标是长期输出，所以选的99元的款，还是要看个人的需求。</p>


<div><div class="wp-block-pluginette-todo-block-item-wrapper"><input class="wp-block-pluginette-todo-input" type="checkbox" value="1"  checked='checked'   />
<div class="wp-block-pluginette-todo-block-item has-vivid-green-cyan-color has-text-color has-link-color">执行状态：DONE</div>
</div><input type="hidden" id="tdb_nonce_input_id" value="46b5945dff"><input type="hidden" id="tdb_post_id" value="97"></div>


<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="486" data-id="117" src="http://47.109.203.158/wp-content/uploads/2025/05/screenshot-20250513-151033-1024x486.png" alt="" class="wp-image-117" srcset="https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-151033-1024x486.png 1024w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-151033-300x142.png 300w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-151033-768x364.png 768w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-151033-1536x729.png 1536w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-151033.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">选择合适的云服务器</figcaption></figure>



<figure class="wp-block-image size-full is-style-default"><img decoding="async" width="856" height="729" data-id="118" src="http://47.109.203.158/wp-content/uploads/2025/05/screenshot-20250513-151456.png" alt="" class="wp-image-118" srcset="https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-151456.png 856w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-151456-300x255.png 300w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-151456-768x654.png 768w" sizes="(max-width: 856px) 100vw, 856px" /><figcaption class="wp-element-caption">下单购买or白嫖</figcaption></figure>
</figure>



<h3 class="wp-block-heading">2.3 搭建部署WordPress</h3>



<p>比我想象的还要傻瓜，我以为是买了服务器后自己还要捣鼓一下，没想到在购买完成后，已经自动安装。</p>



<p>此时，我只需要登录公网IP，然后设置网站，就可以进入我的后台。</p>


<div><div class="wp-block-pluginette-todo-block-item-wrapper"><input class="wp-block-pluginette-todo-input" type="checkbox" value="1"  checked='checked' data-readonly="true" onclick="this.checked=!this.checked;"  />
<div class="wp-block-pluginette-todo-block-item has-vivid-green-cyan-color has-text-color has-link-color">执行状态：DONE</div>
</div><input type="hidden" id="tdb_nonce_input_id" value="46b5945dff"><input type="hidden" id="tdb_post_id" value="97"></div>


<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="486" data-id="122" src="http://47.109.203.158/wp-content/uploads/2025/05/云服务器-控制台-1024x486.png" alt="" class="wp-image-122" srcset="https://0to60.top/wp-content/uploads/2025/05/云服务器-控制台-1024x486.png 1024w, https://0to60.top/wp-content/uploads/2025/05/云服务器-控制台-300x142.png 300w, https://0to60.top/wp-content/uploads/2025/05/云服务器-控制台-768x364.png 768w, https://0to60.top/wp-content/uploads/2025/05/云服务器-控制台-1536x729.png 1536w, https://0to60.top/wp-content/uploads/2025/05/云服务器-控制台.png 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">控制台界面</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="486" data-id="120" src="http://47.109.203.158/wp-content/uploads/2025/05/云服务器-实例-1024x486.png" alt="" class="wp-image-120" srcset="https://0to60.top/wp-content/uploads/2025/05/云服务器-实例-1024x486.png 1024w, https://0to60.top/wp-content/uploads/2025/05/云服务器-实例-300x142.png 300w, https://0to60.top/wp-content/uploads/2025/05/云服务器-实例-768x364.png 768w, https://0to60.top/wp-content/uploads/2025/05/云服务器-实例-1536x729.png 1536w, https://0to60.top/wp-content/uploads/2025/05/云服务器-实例.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">找到公网IP</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="486" data-id="121" src="http://47.109.203.158/wp-content/uploads/2025/05/WP-后台-1024x486.png" alt="" class="wp-image-121" srcset="https://0to60.top/wp-content/uploads/2025/05/WP-后台-1024x486.png 1024w, https://0to60.top/wp-content/uploads/2025/05/WP-后台-300x142.png 300w, https://0to60.top/wp-content/uploads/2025/05/WP-后台-768x364.png 768w, https://0to60.top/wp-content/uploads/2025/05/WP-后台-1536x729.png 1536w, https://0to60.top/wp-content/uploads/2025/05/WP-后台.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">公网IP访问后界面</figcaption></figure>
</figure>



<h3 class="wp-block-heading">2.4. 写一篇文章</h3>



<p>哈哈，就来一篇《hello，blog~》吧</p>


<div><div class="wp-block-pluginette-todo-block-item-wrapper"><input class="wp-block-pluginette-todo-input" type="checkbox" value="1"  checked='checked'   />
<div class="wp-block-pluginette-todo-block-item has-vivid-green-cyan-color has-text-color has-link-color">执行状态：DONE (ps：写完后补的)</div>
</div><input type="hidden" id="tdb_nonce_input_id" value="46b5945dff"><input type="hidden" id="tdb_post_id" value="97"></div>


<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="486" data-id="133" src="http://47.109.203.158/wp-content/uploads/2025/05/screenshot-20250513-154514-1024x486.png" alt="" class="wp-image-133" srcset="https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-154514-1024x486.png 1024w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-154514-300x142.png 300w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-154514-768x364.png 768w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-154514-1536x729.png 1536w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-154514.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">wp后台-文章</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="486" data-id="132" src="http://47.109.203.158/wp-content/uploads/2025/05/screenshot-20250513-154217-1024x486.png" alt="" class="wp-image-132" srcset="https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-154217-1024x486.png 1024w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-154217-300x142.png 300w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-154217-768x364.png 768w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-154217-1536x729.png 1536w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-154217.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">《hello，blog》</figcaption></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="486" data-id="131" src="http://47.109.203.158/wp-content/uploads/2025/05/screenshot-20250513-154236-1024x486.png" alt="" class="wp-image-131" srcset="https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-154236-1024x486.png 1024w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-154236-300x142.png 300w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-154236-768x364.png 768w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-154236-1536x729.png 1536w, https://0to60.top/wp-content/uploads/2025/05/screenshot-20250513-154236.png 1920w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">发布后前端展示</figcaption></figure>
</figure>



<figure class="wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex">
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="612" height="216" data-id="137" src="http://47.109.203.158/wp-content/uploads/2025/05/istockphoto-1368531657-612x612-1.jpg" alt="" class="wp-image-137" srcset="https://0to60.top/wp-content/uploads/2025/05/istockphoto-1368531657-612x612-1.jpg 612w, https://0to60.top/wp-content/uploads/2025/05/istockphoto-1368531657-612x612-1-300x106.jpg 300w" sizes="auto, (max-width: 612px) 100vw, 612px" /></figure>
</figure>
<p><a rel="nofollow" href="https://0to60.top/blog%ef%bc%8c%e5%bf%ab%e9%80%9f%e6%89%a7%e8%a1%8c/">Blog，WordPress搭建部署 &amp; 文章输出</a>最先出现在<a rel="nofollow" href="https://0to60.top">0260</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://0to60.top/blog%ef%bc%8c%e5%bf%ab%e9%80%9f%e6%89%a7%e8%a1%8c/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
