{"id":518,"date":"2012-07-14T12:20:15","date_gmt":"2012-07-14T05:20:15","guid":{"rendered":"http:\/\/pridio.com\/?p=518"},"modified":"2012-07-17T17:19:57","modified_gmt":"2012-07-17T10:19:57","slug":"cai-wordpress-len-hosting","status":"publish","type":"post","link":"https:\/\/pridio.com\/en\/kien-thuc\/website-marketing\/cai-wordpress-len-hosting\/","title":{"rendered":"C\u00e0i WordPress l\u00ean hosting"},"content":{"rendered":"<p>WordPress n\u1ed5i ti\u1ebfng l\u00e0 d\u1ec5 d\u00e0ng c\u00e0i \u0111\u1eb7t. C\u00e0i wordpress l\u00ean hosting th\u01b0\u1eddng ch\u1ec9 m\u1ea5t kho\u1ea3ng 5 ph\u00fat. Nhi\u1ec1u m\u00e1y ch\u1ee7 web cung c\u1ea5p c\u00e1c c\u00f4ng c\u1ee5 (v\u00ed d\u1ee5 nh\u01b0 Fantastico) \u0111\u1ec3 t\u1ef1 \u0111\u1ed9ng c\u00e0i \u0111\u1eb7t WordPress cho b\u1ea1n. Tuy nhi\u00ean, n\u1ebfu b\u1ea1n mu\u1ed1n t\u1ef1 c\u00e0i \u0111\u1eb7t WordPress, m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn c\u00e1c b\u1ea1n \u1edf b\u00e0i vi\u1ebft d\u01b0\u1edbi \u0111\u00e2y.<\/p>\n<h2>Nh\u1eefng th\u1ee9 b\u1ea1n c\u1ea7n c\u00f3 khi c\u00e0i wordpress l\u00ean hosting:<\/h2>\n<p>&#8211; \u00a0M\u1ed9t Webserver (nh\u00e0 cung c\u1ea5p hosting), m\u1ed9t domain (t\u00ean mi\u1ec1n trang web)<\/p>\n<p>&#8211; \u00a0C\u00f4ng c\u1ee5 truy c\u1eadp v\u00e0o hosting:<\/p>\n<p>+ \u00a0 Th\u00f4ng qua b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n c\u1ee7a server: v\u00ed d\u1ee5 cPanel, DirectAdmin, Plesk.<\/p>\n<p>+ \u00a0 Th\u00f4ng qua FTP Client: v\u00ed d\u1ee5 FileZilla (ch\u1ec9 \u0111\u1ec3 truy c\u1eadp d\u1eef li\u1ec7u)<\/p>\n<p>&#8211; \u00a0Tr\u00ecnh duy\u1ec7t web: Chrome, Firefox, Internet Explorer, Opera,&#8230;<\/p>\n<p>&#8211; \u00a0N\u00ean c\u00f3 c\u00e1c c\u00f4ng c\u1ee5 s\u1eeda v\u0103n b\u1ea3n: Notepad, Notepad ++,&#8230;.<\/p>\n<h2>1. T\u1ea1o database:<\/h2>\n<p>Sau khi mua domain t\u1eeb nh\u00e0 cung c\u1ea5p t\u00ean mi\u1ec1n, b\u1ea1n s\u1ebd tr\u1ecf domain \u0111\u00f3 v\u1ec1 hosting (ho\u1eb7c server, n\u1ebfu b\u1ea1n \u0111\u1ee7 ti\u1ec1n thu\u00ea h\u1eb3n 1 server) c\u1ee7a b\u1ea1n ho\u1eb7c \u0111i thu\u00ea (xem th\u00eam b\u00e0i tr\u1ecf domain v\u1ec1 hosting).<\/p>\n<p>Truy c\u1eadp hosting b\u1eb1ng b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n c\u1ee7a server th\u00f4ng qua m\u1ed9t IP, username v\u00e0 password m\u00e0 nh\u00e0 cung c\u1ea5p hosting \u0111\u01b0a cho b\u1ea1n. D\u01b0\u1edbi \u0111\u00e2y l\u00e0 b\u1ea3ng truy c\u1eadp c\u1ee7a cPanel v\u00e0 DirectAdmin:<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-519\" src=\"http:\/\/pridio.com\/wp-content\/uploads\/2012\/07\/login.jpg\" alt=\"login\" width=\"637\" height=\"332\" \/><\/p>\n<p>Sau khi \u0111\u0103ng nh\u1eadp th\u00e0nh c\u00f4ng, v\u00e0o MySQL \u0111\u1ec3 t\u1ea1o m\u1ed9t database m\u1edbi, \u0111\u00e2y l\u00e0 giao di\u1ec7n c\u1ee7a DirectAdmin v\u00e0 cPanel<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-521\" src=\"http:\/\/pridio.com\/wp-content\/uploads\/2012\/07\/mysql1.jpg\" alt=\"mysql\" width=\"587\" height=\"319\" srcset=\"https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/mysql1.jpg 587w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/mysql1-300x163.jpg 300w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/mysql1-565x307.jpg 565w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/mysql1-530x288.jpg 530w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/mysql1-110x60.jpg 110w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/mysql1-579x315.jpg 579w\" sizes=\"auto, (max-width: 587px) 100vw, 587px\" \/><\/p>\n<p>B\u1ea1n \u0111\u1eb7t t\u00ean cho database, sau \u0111\u00f3 \u1ea5n Create Database. M\u1ed7i database s\u1ebd c\u00f3 m\u1ed9t username v\u00e0 password \u0111\u1ec3 qu\u1ea3n l\u00fd r\u1ed3i tr\u1ecf username v\u1ec1 database c\u00e1c th\u00f4ng s\u1ed1 ph\u1ea3i nh\u1eadp c\u0169ng kh\u00e1 d\u1ec5 d\u00e0ng. D\u01b0\u1edbi \u0111\u00e2y l\u00e0 v\u00ed d\u1ee5 c\u1ee7a cPanel:<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-524\" src=\"http:\/\/pridio.com\/wp-content\/uploads\/2012\/07\/create-database2.jpg\" alt=\"create database\" width=\"730\" height=\"496\" srcset=\"https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/create-database2.jpg 730w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/create-database2-300x203.jpg 300w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/create-database2-565x383.jpg 565w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/create-database2-530x360.jpg 530w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/create-database2-88x60.jpg 88w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/create-database2-463x315.jpg 463w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/p>\n<h2>2. T\u1ea3i v\u00e0 gi\u1ea3i n\u00e9n WordPress<\/h2>\n<p>Tr\u01b0\u1edbc h\u1ebft b\u1ea1n h\u00e3y t\u00ecm down b\u1ea3n wordpress \u0111\u01b0\u1ee3c c\u1eadp nh\u1eadt v\u1ec1. B\u1ea1n c\u00f3 th\u1ec3 t\u1ea3i n\u00f3 t\u1ea1i trang c\u1ee7a\u00a0<a title=\"wordpress.com\" href=\"http:\/\/wordpress.org\/download\/\" rel=\"nofollow\" target=\"_blank\">WordPress.com<\/a><\/p>\n<p>Gi\u1ea3i n\u00e9n n\u00f3 ra m\u1ed9t th\u01b0 m\u1ee5c tr\u00ean m\u00e1y t\u00ednh c\u1ee7a b\u1ea1n. \u0110\u1ed5i t\u00ean file wp-config-sample.php th\u00e0nh wp-config.php<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-523\" src=\"http:\/\/pridio.com\/wp-content\/uploads\/2012\/07\/unzip-wordpress2.jpg\" alt=\"unzip wordpress\" width=\"771\" height=\"521\" srcset=\"https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/unzip-wordpress2.jpg 771w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/unzip-wordpress2-300x202.jpg 300w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/unzip-wordpress2-565x381.jpg 565w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/unzip-wordpress2-530x358.jpg 530w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/unzip-wordpress2-88x60.jpg 88w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/unzip-wordpress2-466x315.jpg 466w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/unzip-wordpress2-268x180.jpg 268w\" sizes=\"auto, (max-width: 771px) 100vw, 771px\" \/><\/p>\n<p>M\u1edf file wp-config.php b\u1eb1ng c\u00f4ng c\u1ee5 s\u1eeda v\u0103n b\u1ea3n. S\u1eeda c\u00e1c th\u00f4ng s\u1ed1 l\u1ea1i nh\u01b0 sau:<\/p>\n<p>\/\/ ** MySQL settings \u2013 You can get this info from your web host ** \/\/<br \/>\n\/** The name of the database for WordPress *\/<br \/>\ndefine(\u2018DB_NAME\u2019, \u2018username_&#8230;\u2019); \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 (tr\u1ecf v\u1ec1 t\u00ean database \u0111\u00e3 t\u1ea1o)<\/p>\n<p>\/** MySQL database username *\/<br \/>\ndefine(\u2018DB_USER\u2019, \u2018username_&#8230;\u2019); \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0(t\u00ean t\u00e0i kho\u1ea3n qu\u1ea3n l\u00fd database)<\/p>\n<p>\/** MySQL database password *\/<br \/>\ndefine(\u2018DB_PASSWORD\u2019, \u2018yourpassword\u2019); \u00a0 \u00a0 \u00a0 \u00a0(m\u1eadt kh\u1ea9u qu\u1ea3n l\u00fd database)<\/p>\n<p>\/** MySQL hostname *\/<br \/>\ndefine(\u2018DB_HOST\u2019, \u2018localhost\u2019); \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 (t\u00ean host, th\u01b0\u1eddng l\u00e0 localhost)<\/p>\n<p>\/** Database Charset to use in creating database tables. *\/<br \/>\ndefine(\u2018DB_CHARSET\u2019, \u2018utf8\u2032); \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 (c\u00e1c d\u00f2ng kh\u00e1c m\u1eb7c \u0111\u1ecbnh)<\/p>\n<h2>3. C\u00e0i wordpress l\u00ean hosting<\/h2>\n<p>Truy c\u1eadp domain b\u1eb1ng b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n server ho\u1eb7c FTP Client, v\u00ed d\u1ee5 d\u01b0\u1edbi \u0111\u00e2y l\u00e0 truy c\u1eadp b\u1eb1ng FileZilla, sau \u0111\u00f3 b\u1ea1n s\u1ebd upload t\u1ea5t c\u1ea3 c\u00e1c file c\u1ee7a wordpress v\u00e0o trong th\u01b0 m\u1ee5c public_html:<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-525\" src=\"http:\/\/pridio.com\/wp-content\/uploads\/2012\/07\/upload-wordpress.jpg\" alt=\"upload wordpress\" width=\"883\" height=\"314\" srcset=\"https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/upload-wordpress.jpg 883w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/upload-wordpress-300x106.jpg 300w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/upload-wordpress-565x200.jpg 565w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/upload-wordpress-800x284.jpg 800w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/upload-wordpress-530x188.jpg 530w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/upload-wordpress-120x42.jpg 120w\" sizes=\"auto, (max-width: 883px) 100vw, 883px\" \/><\/p>\n<h2>4. C\u00e0i \u0111\u1eb7t wordpress<\/h2>\n<p>B\u1eadt tr\u00ecnh duy\u1ec7t web c\u1ee7a b\u1ea1n l\u00ean, \u0111\u00e1nh t\u00ean domain c\u1ee7a b\u1ea1n, m\u00e0n h\u00ecnh s\u1ebd hi\u1ec7n ra nh\u01b0 sau:<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-527\" src=\"http:\/\/pridio.com\/wp-content\/uploads\/2012\/07\/setup-username1.jpg\" alt=\"setup username\" width=\"763\" height=\"631\" srcset=\"https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/setup-username1.jpg 763w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/setup-username1-300x248.jpg 300w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/setup-username1-565x467.jpg 565w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/setup-username1-725x600.jpg 725w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/setup-username1-447x370.jpg 447w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/setup-username1-72x60.jpg 72w, https:\/\/pridio.com\/en\/wp-content\/uploads\/2012\/07\/setup-username1-380x315.jpg 380w\" sizes=\"auto, (max-width: 763px) 100vw, 763px\" \/><\/p>\n<p>Tr\u1eeb username th\u00ec c\u00e1c th\u1ee9 kh\u00e1c b\u1ea1n c\u00f3 th\u1ec3 thay \u0111\u1ed5i \u0111\u01b0\u1ee3c khi d\u00f9ng n\u00ean c\u0169ng kh\u00f4ng c\u1ea7n qu\u00e1 \u0111\u1eafn \u0111o khi nh\u1eadp. C\u00f2n n\u00fat \u201callow search engines find your site\u201d th\u00ec kh\u00f4ng c\u1ea7n thi\u1ebft khi l\u00e0m vi\u1ec7c offline. Sau \u0111\u00f3 b\u1ea1n \u1ea5n\u00a0<strong>Install wordpress<\/strong>\u00a0v\u00e0 b\u1eaft \u0111\u1ea7u s\u1eed d\u1ee5ng<\/p>\n<p>Ch\u00fac c\u00e1c b\u1ea1n th\u00e0nh c\u00f4ng v\u00e0 vui v\u1ebb<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress n\u1ed5i ti\u1ebfng l\u00e0 d\u1ec5 d\u00e0ng c\u00e0i \u0111\u1eb7t. C\u00e0i wordpress l\u00ean hosting th\u01b0\u1eddng ch\u1ec9 m\u1ea5t kho\u1ea3ng 5 ph\u00fat. Nhi\u1ec1u m\u00e1y ch\u1ee7 web cung c\u1ea5p c\u00e1c c\u00f4ng c\u1ee5 (v\u00ed d\u1ee5 nh\u01b0 Fantastico) \u0111\u1ec3 t\u1ef1 \u0111\u1ed9ng c\u00e0i \u0111\u1eb7t WordPress cho b\u1ea1n. Tuy&#8230;<\/p>\n","protected":false},"author":16,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"tags":[39,38,37,16,17],"class_list":["post-518","post","type-post","status-publish","format-standard","hentry","category-website-marketing","tag-cai-dat-wordpress","tag-cai-wordpress","tag-cai-wordpress-len-hosting","tag-quan-tri-wordpress","tag-wordpress-2"],"acf":[],"_links":{"self":[{"href":"https:\/\/pridio.com\/en\/wp-json\/wp\/v2\/posts\/518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pridio.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pridio.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pridio.com\/en\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/pridio.com\/en\/wp-json\/wp\/v2\/comments?post=518"}],"version-history":[{"count":0,"href":"https:\/\/pridio.com\/en\/wp-json\/wp\/v2\/posts\/518\/revisions"}],"wp:attachment":[{"href":"https:\/\/pridio.com\/en\/wp-json\/wp\/v2\/media?parent=518"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pridio.com\/en\/wp-json\/wp\/v2\/tags?post=518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}