{"id":1017,"date":"2020-08-25T15:05:21","date_gmt":"2020-08-25T07:05:21","guid":{"rendered":"https:\/\/summersnow2001.wordpress.com\/?p=1017"},"modified":"2020-08-25T15:05:21","modified_gmt":"2020-08-25T07:05:21","slug":"wordpress-blog-built-on-infinityfree-free-web-hosting","status":"publish","type":"post","link":"https:\/\/summersnow.eu.org\/?p=1017","title":{"rendered":"WordPress Blog Built on InfinityFree Free Web Hosting"},"content":{"rendered":"\n<p>A month ago, I paid attention to the relevant blog information of unlimited hosting space. After searching through Google, I found that there is indeed such a product. For the detailed application tutorial, please refer to the blog post \u201c<a href=\"https:\/\/zetaspace.win\/infinityfree-free-host\/\" target=\"_blank\" rel=\"noreferrer noopener\">[\u514d\u8cbb\u4e3b\u6a5f] \u5efa\u7acb\u4e00\u500b\u5b8c\u5168\u514d\u8cbb\u7684\u7db2\u7ad9\uff1aInfinityFree\u865b\u64ec\u4e3b\u6a5f<\/a>\u201c. The article also introduces how to build a WordPress personal space. You can quickly install WordPress in InfinityFree through the built-in one-click installation of Softaculous. I first applied for two spaces on InfinityFree, one using its own secondary level domain name, the other a free domain name that I applied for before. After installing WordPress separately, some problems were found, and they were effectively resolved after network retrieval and actual operations. Here is a brief record of the problems and their solutions.<\/p>\n\n\n\n<p>\u4e00\u4e2a\u6708\u524d\u5173\u6ce8\u4e86\u4e00\u4e0b\u65e0\u9650\u4e3b\u673a\u7a7a\u95f4\u7684\u76f8\u5173\u535a\u5ba2\u4fe1\u606f\uff0c\u7ecf\u8fc7Google\u68c0\u7d22\u540e\u53d1\u73b0\u786e\u5b9e\u6709\u4e00\u6b3e\u8fd9\u6837\u7684\u4ea7\u54c1\uff0c\u8be6\u7ec6\u7533\u8bf7\u6559\u7a0b\u53c2\u89c1\u535a\u6587\u201c<a href=\"https:\/\/zetaspace.win\/infinityfree-free-host\/\" target=\"_blank\" rel=\"noreferrer noopener\">[\u514d\u8cbb\u4e3b\u6a5f] \u5efa\u7acb\u4e00\u500b\u5b8c\u5168\u514d\u8cbb\u7684\u7db2\u7ad9\uff1aInfinityFree\u865b\u64ec\u4e3b\u6a5f<\/a>\u201d\u3002\u6587\u4e2d\u8fd8\u6709\u4ecb\u7ecd\u4e86\u5982\u4f55\u6784\u5efaWordPress\u4e2a\u4eba\u7a7a\u95f4\u7684\u65b9\u6cd5\uff0c\u5373\u53ef\u4ee5\u5728InfinityFree\u4e2d\u901a\u8fc7Softaculous\u5185\u5efa\u7684\u4e00\u952e\u5b89\u88dd\u5feb\u901f\u5b89\u88c5WordPress\uff0c\u6211\u5728InfinityFree\u4e0a\u5148\u7533\u8bf7\u4e86\u4e24\u4e2a\u7a7a\u95f4\uff0c\u4e00\u4e2a\u91c7\u7528\u4e86\u5176\u81ea\u5e26\u7684\u4e8c\u7ea7\u57df\u540d\uff0c\u53e6\u4e00\u4e2a\u91c7\u7528\u4e86\u81ea\u5df1\u4e4b\u524d\u7533\u8bf7\u7684\u514d\u8d39\u57df\u540d\uff0c\u5728\u5206\u522b\u5b89\u88c5\u597dWordPress\u540e\uff0c\u53d1\u73b0\u51fa\u73b0\u4e86\u4e00\u4e9b\u95ee\u9898\uff0c\u7ecf\u8fc7\u7f51\u7edc\u68c0\u7d22\u53ca\u5b9e\u9645\u64cd\u4f5c\u540e\u5747\u5f97\u5230\u4e86\u6709\u6548\u89e3\u51b3\u3002\u4e0b\u9762\u5c31\u7b80\u8981\u8bb0\u5f55\u4e00\u4e0b\u95ee\u9898\u53ca\u5176\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n\n\n\n<p>Because the website after using its own secondary level domain name cannot open SSL for free, and also cannot be bound to Cloudflare, the WordPress blog space address opened by this domain name cannot be used with SSL connection, while the custom domain name can be opened. You can use the panel to be activated directly, or it can be bound to Cloudflare to be activated. I used the latter method. After this operation, pay attention to the URL selection http:\/\/ or https:\/\/ when installing WordPress. The homepage after installation cannot be opened directly. You can refer to the above method to delete the index2.html file, so that the homepage can be opened smoothly .<\/p>\n\n\n\n<p>\u56e0\u4e3a\u91c7\u7528\u5176\u81ea\u5e26\u7684\u4e8c\u7ea7\u57df\u540d\u540e\u7684\u7f51\u7ad9\u65e0\u6cd5\u514d\u8d39\u5f00\u901aSSL\uff0c\u4e5f\u65e0\u6cd5\u7ed1\u5b9a\u81f3Cloudflare\uff0c\u6545\u7531\u8be5\u57df\u540d\u5f00\u901a\u7684WordPress\u535a\u5ba2\u7a7a\u95f4\u5730\u5740\u65e0\u6cd5\u4f7f\u7528SSL\u8fde\u63a5\uff0c\u800c\u81ea\u5b9a\u4e49\u57df\u540d\u5219\u53ef\u4ee5\u5f00\u901a\uff0c\u4f60\u53ef\u4ee5\u5229\u7528\u8be5\u9762\u677f\u76f4\u63a5\u5f00\u901a\uff0c\u4e5f\u53ef\u4ee5\u7ed1\u5b9a\u81f3Cloudflare\u5f00\u901a\uff0c\u6211\u662f\u91c7\u7528\u4e86\u540e\u8005\u5f00\u901a\u7684\u3002\u8fd9\u6837\u7684\u64cd\u4f5c\u4ee5\u540e\uff0c\u5728\u5b89\u88c5WordPress\u65f6\u6ce8\u610fURL\u9009\u62e9http:\/\/\u6216https:\/\/\uff0c\u5b89\u88c5\u540e\u7684\u4e3b\u9875\u65e0\u6cd5\u76f4\u63a5\u6253\u5f00\uff0c\u53ef\u4ee5\u53c2\u7167\u4e0a\u6587\u4e2d\u7684\u65b9\u6cd5\u5220\u9664index2.html\u6587\u4ef6\uff0c\u8fd9\u6837\u7684\u8bdd\u4e3b\u9875\u5c31\u53ef\u4ee5\u987a\u5229\u6253\u5f00\u4e86\u3002<\/p>\n\n\n\n<p>However, the administrative backstage was found not be opened, and the blogs of the two spaces showed different error descriptions. The space blog administrative background with its own secondary level domain name cannot be opened, and an SSL error occurs. Please refer to the blog post \u201c<a href=\"https:\/\/www.vpsss.net\/18025.html\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u8bef\u6539http\u4e3ahttps\u4e4b\u540eWordPress\u7ba1\u7406\u540e\u53f0\u6253\u4e0d\u5f00\u7684\u89e3\u51b3\u8fc7\u7a0b<\/a>\u201d to solve the problem in phpMyAdmin introduced. In fact, we did not change it by mistake, but the solution is the same. The space blog administrative background with a custom domain name can\u2019t be opened either. There are too many redirection errors. Please refer to the blog post \u201c<a href=\"https:\/\/www.mzihen.com\/wordpress-https-too-many-redirects\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress\u914d\u7f6ehttps\u540e\u91cd\u5b9a\u5411\u6b21\u6570\u8fc7\u591a<\/a>\u201d to modify the wp-config.php file as described in the method. Add the following codes after &lt;?php:<\/p>\n\n\n\n<p>$_SERVER[\u2018HTTPS\u2019] = \u2018on\u2019;<\/p>\n\n\n\n<p>define(\u2018FORCE_SSL_LOGIN\u2019, true);<\/p>\n\n\n\n<p>define(\u2018FORCE_SSL_ADMIN\u2019, true);<\/p>\n\n\n\n<p>\u4f46\u662f\u7ba1\u7406\u540e\u53f0\u5374\u53d1\u73b0\u4e5f\u90fd\u6253\u4e0d\u5f00\uff0c\u4e24\u4e2a\u7a7a\u95f4\u7684\u535a\u5ba2\u51fa\u73b0\u4e0d\u4e00\u6837\u7684\u9519\u8bef\u8bf4\u660e\u3002\u91c7\u7528\u81ea\u5e26\u4e8c\u7ea7\u57df\u540d\u7684\u7a7a\u95f4\u535a\u5ba2\u7ba1\u7406\u540e\u53f0\u65e0\u6cd5\u6253\u5f00\uff0c\u51fa\u73b0SSL\u7684\u9519\u8bef\uff0c\u53ef\u53c2\u8003\u535a\u6587\u201c<a href=\"https:\/\/www.vpsss.net\/18025.html\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u8bef\u6539http\u4e3ahttps\u4e4b\u540eWordPress\u7ba1\u7406\u540e\u53f0\u6253\u4e0d\u5f00\u7684\u89e3\u51b3\u8fc7\u7a0b<\/a>\u201d\u4e2d\u4ecb\u7ecd\u7684\u65b9\u6cd5\u53bbphpMyAdmin\u89e3\u51b3\u95ee\u9898\uff0c\u5176\u5b9e\u6211\u4eec\u8fd9\u91cc\u5e76\u975e\u8bef\u6539\uff0c\u4e0d\u8fc7\u89e3\u51b3\u65b9\u6cd5\u76f8\u540c\u3002\u7528\u81ea\u5b9a\u4e49\u57df\u540d\u7684\u7a7a\u95f4\u535a\u5ba2\u7ba1\u7406\u540e\u53f0\u4e5f\u65e0\u6cd5\u6253\u5f00\uff0c\u51fa\u73b0\u592a\u591a\u91cd\u5b9a\u5411\u7684\u9519\u8bef\uff0c\u53ef\u53c2\u8003\u535a\u6587\u201c<a href=\"https:\/\/www.mzihen.com\/wordpress-https-too-many-redirects\/\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress\u914d\u7f6ehttps\u540e\u91cd\u5b9a\u5411\u6b21\u6570\u8fc7\u591a<\/a>\u201d\u4e2d\u4ecb\u7ecd\u7684\u65b9\u6cd5\u4fee\u6539wp-config.php\u6587\u4ef6\uff0c\u5728&lt;?php\u540e\u5176\u6dfb\u52a0\u5982\u4e0b\u4ee3\u7801\uff1a<\/p>\n\n\n\n<p>$_SERVER[\u2018HTTPS\u2019] = \u2018on\u2019;<\/p>\n\n\n\n<p>define(\u2018FORCE_SSL_LOGIN\u2019, true);<\/p>\n\n\n\n<p>define(\u2018FORCE_SSL_ADMIN\u2019, true);<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A month ago, I paid attention to the relevant blog info &#8230;.&nbsp;&nbsp;<a class=\" special\" href=\"https:\/\/summersnow.eu.org\/?p=1017\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[20,87],"class_list":["post-1017","post","type-post","status-publish","format-standard","hentry","category-internet","tag-blog-space","tag-wordpress"],"views":629,"_links":{"self":[{"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/1017","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1017"}],"version-history":[{"count":0,"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/1017\/revisions"}],"wp:attachment":[{"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1017"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1017"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/summersnow.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1017"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}