{"id":4422,"date":"2018-02-14T06:50:29","date_gmt":"2018-02-14T06:50:29","guid":{"rendered":"https:\/\/www.codebee.co.th\/labs\/?p=4422"},"modified":"2018-02-14T06:53:51","modified_gmt":"2018-02-14T06:53:51","slug":"%e0%b8%a7%e0%b8%b4%e0%b8%98%e0%b8%b5%e0%b8%97%e0%b8%b3%e0%b8%ab%e0%b8%99%e0%b9%89%e0%b8%b2-404-page-not-found-%e0%b9%83%e0%b8%99-codeigniter","status":"publish","type":"post","link":"https:\/\/www.codebee.co.th\/labs\/%e0%b8%a7%e0%b8%b4%e0%b8%98%e0%b8%b5%e0%b8%97%e0%b8%b3%e0%b8%ab%e0%b8%99%e0%b9%89%e0%b8%b2-404-page-not-found-%e0%b9%83%e0%b8%99-codeigniter\/","title":{"rendered":"\u0e27\u0e34\u0e18\u0e35\u0e17\u0e33\u0e2b\u0e19\u0e49\u0e32 404 Page Not Found \u0e43\u0e19 Codeigniter"},"content":{"rendered":"<h1>\u0e27\u0e34\u0e18\u0e35\u0e17\u0e33\u0e2b\u0e19\u0e49\u0e32 404 Page Not Found \u0e43\u0e19 Codeigniter<\/h1>\n<p><\/br><br \/>\n<strong>\u0e27\u0e34\u0e18\u0e35\u0e17\u0e33\u0e2b\u0e19\u0e49\u0e32 404 Page Not Found \u0e43\u0e19 Codeigniter<\/strong><\/p>\n<p>\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e1e\u0e08 Error 404 \u0e2b\u0e21\u0e32\u0e22\u0e04\u0e27\u0e32\u0e21\u0e27\u0e48\u0e32\u0e44\u0e21\u0e48\u0e21\u0e35\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e2b\u0e23\u0e37\u0e2d url \u0e19\u0e31\u0e49\u0e19\u0e2d\u0e22\u0e39\u0e48\u0e1a\u0e19\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e40\u0e23\u0e32 \u0e01\u0e32\u0e23\u0e17\u0e33\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e40\u0e1e\u0e08 Error 404 \u0e43\u0e2b\u0e49 friendly \u0e01\u0e31\u0e1a\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 \u0e19\u0e2d\u0e01\u0e08\u0e32\u0e01\u0e08\u0e30\u0e17\u0e33\u0e43\u0e2b\u0e49\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e14\u0e39\u0e14\u0e35 \u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e19\u0e48\u0e32\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e16\u0e37\u0e2d\u0e41\u0e25\u0e49\u0e27 \u0e22\u0e31\u0e07\u0e0a\u0e48\u0e27\u0e22\u0e40\u0e2a\u0e23\u0e34\u0e21\u0e43\u0e19\u0e14\u0e49\u0e32\u0e19 SEO \u0e2d\u0e35\u0e01\u0e14\u0e49\u0e27\u0e22 \u0e40\u0e1e\u0e23\u0e32\u0e30\u0e41\u0e17\u0e19\u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e08\u0e30\u0e1b\u0e25\u0e48\u0e2d\u0e22\u0e43\u0e2b\u0e49\u0e40\u0e1b\u0e47\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e1b\u0e25\u0e48\u0e32 \u0e46 \u0e01\u0e47\u0e17\u0e33\u0e43\u0e2b\u0e49\u0e40\u0e1b\u0e47\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e17\u0e35\u0e48 Error \u0e41\u0e1a\u0e1a\u0e21\u0e35\u0e2a\u0e44\u0e15\u0e25\u0e4c\u0e2b\u0e19\u0e48\u0e2d\u0e22 \u0e43\u0e2a\u0e48\u0e40\u0e21\u0e19\u0e39 \u0e43\u0e2a\u0e48 Footer \u0e43\u0e2a\u0e48 link \u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e42\u0e22\u0e07 \u0e19\u0e33\u0e17\u0e32\u0e07\u0e41\u0e19\u0e30\u0e19\u0e33\u0e43\u0e2b\u0e49\u0e25\u0e2d\u0e07\u0e44\u0e1b\u0e2b\u0e19\u0e49\u0e32\u0e2d\u0e37\u0e48\u0e19 \u0e46 \u0e17\u0e35\u0e48\u0e2d\u0e32\u0e08\u0e08\u0e30\u0e21\u0e35\u0e40\u0e19\u0e37\u0e49\u0e2d\u0e2b\u0e32\u0e43\u0e01\u0e25\u0e49\u0e40\u0e04\u0e35\u0e22\u0e07\u0e01\u0e31\u0e19<!--more--><\/p>\n<p><\/br><br \/>\n\u0e22\u0e34\u0e48\u0e07\u0e16\u0e49\u0e32\u0e40\u0e23\u0e32\u0e44\u0e14\u0e49\u0e14\u0e39\u0e2a\u0e16\u0e34\u0e15\u0e34\u0e43\u0e19 Google Analytics \u0e41\u0e25\u0e49\u0e27 \u0e1e\u0e1a\u0e27\u0e48\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e40\u0e23\u0e32\u0e21\u0e35\u0e2a\u0e16\u0e34\u0e15\u0e34\u0e01\u0e32\u0e23\u0e40\u0e02\u0e49\u0e32\u0e2b\u0e19\u0e49\u0e32 Error 404 \u0e2d\u0e22\u0e39\u0e48\u0e1a\u0e48\u0e2d\u0e22\u0e04\u0e23\u0e31\u0e49\u0e07 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e44\u0e21\u0e48\u0e43\u0e2b\u0e49\u0e40\u0e1b\u0e47\u0e19\u0e01\u0e32\u0e23\u0e40\u0e2a\u0e35\u0e22\u0e1c\u0e25\u0e1b\u0e23\u0e30\u0e42\u0e22\u0e0a\u0e19\u0e4c \u0e41\u0e19\u0e30\u0e19\u0e33\u0e40\u0e25\u0e22\u0e04\u0e23\u0e31\u0e1a\u0e27\u0e48\u0e32 \u0e15\u0e49\u0e2d\u0e07\u0e2d\u0e2d\u0e01\u0e41\u0e1a\u0e1a\u0e2b\u0e19\u0e49\u0e32 404 \u0e43\u0e2b\u0e49\u0e14\u0e35 \u0e21\u0e35\u0e01\u0e32\u0e23\u0e19\u0e33\u0e17\u0e32\u0e07\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 \u0e40\u0e1b\u0e47\u0e19\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e22\u0e34\u0e48\u0e07<br \/>\n<\/br><\/p>\n<h4>\u0e27\u0e34\u0e18\u0e35\u0e17\u0e33\u0e2b\u0e19\u0e49\u0e32 404 Page Not Found \u0e43\u0e19 Codeigniter<\/h4>\n<ul>\n<li>\u0e1b\u0e01\u0e15\u0e34\u0e41\u0e25\u0e49\u0e27\u0e15\u0e31\u0e27 CI \u0e40\u0e2d\u0e07\u0e08\u0e30\u0e21\u0e35\u0e2b\u0e19\u0e49\u0e32 Default 404 \u0e43\u0e2b\u0e49\u0e40\u0e23\u0e32\u0e2d\u0e22\u0e39\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e0b\u0e36\u0e48\u0e07\u0e08\u0e30\u0e2d\u0e22\u0e39\u0e48\u0e43\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e02\u0e2d\u0e07\n<pre class=\"lang:default decode:true \" >\r\napplication\/views\/errors\/cli\/error_404.php\r\n<\/pre>\n<p>\u0e43\u0e19\u0e44\u0e1f\u0e25\u0e4c\u0e41\u0e15\u0e48\u0e25\u0e30\u0e44\u0e1f\u0e25\u0e4c \u0e41\u0e15\u0e48\u0e25\u0e30 Error \u0e08\u0e30\u0e21\u0e35\u0e15\u0e31\u0e27\u0e41\u0e1b\u0e23 \u0e40\u0e0a\u0e48\u0e19 $heading,$message \u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e08\u0e30\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e41\u0e01\u0e49\u0e44\u0e02\u0e44\u0e14\u0e49\u0e17\u0e35\u0e48\u0e44\u0e1f\u0e25\u0e4c<\/p>\n<pre class=\"lang:default decode:true \" >\r\nsystem\/core\/Exceptions.php\r\n<\/pre>\n<li>\n<li>\u0e17\u0e35\u0e19\u0e35\u0e49\u0e16\u0e49\u0e32\u0e40\u0e23\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07 Controller \u0e41\u0e25\u0e30 View \u0e41\u0e1a\u0e1a\u0e1b\u0e23\u0e31\u0e1a\u0e41\u0e15\u0e48\u0e07\u0e40\u0e2d\u0e07\u0e42\u0e14\u0e22\u0e44\u0e21\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e44\u0e1b\u0e22\u0e38\u0e48\u0e07\u0e40\u0e01\u0e35\u0e48\u0e22\u0e27\u0e01\u0e31\u0e1a\u0e44\u0e1f\u0e25\u0e4c\u0e23\u0e30\u0e1a\u0e1a\u0e02\u0e2d\u0e07 CI \u0e40\u0e23\u0e32\u0e01\u0e47\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e17\u0e33\u0e44\u0e14\u0e49 \u0e42\u0e14\u0e22\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07 Controller \u0e41\u0e25\u0e30 View \u0e1b\u0e01\u0e15\u0e34 \u0e40\u0e0a\u0e48\u0e19\n<pre class=\"lang:default decode:true \" >application\/controllers\/Notfound.php<\/pre>\n<pre class=\"lang:default decode:true \" >class Notfound extends MY_Controller {\r\n\tpublic function __construct() {\r\n        parent::__construct();\r\n    }\r\n\tpublic function index()\r\n\t{\r\n\t\t$this-&gt;load-&gt;view('notfound_view',$this-&gt;PAGE);\r\n\t}\r\n}<\/pre>\n<p>\u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e01\u0e47\u0e2a\u0e23\u0e49\u0e32\u0e07 notfound_view.php \u0e15\u0e32\u0e21\u0e1b\u0e01\u0e15\u0e34 \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e44\u0e14\u0e49\u0e40\u0e21\u0e18\u0e2d\u0e14\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e41\u0e2a\u0e14\u0e07\u0e1c\u0e25\u0e2b\u0e19\u0e49\u0e32 Error 404 \u0e40\u0e23\u0e35\u0e22\u0e1a\u0e23\u0e49\u0e2d\u0e22\u0e41\u0e25\u0e49\u0e27 \u0e43\u0e2b\u0e49\u0e40\u0e1b\u0e34\u0e14\u0e44\u0e1f\u0e25\u0e4c <\/p>\n<pre class=\"lang:default decode:true \" >application\/config\/routes.php <\/pre>\n<p>\u0e41\u0e25\u0e30\u0e43\u0e2a\u0e48\u0e40\u0e21\u0e18\u0e2d\u0e14\u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e43\u0e2b\u0e49\u0e41\u0e2a\u0e14\u0e07\u0e1c\u0e25\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e40\u0e02\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e40\u0e23\u0e32\u0e41\u0e25\u0e49\u0e27\u0e44\u0e21\u0e48\u0e40\u0e08\u0e2d\u0e2b\u0e19\u0e49\u0e32\u0e19\u0e31\u0e49\u0e19\u0e17\u0e35\u0e48\u0e15\u0e31\u0e27\u0e41\u0e1b\u0e23 404_override \u0e43\u0e19\u0e17\u0e35\u0e48\u0e19\u0e35\u0e49\u0e01\u0e47\u0e04\u0e37\u0e2d Controller Notfound \u0e14\u0e31\u0e07\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e14\u0e49\u0e32\u0e19\u0e25\u0e48\u0e32\u0e07<\/p>\n<pre class=\"lang:default decode:true \" >$route['404_override'] = 'notfound';<\/pre>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0e27\u0e34\u0e18\u0e35\u0e17\u0e33\u0e2b\u0e19\u0e49\u0e32 404 Page Not Found \u0e43\u0e19 Codeigniter \u0e27\u0e34\u0e18\u0e35\u0e17\u0e33\u0e2b\u0e19\u0e49\u0e32 404 Page Not Found \u0e43\u0e19 Codeigniter \u0e2b\u0e19\u0e49\u0e32\u0e40\u0e1e\u0e08 Error 404 \u0e2b\u0e21\u0e32\u0e22\u0e04\u0e27\u0e32\u0e21\u0e27\u0e48\u0e32\u0e44\u0e21\u0e48\u0e21\u0e35\u0e2b\u0e19\u0e49\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e2b\u0e23\u0e37\u0e2d url \u0e19\u0e31\u0e49\u0e19\u0e2d\u0e22\u0e39\u0e48\u0e1a\u0e19\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e40\u0e23\u0e32&#8230;<\/p>\n","protected":false},"author":1,"featured_media":4424,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"video","meta":{"footnotes":""},"categories":[168,46],"tags":[1841,1842,1840,1843,1839],"class_list":["post-4422","post","type-post","status-publish","format-video","has-post-thumbnail","hentry","category--php-codeigniter-framework","category-website-development-","tag-ci-error-404","tag-ci-page-not-found","tag-codeigniter-404","tag-codeigniter-error-404","tag--404-page-not-found","post_format-post-format-video"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/posts\/4422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/comments?post=4422"}],"version-history":[{"count":4,"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/posts\/4422\/revisions"}],"predecessor-version":[{"id":4427,"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/posts\/4422\/revisions\/4427"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/media\/4424"}],"wp:attachment":[{"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/media?parent=4422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/categories?post=4422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codebee.co.th\/labs\/wp-json\/wp\/v2\/tags?post=4422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}