wrjc1hod 发表于 2024-9-6 05:09:35

外贸阿里云、腾讯云、百度云哪个好?怎么样配置WORDPRESS网站?


    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">做外贸这么<span style="color: black;">数年</span>,从<span style="color: black;">起始</span>自已写HTML代码用虚拟空间,到<span style="color: black;">运用</span>国内的CMS,到学会用WORDPRESS,<span style="color: black;">运用</span>WORDPRESS主机,再到直接<span style="color: black;">选择</span>轻量云服务器,分享一下自已的感受和经验。</p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">域名注册</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">国内的阿里、百度、腾讯都差不多<span style="color: black;">花费</span>,腾讯略便宜,于是我<span style="color: black;">起始</span>把需要续费的转到腾讯了。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">之前买的GODADDY虚拟空间,送域名,<span style="color: black;">发掘</span><span style="color: black;">无</span>隐私<span style="color: black;">守护</span>,<span style="color: black;">而后</span>试了一下单独注册<span style="color: black;">一样</span><span style="color: black;">无</span>免费隐私<span style="color: black;">守护</span>,需要另加钱。但这个网站<span style="color: black;">拜访</span>不稳定。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">国内所有注册商都有隐私<span style="color: black;">守护</span>,管理<span style="color: black;">亦</span>方便,最起码<span style="color: black;">拜访</span>时不会出问题。</p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">域名解析DNS</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">现有的域名有阿里、百度、腾讯的。<span style="color: black;">科研</span>后<span style="color: black;">发掘</span>,免费的DNS解析三家都<span style="color: black;">无</span>海外节点<span style="color: black;">运用</span>,但阿里的国内节点中<span style="color: black;">知道</span>有海外解析,我不太懂块,暂时以阿里的解析为主,<span style="color: black;">运用</span>时<span style="color: black;">亦</span>并未<span style="color: black;">发掘</span>百度和腾讯(DNS POD)的对海外解析不友好。倾向阿里云DNS,<span style="color: black;">由于</span>解析更改后生效时间极短。百度的解析变更后很慢,有时需要十几分钟后才ping出来正确的IP。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">因此</span>,<span style="color: black;">意见</span>用阿里云DNS,可<span style="color: black;">以避免</span>费解析非阿里云注册的域名。</p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">服务器</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">最初<span style="color: black;">选择</span>的是带CPANEL的虚拟空间,国内的西部网络等,后面<span style="color: black;">运用</span>了GODADDY、SUGARHOSTS美国虚拟主机,<span style="color: black;">而后</span>改用阿里云香港,<span style="color: black;">此刻</span><span style="color: black;">运用</span>腾讯云香港。下面一个一个说。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">GODADDY,CPANEL后台,在淘宝上买的特价主机,续费太贵。国外主机的老毛病,<span style="color: black;">拜访</span>不稳定!</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">SUGARHOSTS主机,个人认为<span style="color: black;">无</span><span style="color: black;">明显</span>优点。按月付费贵,按年付费便宜。最初认为只要是美西,在太平洋东岸离中国<span style="color: black;">近期</span>,网速不会差,结果<span style="color: black;">发掘</span>我在国内用电信网络<span style="color: black;">拜访</span>后台非常不稳定,下载速度不超过20KB/s。后来才<span style="color: black;">晓得</span>还有美西中美极速的,<span style="color: black;">花费</span>略高<span style="color: black;">有些</span>,但我未<span style="color: black;">运用</span>。CPANEL面板管理还算方便,有数据库和文件备份功能,有<span style="color: black;">拜访</span>记录,无限带宽和流量,网站数量不限,但限制索引节点,我<span style="color: black;">半途</span>挂了4个站<span style="color: black;">便是</span>示索引节点超限了。优点是美西<span style="color: black;">拜访</span>速度快,但美东<span style="color: black;">拜访</span>速度<span style="color: black;">通常</span>。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">阿里云香港轻量服务器,30Mbps带宽,流量有限制,但<span style="color: black;">做为</span>外贸站足够。我是按月付费的,1C1G,安装BT PANEL,开了阿里云CDN,效果<span style="color: black;">通常</span>。尤其是电信网络<span style="color: black;">拜访</span>香港服务器时<span style="color: black;">据述</span>链路要绕国外中转,我<span style="color: black;">自己</span>的体验是极慢,同我<span style="color: black;">运用</span>SUGARHOSTS几乎<span style="color: black;">同样</span>。<span style="color: black;">因此</span>大概一年<span style="color: black;">上下</span>看到腾讯云<span style="color: black;">亦</span>有香港轻量,果断换了。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">腾讯云香港轻量服务器,配置价格与阿里完全相同,但国内电信<span style="color: black;">拜访</span>速度很好,同国内网站<span style="color: black;">同样</span>。最初是98抢了一年有上海独立服务器,建了一个中文博客站。后<span style="color: black;">发掘</span>香港轻量云,果断上了1C2G,<span style="color: black;">由于</span>在阿里云的教训,内存<span style="color: black;">不足</span>用,上了2g的。上海服务器到期后中文站迁到香港轻量云,没感觉到<span style="color: black;">拜访</span>速度有区别。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">时期</span><span style="color: black;">认识</span>过百度、京东云<span style="color: black;">无</span>香港轻量,华为云需要预存1000以上,都不合适。总体<span style="color: black;">来讲</span><span style="color: black;">日前</span>腾讯香港轻量较满意。</p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">服务器配置</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">此刻</span>都是老规矩了,安装BT PANEL。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">最初时<span style="color: black;">运用</span>PHP+APACHE,不懂任何技术,只是看教程。后来<span style="color: black;">认识</span>到NGINX效率更高,就换了过来。在1C1G的阿里轻量云上内存硬是用到八九百兆,<span style="color: black;">亦</span>就五六个站。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">换腾讯云后上了2g内存,<span style="color: black;">亦</span>能用到1G。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">后来<span style="color: black;">最终</span>换上OPEN LITESPEED,内存占用彻底降至不足500M,活跃的网站有6个,<span style="color: black;">另一</span>挂了几个测试站,一共14个。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">因此</span>服务端<span style="color: black;">意见</span>PHP+OPEN LITESPEED组件。</p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">WORDPRESS后台配置</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">据<span style="color: black;">叫作</span>,WORDPRESS的可用对象缓存有ReDis和Memcached,可百度<span style="color: black;">仔细</span><span style="color: black;">办法</span>。我<span style="color: black;">选择</span>了后者。前者在测试时多个站<span style="color: black;">同期</span>开启后<span style="color: black;">拜访</span>时会串站,A站打开后<span style="color: black;">拜访</span>页面时会跳到B站。我完全搞不定,非专业人士<span style="color: black;">吗</span>,就放弃了。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">针对</span>国内<span style="color: black;">拜访</span>为主的中文站,WORDPRESS安装Litespeed Cache、Memcached Is Your Friend两个插件。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">开启LITESPEED CACHE缓存后,<span style="color: black;">同期</span>还要<span style="color: black;">这里</span>插件中打开MEMECACHE对象缓存选项,请读者<span style="color: black;">伴侣</span>们<span style="color: black;">自动</span>探索。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">对外贸站,我最初<span style="color: black;">亦</span>是同<span style="color: black;">以上</span>配置,但<span style="color: black;">运用</span>CDN后频繁出错,<span style="color: black;">拜访</span>时有<span style="color: black;">各样</span>莫名其妙的问题。于是,在所有CDN加速的网站上,不<span style="color: black;">运用</span><span style="color: black;">以上</span>2个插件。</p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">优化插件</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">为了减少代码、加快站点速度和SEO,以下是我的<span style="color: black;">必须</span>插件:</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">SEO ULTIMATE:<span style="color: black;">能够</span>自定义关键词、TITLE和描述的,<span style="color: black;">另一</span>还有社交分享通用的OPENGRAPHICS标签,可任意设置分享到FB等外网的属性。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">REMOVE WORDPRESS OVERHEAD:删除模板头部的多余元素,<span style="color: black;">例如</span>页面元素、无用的js代码等,<span style="color: black;">能够</span>简化HTML头部。但此插件与我用的部分模板的冲突。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">MINIFY HTML:简化代码,删除多余的注释。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">WP No Base Permalink:去除系统默认的<span style="color: black;">归类</span>目录页的URL中的category等,直接减少网页URL层级。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Remove CPT base:<span style="color: black;">协同</span>上面的插件,部分模板有自定义页面类型,<span style="color: black;">例如</span>PRODUCTS,<span style="color: black;">能够</span>单独去除URL中的字眼。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">zhanzhangb-baidu-submit和Sitemap by click5:专为中文站用,百度作恶,必须用<span style="color: black;">独一</span>的站点地图格式。前者是主动推送插件。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Advanced Image Sitemap:外贸站专用,站内<span style="color: black;">照片</span>索引到搜索引擎。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">Google XML Sitemaps: 外贸专用,网页新建或修改后<span style="color: black;">通告</span>GOOGLE BING,<span style="color: black;">亦</span>生成站点地图。</span></p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">网站后台设置</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">中文站url直接<span style="color: black;">选择</span>自定义/%post_id%/。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">外贸站选<span style="color: black;">文案</span>名。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">倘若</span>开启了HTTPS,网站常规设置中,<span style="color: black;"><span style="color: black;">WordPress<span style="color: black;">位置</span>(URL)和站点<span style="color: black;">位置</span>(URL)的网址前面均以HTTPS开头。</span></span></p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">HTTPS加密</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">日前</span><span style="color: black;">无</span>确定说HTTP<span style="color: black;">欠好</span>,但<span style="color: black;">广泛</span><span style="color: black;">意见</span>开启HTTPS,<span style="color: black;">能够</span>在宝塔面板上申请,<span style="color: black;">而后</span>打开强制HTTPS。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">重视</span>,要先在面板上启用并强制,<span style="color: black;">而后</span>再到上面说的后台改HTTP为https,否则<span style="color: black;">就地</span>就进不了网站后台了。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">如启用后不将URL改为https,网页<span style="color: black;">表示</span>不全,<span style="color: black;">照片</span>和CSS会加载不到。</p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">CDN加速</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">中文站<span style="color: black;">由于</span><span style="color: black;">拜访</span>距离近,不面向海外,未开启加速,只<span style="color: black;">运用</span>LITESPEED缓存插件,<span style="color: black;">拜访</span>速度非常满意。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">外贸站在开启<span style="color: black;">以上</span>插件时,<span style="color: black;">发掘</span>CDN加速<span style="color: black;">拜访</span>会有莫名其妙的问题,缓存机制之间可能的冲突。于是<span style="color: black;">运用</span>CDN的外贸站后台不开缓存。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">倘若</span><span style="color: black;">不消</span>CDN,还是需要<span style="color: black;">以上</span>后台的缓存。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">倘若</span>网站启用了HTTPS,需要<span style="color: black;">重视</span>下面的问题。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">最初<span style="color: black;">运用</span>阿里的CDN,开HTTPS后,必须在CDN中配置HTTPS否则<span style="color: black;">拜访</span>时会提示不安全。但阿里云CDN中<span style="color: black;">运用</span>服务器上<span style="color: black;">一样</span>的SSL证书后网站不可<span style="color: black;">拜访</span>,报错TOO MANY REDIRECTS,询问客服后得知,必须在CDN中<span style="color: black;">另一</span>再申请一个SSL证书才<span style="color: black;">能够</span><span style="color: black;">运用</span>。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">但SSL本意<span style="color: black;">便是</span>为使网站<span style="color: black;">拜访</span>更安全,<span style="color: black;">倘若</span>CDN中不配置SSL,那服务器端<span style="color: black;">亦</span>无必要配置SSL了。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">因此</span><span style="color: black;">倘若</span><span style="color: black;">运用</span>阿里云CDN,二选一:服务器和CDN均不配置SSL;均配置一个独立的SSL(2个<span style="color: black;">区别</span>的SSL证书)。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">但<span style="color: black;">运用</span>腾讯云则不存<span style="color: black;">这里</span>问题,直接将服务器的私钥和证书复制到CDN的HTTPS证书界面,<span style="color: black;">保留</span>后网站可正常<span style="color: black;">拜访</span>。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">另一</span>,<span style="color: black;">运用</span>阿里云CDN后,国内<span style="color: black;">拜访</span>非常慢,<span style="color: black;">由于</span><span style="color: black;">运用</span>的是仅海外加速(不<span style="color: black;">包含</span>国内),并非<span style="color: black;">全世界</span>加速(需要备案过的才<span style="color: black;">能够</span><span style="color: black;">全世界</span>加速)。我猜测是解析和链路<span style="color: black;">太多</span><span style="color: black;">引起</span><span style="color: black;">拜访</span>太慢。而<span style="color: black;">运用</span>腾讯云<span style="color: black;">一样</span>仅海外加速,国内<span style="color: black;">拜访</span>则并<span style="color: black;">无</span><span style="color: black;">显现</span>太高的延缓,仅比未开CDN的<span style="color: black;">拜访</span>速度稍慢。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">因此</span><span style="color: black;">日前</span>针对<span style="color: black;">无</span>备案、仅面向海外的外贸站,<span style="color: black;">意见</span><span style="color: black;">运用</span>腾讯CDN(暂不与其它CDN比较).</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">我的CDN中的其它重要配置:</p>开启压缩和CSS/JS合并。节点缓存设置为1天(<span style="color: black;">倘若</span>网站后台有更新,<span style="color: black;">次日</span>节点上更新)。浏览器缓存设置为14天(有利于终端<span style="color: black;">拜访</span>速度和SEO排名)。<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">详细</span><span style="color: black;">运用</span>上,阿里和腾讯的CDN都<span style="color: black;">选取</span>了海外加速(不<span style="color: black;">包含</span>中国大陆),但<span style="color: black;">实质</span>在国内<span style="color: black;">拜访</span>时,阿里云CDN的<span style="color: black;">拜访</span>极慢,而腾讯云的好些。<span style="color: black;">因此</span><span style="color: black;">思虑</span>国内<span style="color: black;">守护</span>网站需要,<span style="color: black;">意见</span>后者。百度云<span style="color: black;">亦</span>有海外加速,但需要申请,不直接对外开放。我<span style="color: black;">本来</span>是申请试用<span style="color: black;">瞧瞧</span>,可申请后没任何<span style="color: black;">发展</span>和答复。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">花费</span>上,<span style="color: black;">由于</span>都是企业站,<span style="color: black;">拜访</span>量不大,一天<span style="color: black;">亦</span>才几分、最多几毛钱。<span style="color: black;">不消</span>在乎价格差异。</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">日前</span>想到的就这些了,欢迎<span style="color: black;">伴侣</span>们提出<span style="color: black;">更加多</span><span style="color: black;">意见</span>和分享更好的技巧!谢谢!</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><a style="color: black;">#外贸#</a><a style="color: black;">#SEO#</a><a style="color: black;">#外贸干货分享#</a><a style="color: black;">#CDN#</a><a style="color: black;">#网站#</a></p>




m5k1umn 发表于 2024-10-6 21:16:38

论坛的成果是显著的,但我们不能因为成绩而沾沾自喜。

4lqedz 发表于 2024-10-9 07:17:58

楼主继续加油啊!外链论坛加油!

4zhvml8 发表于 昨天 02:16

i免费外链发布平台 http://www.fok120.com/
页: [1]
查看完整版本: 外贸阿里云、腾讯云、百度云哪个好?怎么样配置WORDPRESS网站?