{"id":27030,"date":"2017-07-14T08:02:13","date_gmt":"2017-07-13T23:02:13","guid":{"rendered":"http:\/\/www.sejuku.net\/blog\/?p=27030"},"modified":"2024-05-06T11:43:53","modified_gmt":"2024-05-06T02:43:53","slug":"%e3%80%90cakephp%e5%85%a5%e9%96%80%e3%80%91redirect%e3%81%a7%e4%bb%96%e3%81%ae%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%b8%e8%bb%a2%e9%80%81%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/27030","title":{"rendered":"\u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\/header)"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u306e\u30ce\u30e0\u30e9\u3067\u3059\u3002<\/p>\n<p><span style=\"color: #339966;\"><strong>redirect<\/strong><\/span>\u3063\u3066\u4f7f\u3063\u3066\u307e\u3059\u304b\uff1f<\/p>\n<p>redirect\u306f\u51e6\u7406\u304c\u7d42\u308f\u3063\u305f\u5f8c\u306b\u30c8\u30c3\u30d7(index)\u30da\u30fc\u30b8\u3078\u623b\u308b\u5834\u5408\u306a\u3069\u306b\u3088\u304f\u4f7f\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<span style=\"color: #339966;\"><strong>redirect<\/strong><\/span>\u306b\u3064\u3044\u3066<\/p>\n<ul>\n<li><span style=\"color: #ff0000;\"><strong>redirect\u3068\u306f<\/strong><\/span><\/li>\n<li><span style=\"color: #ff0000;\"><strong>PHP\u3067\u306eredirect<\/strong><\/span><\/li>\n<li><span style=\"color: #ff0000;\"><strong>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8(redirect)\u306e\u4f7f\u3044\u65b9<\/strong><\/span><\/li>\n<\/ul>\n<p>\u3068\u3044\u3046\u57fa\u672c\u7684\u306a\u5185\u5bb9\u304b\u3089\u3001<\/p>\n<ul>\n<li><span style=\"color: #ff0000;\"><strong>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8(redirect)\u306e\u305d\u306e\u4ed6\u306e\u4f7f\u3044\u65b9<\/strong><\/span><\/li>\n<\/ul>\n<p>\u306a\u3069\u5fdc\u7528\u7684\u306a\u5185\u5bb9\u306b\u3064\u3044\u3066\u3082\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306fredirect\u306b\u3064\u3044\u3066\u3001\u4f7f\u3044\u65b9\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u307e\u3059\uff01<\/p>\n<h2>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8(redirect)\u3068\u306f<\/h2>\n<p><span style=\"color: #339966;\"><strong>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8<\/strong><\/span>\u3068\u306f\u3001<span style=\"color: #ff0000;\"><strong>\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3068\u304d\u306b\u5225\u306e\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u6a5f\u80fd<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<p>PHP\u3067\u306f<span style=\"color: #339966;\"><strong>header\u95a2\u6570<\/strong><\/span>\u3001CakePHP\u3067\u306f<span style=\"color: #339966;\"><strong>redirect\u95a2\u6570<\/strong><\/span>\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>PHP\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8(header\u95a2\u6570)<\/h3>\n<p>PHP\u3067\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u4f7f\u308f\u305a\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u884c\u3046\u5834\u5408\u306f\u3001<span style=\"color: #339966;\"><strong>header\u95a2\u6570\u306e&#8221;Location:&#8221; \u30d8\u30c3\u30c0<\/strong><\/span>\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u4e0a\u90e8<\/strong><\/span>\u306b\u3001\u9077\u79fb\u3057\u305f\u3044URL\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \">&lt;?php\n    header('Location: https:\/\/www.sejuku.net\/blog\/');\n    exit();\n?&gt;<\/pre>\n<p><span style=\"color: #339966;\"><strong>exit()<\/strong><\/span>\u3067\u3001\u305d\u308c\u3088\u308a\u4e0b\u306b\u3042\u308b\u51e6\u7406\u3092\u3001<span style=\"color: #0000ff;\"><strong>\u30da\u30fc\u30b8\u9077\u79fb\u5f8c\u306b\u884c\u308f\u306a\u3044<\/strong><\/span>\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3053\u306e\u3042\u3068\u89e3\u8aac\u3059\u308bCakePHP\u306e<span style=\"color: #339966;\"><strong>redirect\u95a2\u6570<\/strong><\/span>\u3067\u306f\u3001\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3068\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u3066\u7c21\u5358\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001<span style=\"color: #0000ff;\"><strong>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u5148\u306b\u5024\u3092\u6e21\u3059<\/strong><\/span>\u3053\u3068\u3084\u3001<span style=\"color: #0000ff;\"><strong>\u30af\u30a8\u30ea\u30fc\u6587\u5b57\u3084\u30cf\u30c3\u30b7\u30e5\u3092\u4f7f\u3046<\/strong><\/span>\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u3069\u3093\u306a\u3068\u304d\u306b\u4f7f\u3046\u306e\u304b<\/h3>\n<p>\u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u6642\u3001\u5225\u30da\u30fc\u30b8\u306b\u3068\u3070\u3055\u308c\u3066\u3057\u307e\u3046\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u3059\u304c\u3001\u5b9f\u969b\u306e\u30b7\u30b9\u30c6\u30e0\u3067\u306f\u3069\u306e\u3088\u3046\u306a\u5834\u9762\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u306e\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<p>\u5177\u4f53\u7684\u306a\u4f8b\u3068\u3057\u3066\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5834\u5408\u306b\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>1\uff0e\u30ed\u30b0\u30a4\u30f3\u753b\u9762\u3078\u306e\u8a98\u5c0e<\/strong><\/p>\n<p>\u30ed\u30b0\u30a4\u30f3\u3057\u306a\u3051\u308c\u3070\u898b\u308c\u306a\u3044\u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3088\u3046\u3068\u3057\u305f\u969b\u306f\u3001<span style=\"color: #0000ff;\"><strong>\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u306a\u304b\u3063\u305f\u5834\u5408\u306b\u30ed\u30b0\u30a4\u30f3\u753b\u9762\u3078\u9077\u79fb<\/strong><\/span>\u3059\u308b\u3088\u3046\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u51e6\u7406\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p><strong>2\uff0e\u65b0\u3057\u3044\u30b5\u30a4\u30c8URL\u306b\u8a98\u5c0e<\/strong><\/p>\n<p>WEB\u30b5\u30a4\u30c8\u3092\u65b0\u3057\u304f\u3057\u305f\u969b\u3001\u53e4\u3044URL\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u4eba\u3092<span style=\"color: #0000ff;\"><strong>\u65b0\u3057\u3044\u30b5\u30a4\u30c8\u306b\u9077\u79fb<\/strong><\/span>\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u3068\u304d\u3082\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><strong>3\uff0e\u51e6\u7406\u304c\u7d42\u308f\u3063\u305f\u5f8c\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3078\u623b\u308b<\/strong><\/p>\n<p>\u30e6\u30fc\u30b6\u306e\u767b\u9332\u6642\u306b\u5fc5\u8981\u306a\u60c5\u5831\u3092\u5165\u529b\u3057\u3001\u767b\u9332\u304c\u6b63\u5e38\u306b\u5b8c\u4e86\u3057\u305f\u5834\u5408\u3001<span style=\"color: #0000ff;\"><strong>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u9077\u79fb<\/strong><\/span>\u3059\u308b\u5834\u5408\u306a\u3069\u3082\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u4f7f\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u4ed6\u306b\u3082\u3001\u308f\u305f\u3057\u305f\u3061\u304c\u610f\u8b58\u3057\u3066\u3044\u306a\u3044\u3068\u3053\u308d\u3067\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u304c\u4f7f\u308f\u308c\u3066\u3044\u308b\u5834\u9762\u304c\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8(redirect)\u306e\u4f7f\u3044\u65b9<\/h2>\n<p>redirect\u95a2\u6570\u306f\u5f15\u6570\u306b\u9023\u60f3\u914d\u5217\u3092\u3068\u308a\u3001\u9023\u60f3\u914d\u5217\u5185\u3067\u8ee2\u9001\u5148\u306e<span style=\"color: #339966;\"><strong>controller<\/strong><\/span>\u3084<span style=\"color: #339966;\"><strong>action<\/strong><\/span>\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9<\/h3>\n<p>redirect\u95a2\u6570\u306f<span style=\"color: #339966;\"><strong>AppController<\/strong><\/span>\u30af\u30e9\u30b9\u3092\u7d99\u627f\u3057\u305f\u30af\u30e9\u30b9\u5185\u3067\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>redirect\u95a2\u6570\u3092\u4f7f\u3046\u5834\u5408\u306f\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<p><strong>redirect\u95a2\u6570\u306e\u8a18\u8ff0\u65b9\u6cd5\uff1a<\/strong><\/p>\n<pre class=\"decode:true \">return $this-&gt;redirect(['controller' =&gt; '\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u540d', 'action' =&gt; '\u30a2\u30af\u30b7\u30e7\u30f3\u540d']);<\/pre>\n<p>\u305d\u308c\u3067\u306f\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u78ba\u8a8d\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u300cCakePHP 3.4 Red Velvet Cookbook\u300d\u30b5\u30a4\u30c8\u5185\u306e\u300c<span style=\"color: #0000ff;\">\u30d6\u30ed\u30b0\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb<\/span>\u300d\u306b\u6cbf\u3063\u3066\u4f5c\u6210\u3055\u308c\u305fblog\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u203b\u7de8\u96c6\u90e8\u6ce8\u203b<br \/>\n2019\u5e74\u73fe\u5728\u3001CakePHP\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u304c3.7\u306b\u4e0a\u304c\u308a\u307e\u3057\u305f\u304c\u3001\u540c\u69d8\u306e\u30d6\u30ed\u30b0\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u304c\u63b2\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u30a2\u30d7\u30ea\u306e\u540d\u79f0\u3092blog\u3068\u3057\u3066\u3001CakePHP\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u95a2\u4fc2\u3067\u3001\u30a2\u30d7\u30ea\u306e\u5b9f\u884cURL\u306f\u30c9\u30e1\u30a4\u30f3\/CakePHP\u306e\u30d1\u30b9\/blog\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u3001\u30a2\u30d7\u30ea\u306e\u5b9f\u884c\u30a2\u30c9\u30ec\u30b9\u3092\u5b9f\u884c\u7d50\u679c URL\u300c\/blog\u300d\u306e\u3088\u3046\u306b\u8868\u8a18\u3057\u307e\u3059\u306e\u3067\u3001\u3054\u4e86\u627f\u304f\u3060\u3055\u3044\u3002<br \/>\n\u203b\u7de8\u96c6\u90e8\u6ce8\u203b<\/p>\n<p>\u53c2\u7167\uff1aCakePHP\u30d6\u30ed\u30b0\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb <a href=\"https:\/\/book.cakephp.org\/3.0\/ja\/tutorials-and-examples\/blog\/blog.html\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/book.cakephp.org\/3.0\/ja\/tutorials-and-examples\/blog\/blog.html<\/a><\/p>\n<p>\u30c6\u30fc\u30d6\u30eb\u300carticles\u300d\u3092\u4f5c\u6210\u5f8c\u3001<span style=\"color: #339966;\"><strong>bake<\/strong><\/span>\u3067<span style=\"color: #339966;\"><strong>model<\/strong><\/span>\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>SQL\u30af\u30a8\u30ea\uff1a<\/strong><\/p>\n<pre class=\"decode:true \">CREATE TABLE articles (\n    id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,\n    title VARCHAR(50),\n    body TEXT,\n    created DATETIME DEFAULT NULL,\n    modified DATETIME DEFAULT NULL\n);\n\n\/*\u30c6\u30b9\u30c8\u7528\u8a18\u4e8b*\/\nINSERT INTO articles (title,body,created)\n    VALUES ('\u30bf\u30a4\u30c8\u30eb', '\u3053\u308c\u306f\u3001\u8a18\u4e8b\u306e\u672c\u6587\u3067\u3059\u3002', NOW());\nINSERT INTO articles (title,body,created)\n    VALUES ('\u307e\u305f\u30bf\u30a4\u30c8\u30eb', '\u305d\u3053\u306b\u672c\u6587\u304c\u7d9a\u304d\u307e\u3059\u3002', NOW());\nINSERT INTO articles (title,body,created)\n    VALUES ('\u30bf\u30a4\u30c8\u30eb\u306e\u9006\u8972', '\u3053\u308a\u3083\u672c\u5f53\u306b\u308f\u304f\u308f\u304f\u3059\u308b\uff01\u3046\u305d\u3002', NOW());\n\n<\/pre>\n<p><strong>bake\u306e\u5b9f\u884c\u4f8b(linux)\uff1a<\/strong><\/p>\n<pre class=\"decode:true \">bin\/cake bake model articles<\/pre>\n<p>\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u300csrc\/Controller\/ArticlesController.php\u300d\u306b\u8a18\u8ff0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #339966;\"><strong>bake<\/strong><\/span>\u3067 ArticlesController \u30af\u30e9\u30b9\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>bake\u306e\u5b9f\u884c\u4f8b(linux)\uff1a<\/strong><\/p>\n<pre class=\"decode:true \">bin\/cake bake controller articles\n<\/pre>\n<p><b>src\/Controller\/ArticlesController.php\uff1a<\/b><\/p>\n<pre class=\"decode:true \">&lt;?php\nnamespace AppController;\n\nuse AppControllerAppController;\n\nclass ArticlesController extends AppController\n{\n\n    public function index()\n    {\n        $this-&gt;set('articles', $this-&gt;Articles-&gt;find('all'));\n    }\n\n    public function view($id = null)\n    {\n        $this-&gt;set('article', $this-&gt;Articles-&gt;get($id));\n        \n        if ($this-&gt;request-&gt;is('post')) {\n            return $this-&gt;redirect(['action' =&gt; 'index']);\n        }\n    }\n}\n<\/pre>\n<p><strong>src\/Template\/Articles\/index.ctp\uff1a<\/strong><\/p>\n<pre class=\"decode:true \">&lt;h1&gt;Blog articles&lt;\/h1&gt;\n&lt;table&gt;\n    &lt;tr&gt;\n        &lt;th&gt;Id&lt;\/th&gt;\n        &lt;th&gt;Title&lt;\/th&gt;\n        &lt;th&gt;Created&lt;\/th&gt;\n    &lt;\/tr&gt;\n\n    &lt;?php foreach ($articles as $article): ?&gt;\n    &lt;tr&gt;\n        &lt;td&gt;&lt;?= $article-&gt;id ?&gt;&lt;\/td&gt;\n        &lt;td&gt;\n            &lt;?= $this-&gt;Html-&gt;link($article-&gt;title, ['action' =&gt; 'view', $article-&gt;id]) ?&gt;\n        &lt;\/td&gt;\n        &lt;td&gt;\n            &lt;?= $article-&gt;created-&gt;format(DATE_RFC850) ?&gt;\n        &lt;\/td&gt;\n    &lt;\/tr&gt;\n    &lt;?php endforeach; ?&gt;\n&lt;\/table&gt;<\/pre>\n<p><strong>src\/Template\/Articles\/view.ctp\uff1a<\/strong><\/p>\n<pre class=\"decode:true \">&lt;h1&gt;&lt;?= h($article-&gt;title) ?&gt;&lt;\/h1&gt;\n&lt;p&gt;&lt;?= h($article-&gt;body) ?&gt;&lt;\/p&gt;\n&lt;p&gt;&lt;small&gt;Created: &lt;?= $article-&gt;created-&gt;format(DATE_RFC850) ?&gt;&lt;\/small&gt;&lt;\/p&gt;\n\n&lt;?php\n    \/\/ FormHelper\u3092\u4f7f\u3063\u305fReturn\u30dc\u30bf\u30f3\u306e\u4f5c\u6210\n    echo $this-&gt;Form-&gt;create();\n    echo $this-&gt;Form-&gt;button(__('Return'));\n    echo $this-&gt;Form-&gt;end();\n?&gt;<\/pre>\n<p>\u30eb\u30fc\u30c8\u306e\u8a2d\u5b9a\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<p><strong>config\/routes.php\uff1a<\/strong><\/p>\n<pre class=\"decode:true \">&lt;?php\n\nuse CakeRoutingRouteBuilder;\nuse CakeRoutingRouter;\nuse CakeRoutingRouteDashedRoute;\n\nRouter::scope('\/', function (RouteBuilder $routes) {\n    \/\/ \u30eb\u30fc\u30c8\u306e\u8a2d\u5b9a\n    $routes-&gt;connect('\/', ['controller' =&gt; 'Articles', 'action' =&gt; 'index']);\n\n    $routes-&gt;fallbacks(DashedRoute::class);\n});<\/pre>\n<p><strong>\u5b9f\u884c\u7d50\u679c URL\u300c\/blog\u300d\uff1a<\/strong><\/p>\n<p><img decoding=\"async\" class=\"size-large wp-image-27043 aligncenter\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/20170711index-640x249.jpg\" alt=\"20170711index\" width=\"640\" height=\"249\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/20170711index-640x249.jpg 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/20170711index-150x58.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/20170711index-300x117.jpg 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/20170711index.jpg 710w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>\u5b9f\u884c\u7d50\u679c URL\u300c\/blog\/articles\/view\/1\u300d\uff1a<\/strong><\/p>\n<p><img decoding=\"async\" class=\"size-large wp-image-27041 aligncenter\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/20170711view1-640x279.jpg\" alt=\"20170711view1\" width=\"640\" height=\"279\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/20170711view1-640x279.jpg 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/20170711view1-150x65.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/20170711view1-300x131.jpg 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/20170711view1.jpg 645w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001URL\u300c\/blog\u300d\u3067\u5404\u30d6\u30ed\u30b0\u306e\u30bf\u30a4\u30c8\u30eb\u540d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u5404\u30d6\u30ed\u30b0\u306eview\u30da\u30fc\u30b8\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d6\u30ed\u30b0\u306e\u5404view\u30da\u30fc\u30b8\u3067Return\u30dc\u30c0\u30f3\u3092\u62bc\u3059\u3068\u3001<span style=\"color: #339966;\"><strong>redirect\u95a2\u6570<\/strong><\/span>\u306e\u5f15\u6570\u306e\u8a2d\u5b9a\u306b\u3088\u308aURL\u300c\/blog\u300d\u306b\u8ee2\u9001\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001URL\u306e\u5148\u982d\u304c\u300chttps:\/\/\u300d\u306e\u3088\u3046\u306bSSL\u306b\u3088\u308a\u6697\u53f7\u5316\u3055\u308c\u308b\u5834\u5408\u306f<span style=\"color: #ff0000;\"><strong>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u969b\u306b\u30b5\u30a4\u30c8\u304c\u8868\u793a\u3055\u308c\u305a\u30a8\u30e9\u30fc\u304c\u8868\u793a<\/strong><\/span>\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u5834\u5408\u306f\u3001\u5f8c\u8ff0\u306e<span style=\"color: #0000ff;\"><strong>\u7d76\u5bfeURL\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5\u3067\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u5148\u3092\u6307\u5b9a<\/strong><\/span>\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u6ce8\u610f\u3057\u3066\u4e0b\u3055\u3044\uff01<\/p>\n<p>\u307e\u305f\u3001\u5148\u307b\u3069<span style=\"color: #339966;\"><strong>bake<\/strong><\/span>\u3067<span style=\"color: #339966;\"><strong>model<\/strong><\/span>\u3084<span style=\"color: #339966;\"><strong>controller<\/strong><\/span>\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><span style=\"color: #339966;\"><strong>bake<\/strong><\/span>\u306e\u8a73\u3057\u3044\u8aac\u660e\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/26423\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/image2-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010CakePHP\u5165\u9580\u3011bake\u306e\u4f7f\u3044\u65b9<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<p>\u300csrc\/Template\/Articles\/view.ctp\u300d\u3067\u306f<span style=\"color: #339966;\"><strong>FormHelper<\/strong><\/span>\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #339966;\"><strong>FormHelper<\/strong><\/span>\u306e\u8a73\u3057\u3044\u8aac\u660e\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/26279\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/image-1-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010CakePHP\u5165\u9580\u3011\u30d5\u30a9\u30fc\u30e0\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5(FormHelper)<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h3>action\u306b\u30c7\u30fc\u30bf\u3092\u6e21\u3059\u65b9\u6cd5<\/h3>\n<p>redirect\u95a2\u6570\u3092\u4f7f\u3063\u3066<span style=\"color: #339966;\"><strong>action<\/strong><\/span>\u306b<span style=\"color: #0000ff;\"><strong>\u30c7\u30fc\u30bf\u3092\u6e21\u3059<\/strong><\/span>\u305f\u3081\u306e\u8a18\u8ff0\u65b9\u6cd5\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30a2\u30af\u30b7\u30e7\u30f3\u306bid\u30c7\u30fc\u30bf\u3092\u6e21\u3059\u8a18\u8ff0\u65b9\u6cd5\uff1a<\/p>\n<pre class=\"decode:true \">return $this-&gt;redirect(['action' =&gt; '\u30a2\u30af\u30b7\u30e7\u30f3\u540d', $id]);<\/pre>\n<p>\u305d\u308c\u3067\u306f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u78ba\u8a8d\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><strong>src\/Controller\/ArticlesController.php\uff1a<\/strong><\/p>\n<pre class=\"decode:true \">&lt;?php\nnamespace AppController;\n\nuse AppControllerAppController;\n\nclass ArticlesController extends AppController\n{\n\n    public function index()\n    {\n        $this-&gt;set('articles', $this-&gt;Articles-&gt;find('all'));\n    }\n\n    public function view($id = null)\n    {\n        $this-&gt;set('article', $this-&gt;Articles-&gt;get($id));\n        \n        if ($this-&gt;request-&gt;is('post')) {\n            return $this-&gt;redirect(['action' =&gt; 'view', 3]);\n        }\n    }\n}<\/pre>\n<p><strong>\u5b9f\u884c\u7d50\u679c URL\u300c\/blog\/articles\/view\/3\u300d\uff1a<\/strong><\/p>\n<p><img decoding=\"async\" class=\"size-large wp-image-27045 aligncenter\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/20170711view3-640x276.jpg\" alt=\"20170711view3\" width=\"640\" height=\"276\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/20170711view3-640x276.jpg 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/20170711view3-150x65.jpg 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/20170711view3-300x129.jpg 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/20170711view3.jpg 651w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001redirect\u95a2\u6570\u306e\u5f15\u6570\u306e\u9023\u60f3\u914d\u5217\u5185\u306e\u8981\u7d20\u306b\u300c3\u300d\u3092\u8a18\u8ff0\u3057\u3001\u30a2\u30af\u30b7\u30e7\u30f3\u300cview\u300d\u306bid\u30c7\u30fc\u30bf\u300c3\u300d\u3092\u6e21\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30d6\u30ed\u30b0\u306e\u5404view\u30da\u30fc\u30b8\u3067Return\u30dc\u30c0\u30f3\u3092\u62bc\u3059\u3068\u3001redirect\u95a2\u6570\u306e\u5f15\u6570\u306e\u8a2d\u5b9a\u306b\u3088\u308aURL\u300c\/blog\/articles\/view\/3\u300d\u306b\u8ee2\u9001\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u5f15\u6570\u306b\u76f8\u5bfe\u30d1\u30b9\u3084\u7d76\u5bfe\u30d1\u30b9\u3092\u6307\u5b9a\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>redirect\u95a2\u6570\u306f\u5f15\u6570\u306b<span style=\"color: #0000ff;\"><strong>\u76f8\u5bfe\u30d1\u30b9<\/strong><\/span>\u307e\u305f\u306f<span style=\"color: #0000ff;\"><strong>\u7d76\u5bfe\u30d1\u30b9<\/strong><\/span>\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><strong>src\/Controller\/ArticlesController.php:<\/strong><\/p>\n<pre class=\"decode:true \">&lt;?php\nnamespace AppController;\n\nuse AppControllerAppController;\n\nclass ArticlesController extends AppController\n{\n\n    public function index()\n    {\n        $this-&gt;set('articles', $this-&gt;Articles-&gt;find('all'));\n    }\n\n    public function view($id = null)\n    {\n        $this-&gt;set('article', $this-&gt;Articles-&gt;get($id));\n        \n        if ($this-&gt;request-&gt;is('post')) {\n            return $this-&gt;redirect('\/articles');\n        }\n    }\n}<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001redirect\u95a2\u6570\u306e\u5f15\u6570\u306b\u76f8\u5bfeURL\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30d6\u30ed\u30b0\u306e\u5404view\u30da\u30fc\u30b8\u3067Return\u30dc\u30c0\u30f3\u3092\u62bc\u3059\u3068\u3001redirect\u95a2\u6570\u306e\u5f15\u6570\u306e\u8a2d\u5b9a\u306b\u3088\u308aURL\u300c\/blog\/articles\u300d\u306b\u8ee2\u9001\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u7d76\u5bfeURL\u3092\u4f7f\u3063\u305f\u30b5\u30f3\u30d7\u30eb\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002Return\u30dc\u30c0\u30f3\u3092\u62bc\u3059\u3068\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u8ee2\u9001\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001URL\u306e\u5148\u982d\u304c\u300chttps:\/\/\u300d\u306e\u3088\u3046\u306b<span style=\"color: #0000ff;\"><strong>SSL\u306b\u3088\u308a\u6697\u53f7\u5316\u3055\u308c\u308b\u30b5\u30a4\u30c8\u3078\u30ea\u30c0\u30a4\u30ec\u30af\u30c8<\/strong><\/span>\u3059\u308b\u5834\u5408\u306e\u8a18\u8ff0\u4f8b\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><strong>src\/Controller\/ArticlesController.php:<\/strong><\/p>\n<pre class=\"lang:php decode:true \">&lt;?php\nnamespace AppController;\n\nuse AppControllerAppController;\n\nclass ArticlesController extends AppController\n{\n\n    public function index()\n    {\n        $this-&gt;set('articles', $this-&gt;Articles-&gt;find('all'));\n    }\n\n    public function view($id = null)\n    {\n        $this-&gt;set('article', $this-&gt;Articles-&gt;get($id));\n        \n        if ($this-&gt;request-&gt;is('post')) {\n            return $this-&gt;redirect('https:\/\/www.sejuku.net\/blog\/');\n        }\n    }\n}<\/pre>\n<h2>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8(redirect)\u306e\u305d\u306e\u4ed6\u306e\u4f7f\u3044\u65b9<\/h2>\n<p>redirect\u306f\u305d\u306e\u4ed6\u306b\u3082\u3001\u540d\u524d\u4ed8\u304d\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6e21\u3057\u305f\u308a\u3001\u5f15\u6570\u306b\u30af\u30a8\u30ea\u30fc\u6587\u5b57\u5217\u3068\u30cf\u30c3\u30b7\u30e5\u3092\u4f7f\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059<\/p>\n<h3>\u540d\u524d\u4ed8\u304d\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6e21\u3059\u65b9\u6cd5<\/h3>\n<p>redirect\u95a2\u6570\u306f<span style=\"color: #0000ff;\"><strong>\u5f15\u6570\u306b\u540d\u524d\u4ed8\u304d\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u6e21\u3059<\/strong><\/span>\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u8a18\u8ff0\u4f8b\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><strong>\u540d\u524d\u4ed8\u304d\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u6e21\u3059\u8a18\u8ff0\u4f8b\uff1a<\/strong><\/p>\n<pre class=\"decode:true \">return $this-&gt;redirect(['controller' =&gt; 'Orders', 'action' =&gt; 'confirm', 'product' =&gt; 'pizza', 'quantity' =&gt; 5]);<\/pre>\n<p>\u3053\u306e\u5834\u5408\u306f\u3001URL\u300c\/blog\/orders\/confirm?product=pizza&amp;quantity=5\u300d(\u67b6\u7a7a\u306eURL)\u306b\u8ee2\u9001\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u30af\u30a8\u30ea\u30fc\u6587\u5b57\u5217\u3084\u30cf\u30c3\u30b7\u30e5\u3092\u4f7f\u3046\u65b9\u6cd5<\/h3>\n<p>redirect\u95a2\u6570\u306f\u5f15\u6570\u306b<span style=\"color: #339966;\"><strong>\u30af\u30a8\u30ea\u30fc\u6587\u5b57\u5217<\/strong><\/span>\u3068<span style=\"color: #339966;\"><strong>\u30cf\u30c3\u30b7\u30e5<\/strong><\/span>\u3092\u4f7f\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><strong>\u30af\u30a8\u30ea\u30fc\u6587\u5b57\u5217\u3068\u30cf\u30c3\u30b7\u30e5\u3092\u4f7f\u3046\u8a18\u8ff0\u4f8b\uff1a<\/strong><\/p>\n<pre class=\"decode:true \">return $this-&gt;redirect([\n    'controller' =&gt; 'Orders',\n    'action' =&gt; 'confirm',\n    '?' =&gt; [\n        'product' =&gt; 'pizza',\n        'quantity' =&gt; 5\n    ],\n    '#' =&gt; 'top'\n]);<\/pre>\n<p>\u3053\u306e\u5834\u5408\u306f\u3001URL\u300c\/orders\/confirm?product=pizza&amp;quantity=5#top\u300d(\u67b6\u7a7a\u306eURL)\u306b\u8ee2\u9001\u3055\u308c\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3053\u3053\u3067\u306f\u3001redirect\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><span style=\"color: #339966;\"><strong>redirect<\/strong><\/span>\u306f\u51e6\u7406\u304c\u7d42\u308f\u3063\u305f\u5f8c\u306b<span style=\"color: #0000ff;\"><strong>\u5225\u306e\u30da\u30fc\u30b8\u3078\u79fb\u52d5<\/strong><\/span>\u3059\u308b\u5834\u5408\u306a\u3069\u306b\u3088\u304f\u4f7f\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>\u4f7f\u3044\u3053\u306a\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u3053\u306e\u8a18\u4e8b\u3092\u4f55\u5ea6\u3082\u53c2\u8003\u306b\u3057\u3066\u4e0b\u3055\u3044\u306d\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\uff01\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u306e\u30ce\u30e0\u30e9\u3067\u3059\u3002 redirect\u3063\u3066\u4f7f\u3063\u3066\u307e\u3059\u304b\uff1f redirect\u306f\u51e6\u7406\u304c\u7d42\u308f\u3063\u305f\u5f8c\u306b\u30c8\u30c3\u30d7(index)\u30da\u30fc\u30b8\u3078\u623b\u308b\u5834\u5408\u306a\u3069\u306b\u3088\u304f\u4f7f\u308f\u308c\u307e\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001redirect\u306b\u3064\u3044\u3066 redi [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":52433,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[2348],"tags":[38],"class_list":["post-27030","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php-study","tag-php"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\/header) | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\/header) \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sejuku.net\/blog\/27030\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\/header) | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\/header) \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/27030\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/sejuku2013\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-07-13T23:02:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:43:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/05\/image-221.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/27030#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/27030\"},\"author\":{\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\"},\"headline\":\"\u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\\\/header)\",\"datePublished\":\"2017-07-13T23:02:13+00:00\",\"dateModified\":\"2024-05-06T02:43:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/27030\"},\"wordCount\":205,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/27030#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/image-221.jpg\",\"keywords\":[\"PHP\"],\"articleSection\":[\"PHP\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/27030\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/27030\",\"name\":\"\u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\\\/header) | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/27030#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/27030#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/image-221.jpg\",\"datePublished\":\"2017-07-13T23:02:13+00:00\",\"dateModified\":\"2024-05-06T02:43:53+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\\\/header) \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/27030#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/27030\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/27030#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/image-221.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/05\\\/image-221.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/27030#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\\\/header)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\"},\"description\":\"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\\\/Web\u958b\u767a\\\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\\\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\\\/\u30b2\u30fc\u30e0\u958b\u767a\\\/AI\\\/Web\u30c7\u30b6\u30a4\u30f3\",\"sameAs\":[\"https:\\\/\\\/www.sejuku.net\\\/\",\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\\\/\",\"https:\\\/\\\/www.instagram.com\\\/samuraiengineer_official\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\"],\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-blog\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\/header) | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\/header) \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sejuku.net\/blog\/27030","og_locale":"ja_JP","og_type":"article","og_title":"\u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\/header) | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\/header) \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/27030","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_author":"https:\/\/www.facebook.com\/sejuku2013\/","article_published_time":"2017-07-13T23:02:13+00:00","article_modified_time":"2024-05-06T02:43:53+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/05\/image-221.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/27030#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/27030"},"author":{"name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61"},"headline":"\u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\/header)","datePublished":"2017-07-13T23:02:13+00:00","dateModified":"2024-05-06T02:43:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/27030"},"wordCount":205,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/27030#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/05\/image-221.jpg","keywords":["PHP"],"articleSection":["PHP\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/27030","url":"https:\/\/www.sejuku.net\/blog\/27030","name":"\u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\/header) | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/27030#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/27030#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/05\/image-221.jpg","datePublished":"2017-07-13T23:02:13+00:00","dateModified":"2024-05-06T02:43:53+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\/header) \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/27030#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/27030"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/27030#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/05\/image-221.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/05\/image-221.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/27030#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010CakePHP\u3011\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u5225\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3059\u308b\u65b9\u6cd5(redirect\/header)"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","caption":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8"},"description":"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\/Web\u958b\u767a\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\/\u30b2\u30fc\u30e0\u958b\u767a\/AI\/Web\u30c7\u30b6\u30a4\u30f3","sameAs":["https:\/\/www.sejuku.net\/","https:\/\/www.facebook.com\/sejuku2013\/","https:\/\/www.instagram.com\/samuraiengineer_official\/","https:\/\/x.com\/https:\/\/twitter.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g"],"url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-blog"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/27030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=27030"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/27030\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/52433"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=27030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=27030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=27030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}