\u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u0432\u043b\u043e\u0436\u0435\u043d\u0438\u0439<\/a>. \u0410 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0435\u0449\u0451 \u043e\u0431 \u043e\u0434\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435.<\/p>\n<\/p>\n
\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u043d\u0430 \u0432\u0430\u0448\u0435\u043c \u0431\u043b\u043e\u0433\u0435 \u043f\u043e\u0434 WP \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a \u0430\u0434\u0440\u0435\u0441\u0443 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u0438 \u0438\u043b\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u043e\u0441\u043b\u0435 \u0441\u043b\u044d\u0448\u0430 \u043b\u044e\u0431\u043e\u0435 \u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e.<\/p>\n
\u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u043a\u00a0\u0430\u0434\u0440\u0435\u0441\u0443 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u0441\u0442\u0430\u0442\u0435\u0439 \u043d\u0430 shra.ru<\/p>\n
shra.ru\/2017\/01\/razbit-slovo-na-bukvy-v-php\/<\/pre>\n\u0414\u043e\u0431\u0430\u0432\u0438\u043c \/1000<\/p>\n
shra.ru\/2017\/01\/razbit-slovo-na-bukvy-v-php\/1000<\/pre>\n\u0427\u0442\u043e \u043e\u0436\u0438\u0434\u0430\u0435\u0442\u0441\u044f? \u042f \u0441\u0447\u0438\u0442\u0430\u043b, \u0447\u0442\u043e WP \u043f\u043e\u043a\u0430\u0436\u0435\u0442 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 404. \u041d\u043e \u043d\u0435\u0442, \u043e\u043d \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0442\u0443 \u0436\u0435 \u0441\u0430\u043c\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044f \u043a\u043e\u0434 200. \u0415\u0441\u043b\u0438 \u0431\u044b \u043d\u0435 \u043a\u0430\u043d\u043e\u043d\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0441\u044b\u043b\u043a\u0430 \u0432 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0435 HTML, \u0442\u043e \u043c\u044b \u0431\u044b \u0438\u043c\u0435\u043b\u0438 \u0434\u0443\u0431\u043b\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b. \u0412\u0435\u0440\u043d\u0435\u0435, \u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0434\u0443\u0431\u043b\u0435\u0439.<\/p>\n
<link rel=\"canonical\" href=\"\/\/shra.ru\/2017\/01\/otklyuchenie-stranicy-vlozheniya-v-wordpress\/\" \/><\/pre>\n\u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u0442\u0430\u043a\u0438\u0435 \u0434\u0443\u0431\u043b\u0438 \u043a\u0430\u043a\u0438\u043c \u0442\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u043e\u043f\u0430\u043b\u0438 \u0432 \u0438\u043d\u0434\u0435\u043a\u0441 \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b?<\/p>\n
\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c HTTP \u043a\u043e\u0434 404 \u0434\u043b\u044f \u0434\u0443\u0431\u043b\u0435\u0439<\/h2>\n
\u0421\u043c\u044b\u0441\u043b \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0438 \u043a \u043d\u0435\u043a\u0430\u043d\u043e\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u043c\u0443 \u0430\u0434\u0440\u0435\u0441\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c 404 \u043a\u043e\u0434\u043e\u043c.<\/p>\n
\u042f \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b \u0437\u0430\u0446\u0435\u043f\u043a\u0443 \u043a template_redirect<\/em> \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b All in One SeoPack<\/em>\u00a0\u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043a\u0430\u043d\u043e\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u0434\u0440\u0435\u0441\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b.<\/p>\nadd_action( 'template_redirect', function() {\r\n global $wp_query, $aiosp;\r\n \r\n if (!empty($aiosp)) {\r\n \/\/\u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043a\u0430\u043d\u043e\u043d\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0441\u0441\u044b\u043b\u043a\u0443\r\n \/\/\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u0437\u044f\u043b \u043a\u0443\u0441\u043e\u043a \u0438\u0437 \u043c\u043e\u0434\u0443\u043b\u044f AIOS\r\n $url = '';\r\n if ( ! empty( $aioseop_options['aiosp_customize_canonical_links'] ) \r\n && !empty( $opts['aiosp_custom_link'] ) ) {\r\n $url = $opts['aiosp_custom_link'];\r\n }\r\n \r\n if ( empty( $url ) ) {\r\n $url = $aiosp->aiosp_mrt_get_url( $wp_query, $show_page );\r\n }\r\n\r\n $url = $aiosp->validate_url_scheme( $url );\r\n $url = apply_filters( 'aioseop_canonical_url', $url );\r\n \r\n \/\/\u0437\u0434\u0435\u0441\u044c \u044f \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u044e, \u0447\u0442\u043e \u0441\u0441\u044b\u043b\u043a\u0430 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043a\u0430\u043d\u043e\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0439,\r\n \/\/\u0438\u043c\u0435\u0435\u0442 \u0432\u0438\u0434 - url\/%\u0446\u0435\u043b\u043e\u0435 \u0447\u0438\u0441\u043b\u043e%\r\n \/\/\u0438 \u044d\u0442\u043e \u043d\u0435 \u0441\u043b\u0443\u0447\u0430\u0439 \"\u043f\u0430\u0433\u0438\u043d\u0430\u0446\u0438\u0438\"\r\n if ( ! empty($url) && ($canonical = parse_url($url)) \r\n && !preg_match('#\/page\/[\\d]+\/?$#ismu', $_SERVER['REQUEST_URI'])) {\r\n\r\n list($requestred) = explode('?', $_SERVER['REQUEST_URI']);\r\n \/\/\u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0432\u044b\u0434\u0430\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0441 \u043a\u043e\u0434\u043e\u043c 404\r\n if ($requestred != $canonical['path']) {\r\n header(\"Status: 404 Not Found\");\r\n $wp_query->set_404();\r\n status_header(404);\r\n nocache_headers(); \r\n }\r\n }\r\n }\r\n} );<\/pre>\n\u0421\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u0441 \u0442\u0430\u043a\u0438\u043c\u0438 \u0434\u0443\u0431\u043b\u044f\u043c\u0438 \u0432\u0435\u0441\u044c\u043c\u0430 \u0440\u0435\u0434\u043a\u0430\u044f. \u041e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0435 \u0432\u044b\u044f\u0441\u043d\u0435\u043d\u043d\u044b\u043c, \u043f\u043e\u0447\u0435\u043c\u0443 WP \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0430\u0434\u0440\u0435\u0441\u0430, \u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u044f 404 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443? \u041c\u043e\u0436\u0435\u0442 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u043e\u0442\u0432\u0435\u0442? :)<\/p>\n","protected":false},"excerpt":{"rendered":"
\u0412 WordPress \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0435 \u043c\u0430\u043b\u043e \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442\u043e\u0432 \u043c\u0430\u0440\u0448\u0440\u0443\u0442\u0438\u0437\u0430\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0437\u0434\u0430\u044e\u0442 \u0433\u043e\u043b\u043e\u0432\u043d\u0443\u044e \u0431\u043e\u043b\u044c SEO-\u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0441\u0442\u0430\u043c. \u042f \u0443\u0436\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u043b \u043d\u0430 \u0434\u043d\u044f\u0445 \u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445 \u0432\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u0410 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0435\u0449\u0451 \u043e\u0431 \u043e\u0434\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,10],"tags":[],"class_list":["post-9015","post","type-post","status-publish","format-standard","hentry","category-seo","category-wordpress"],"acf":[],"yoast_head":"\n
\u041c\u0443\u0441\u043e\u0440\u043d\u044b\u0435 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0432 Wordpress<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n