{"id":13076,"date":"2026-03-13T18:15:48","date_gmt":"2026-03-13T18:15:48","guid":{"rendered":"https:\/\/withcode.tech\/media\/?p=13076"},"modified":"2026-07-06T14:36:55","modified_gmt":"2026-07-06T14:36:55","slug":"301-redirect-seo-guide","status":"publish","type":"post","link":"https:\/\/withcode.tech\/media\/301-redirect-seo-guide\/","title":{"rendered":"301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u8a2d\u5b9a\u65b9\u6cd5\u3010WordPress\u30fb.htaccess\u5bfe\u5fdc\u3011\uff5cSEO\u8a55\u4fa1\u3092\u5f15\u304d\u7d99\u3050\u5b8c\u5168\u30ac\u30a4\u30c9"},"content":{"rendered":"\n<div class=\"wp-block-group swl-box swl-box--border\"><div class=\"wp-block-group__inner-container\">\n\n<h3 class=\"wp-block-heading\">\u3053\u306e\u8a18\u4e8b\u3067\u308f\u304b\u308b\u3053\u3068<\/h3>\n\n\n<ul class=\"wp-block-list\">\n<li>301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u4ed5\u7d44\u307f\u3068SEO\u8a55\u4fa1\u304c\u5f15\u304d\u7d99\u304c\u308c\u308b\u7406\u7531<\/li>\n<li>301\u3068302\u306e\u9055\u3044\u3068\u6b63\u3057\u3044\u4f7f\u3044\u5206\u3051\u57fa\u6e96<\/li>\n<li>WordPress\u3067\u306e\u8a2d\u5b9a\u65b9\u6cd5\uff08Redirection\u30d7\u30e9\u30b0\u30a4\u30f3\u30fbfunctions.php\u30fb.htaccess\uff09<\/li>\n<li>\u8a2d\u5b9a\u5f8c\u306e\u52d5\u4f5c\u78ba\u8a8d3\u30b9\u30c6\u30c3\u30d7\u3068\u304a\u3059\u3059\u3081\u78ba\u8a8d\u30c4\u30fc\u30eb<\/li>\n<li>\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30c1\u30a7\u30fc\u30f3\u30fb\u30eb\u30fc\u30d7\u30fb\u4e00\u62ec\u8ee2\u9001\u306eNG\u8a2d\u5b9a\u3068\u5bfe\u51e6\u6cd5<\/li>\n<\/ul>\n\n<\/div><\/div>\n\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-14.48.08.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p class=\"balloon balloon-left\"><strong>\u30b5\u30a4\u30c8\u3092\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u3057\u3066URL\u304c\u5909\u308f\u3063\u305f\u3089\u3001\u691c\u7d22\u9806\u4f4d\u304c\u30ac\u30af\u30c3\u3068\u843d\u3061\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u8a2d\u5b9a\u3059\u308c\u3070\u5143\u306b\u623b\u308b\u3063\u3066\u805e\u3044\u305f\u3093\u3067\u3059\u304c\u3001\u3069\u3046\u3084\u3063\u3066\u8a2d\u5b9a\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.11.23.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30da\u30f3\u535a\u58eb<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p class=\"balloon balloon-right\"><strong>\u3088\u30fc\u304f\u805e\u304f\u3093\u3060\u305e\u3002301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306fSEO\u8a55\u4fa1\u3092\u5f15\u304d\u7d99\u3050\u300c\u4f4f\u6240\u5909\u66f4\u306e\u5c4a\u51fa\u300d\u3058\u3083\u3002\u6b63\u3057\u304f\u8a2d\u5b9a\u3059\u308c\u3070\u3001\u53e4\u3044URL\u306b\u84c4\u7a4d\u3057\u305f\u88ab\u30ea\u30f3\u30af\u3084\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306e\u8a55\u4fa1\u3092\u307b\u307c\u305d\u306e\u307e\u307e\u65b0\u3057\u3044URL\u3078\u79fb\u305b\u308b\u3093\u3058\u3083\u3002\u4eca\u65e5\u306fWordPress\u3068htaccess\u306b\u3088\u308b\u8a2d\u5b9a\u65b9\u6cd5\u30fb302\u3068\u306e\u9055\u3044\u30fbNG\u8a2d\u5b9a\u307e\u3067\u3001\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u5fb9\u5e95\u89e3\u8aac\u3059\u308b\u305e\u3044\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u30b5\u30a4\u30c8\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u3084\u30c9\u30e1\u30a4\u30f3\u5909\u66f4\u30fbHTTPS\u5316\u30fbURL\u69cb\u9020\u306e\u898b\u76f4\u3057\u306a\u3069\u3001Web\u30b5\u30a4\u30c8\u3092\u904b\u55b6\u3057\u3066\u3044\u308c\u3070URL\u304c\u5909\u308f\u308b\u5834\u9762\u306f\u5fc5\u305a\u8a2a\u308c\u307e\u3059\u3002301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u8a2d\u5b9a\u305b\u305a\u306bURL\u3092\u5909\u3048\u308b\u3068\u3001\u305d\u308c\u307e\u3067\u7a4d\u307f\u4e0a\u3052\u3066\u304d\u305f\u691c\u7d22\u8a55\u4fa1\u3084\u88ab\u30ea\u30f3\u30af\u306e\u52b9\u679c\u304c\u30bc\u30ed\u306b\u30ea\u30bb\u30c3\u30c8\u3055\u308c\u3001\u9806\u4f4d\u306e\u5927\u5e45\u306a\u4e0b\u843d\u306b\u3064\u306a\u304c\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9069\u5207\u306a301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u8a2d\u5b9a\u306a\u3057\u306b\u30c9\u30e1\u30a4\u30f3\u3092\u79fb\u8ee2\u3057\u305f\u30b5\u30a4\u30c8\u3067\u306f\u3001\u79fb\u8ee2\u524d\u306e\u9806\u4f4d\u306b\u623b\u308b\u307e\u30676\u30f6\u6708\u301c1\u5e74\u304b\u304b\u308b\u30b1\u30fc\u30b9\u3082\u73cd\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002\u4e00\u65b9\u3001\u6b63\u3057\u304f\u8a2d\u5b9a\u3059\u308c\u3070\u6570\u9031\u9593\u301c\u6570\u30f6\u6708\u3067Google\u304c\u65b0URL\u3078\u306e\u8a55\u4fa1\u3092\u5f15\u304d\u7d99\u304e\u3001\u9806\u4f4d\u306e\u56de\u5fa9\u304c\u898b\u8fbc\u3081\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u8a18\u4e8b\u3067\u306f\u3001<strong><span class=\"swl-marker mark_yellow\">301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u4ed5\u7d44\u307f\u3068302\u3068\u306e\u9055\u3044\u30fb\u5fc5\u8981\u306a5\u3064\u306e\u30b7\u30fc\u30f3\u30fbWordPress\u3067\u306e\u8a2d\u5b9a\u65b9\u6cd5\uff08\u30d7\u30e9\u30b0\u30a4\u30f3\u30fb.htaccess\uff09\u30fb\u78ba\u8a8d\u65b9\u6cd5\u30fb\u3084\u3063\u3066\u306f\u3044\u3051\u306a\u3044NG\u8a2d\u5b9a3\u3064<\/span><\/strong>\u3092\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u5b8c\u5168\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3068\u306f\u4f55\u304b\uff5c\u4ed5\u7d44\u307f\u30682\u3064\u306e\u30e1\u30ea\u30c3\u30c8<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3068\u306f\u3001\u53e4\u3044URL\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u3068\u30af\u30ed\u30fc\u30e9\u30fc\uff08\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306e\u30ed\u30dc\u30c3\u30c8\uff09\u3092<strong>\u300c\u6052\u4e45\u7684\u306b\u65b0\u3057\u3044URL\u3078\u81ea\u52d5\u8ee2\u9001\u3059\u308b\u300d<\/strong>\u4ed5\u7d44\u307f\u3067\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" src=\"img\/301redirect_overview.png\" alt=\"301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u4ed5\u7d44\u307f\u3068SEO\u8a55\u4fa1\u306e\u5f15\u304d\u7d99\u304e\u3092\u793a\u3059\u6982\u5ff5\u56f3\" class=\"wp-image-12420\"\/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u304c\u52d5\u304f\u4ed5\u7d44\u307f<\/h3>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code>\u3010301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u901a\u4fe1\u30d5\u30ed\u30fc\u3011\n\n\u2460 \u30e6\u30fc\u30b6\u30fc\uff08\u307e\u305f\u306fGooglebot\uff09\u304c\u53e4\u3044URL\u306b\u30a2\u30af\u30bb\u30b9\n   https:\/\/example.com\/old-page\/\n\n\u2461 \u30b5\u30fc\u30d0\u30fc\u304c\u300c301 Moved Permanently\u300d\u3092\u8fd4\u3059\n   \u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9 301 + Location: https:\/\/example.com\/new-page\/\n\n\u2462 \u30d6\u30e9\u30a6\u30b6 \/ Googlebot \u304c\u81ea\u52d5\u7684\u306b\u65b0\u3057\u3044URL\u3078\u30a2\u30af\u30bb\u30b9\n   https:\/\/example.com\/new-page\/\n\n\u2463 \u65b0\u3057\u3044\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\n\n\u25b6 \u30e6\u30fc\u30b6\u30fc\u306f\u4e00\u77ac\u3067\u8ee2\u9001\u3055\u308c\u308b\u305f\u3081\u3001\u53e4\u3044URL\u3092\u30d6\u30c3\u30af\u30de\u30fc\u30af\u3057\u3066\u3044\u3066\u3082\u554f\u984c\u306a\u3044\n\u25b6 Google\u306f\u3053\u306e\u8ee2\u9001\u3092\u300c\u6052\u4e45\u7684\u306a\u79fb\u8ee2\u300d\u3068\u5224\u65ad\u3057\u3001SEO\u8a55\u4fa1\u3092\u65b0URL\u3078\u5f15\u304d\u7d99\u3050<\/code><\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e2\u3064\u306e\u30e1\u30ea\u30c3\u30c8<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u30e1\u30ea\u30c3\u30c8<\/th><th>\u5185\u5bb9<\/th><th>\u8a2d\u5b9a\u3057\u306a\u304b\u3063\u305f\u5834\u5408<\/th><\/tr><\/thead><tbody><tr><td><strong>SEO\u8a55\u4fa1\uff08\u88ab\u30ea\u30f3\u30af\uff09\u3092\u5f15\u304d\u7d99\u3052\u308b<\/strong><\/td><td>\u53e4\u3044URL\u306b\u84c4\u7a4d\u3057\u305f\u88ab\u30ea\u30f3\u30af\u3084\u691c\u7d22\u30e9\u30f3\u30ad\u30f3\u30b0\u30b7\u30b0\u30ca\u30eb\u3092\u307b\u307c\u305d\u306e\u307e\u307e\u65b0URL\u3078\u79fb\u884c\u3067\u304d\u308b<\/td><td>\u7a4d\u307f\u4e0a\u3052\u305f\u8a55\u4fa1\u304c\u30bc\u30ed\u306b\u306a\u308a\u3001\u65b0URL\u3067\u307e\u305f\u30a4\u30c1\u304b\u3089\u59cb\u307e\u308b<\/td><\/tr><tr><td><strong>\u30e6\u30fc\u30b6\u30fc\u3092404\u30a8\u30e9\u30fc\u3067\u8ff7\u308f\u305b\u306a\u3044<\/strong><\/td><td>\u53e4\u3044URL\u3078\u30a2\u30af\u30bb\u30b9\u3057\u305f\u4eba\u3092\u81ea\u52d5\u8ee2\u9001\u3057\u3001\u30a8\u30e9\u30fc\u30da\u30fc\u30b8\u3092\u898b\u305b\u305a\u306b\u76ee\u7684\u30b3\u30f3\u30c6\u30f3\u30c4\u3078\u8a98\u5c0e\u3067\u304d\u308b<\/td><td>\u300c404 Not Found\u300d\u304c\u8868\u793a\u3055\u308c\u3001\u30b5\u30a4\u30c8\u96e2\u8131\u30fb\u30d6\u30e9\u30f3\u30c9\u30a4\u30e1\u30fc\u30b8\u4f4e\u4e0b\u306b\u3064\u306a\u304c\u308b<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">301\u3068302\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u9055\u3044\uff5cSEO\u8a55\u4fa1\u306e\u5f15\u304d\u7d99\u304e\u306b\u6c7a\u5b9a\u7684\u306a\u5dee\u304c\u3042\u308b<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306b\u306f\u300c301\u300d\u3068\u300c302\u300d\u306e2\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002<strong>\u300c\u6052\u4e45\u7684\u306a\u79fb\u8ee2\u304b\u3069\u3046\u304b\u300d\u3068\u3044\u30461\u70b9\u306e\u9055\u3044<\/strong>\u3067\u3059\u304c\u3001SEO\u8a55\u4fa1\u306e\u5f15\u304d\u7d99\u304e\u306b\u5927\u304d\u306a\u5dee\u304c\u751f\u307e\u308c\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" src=\"img\/301vs302_comparison.png\" alt=\"301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3068302\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306eSEO\u52b9\u679c\u306e\u9055\u3044\u3092\u793a\u3059\u6bd4\u8f03\u56f3\" class=\"wp-image-12421\"\/><\/figure>\n<\/div>\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u7a2e\u985e<\/th><th>\u610f\u5473<\/th><th>SEO\u8a55\u4fa1\u306e\u5f15\u304d\u7d99\u304e<\/th><th>\u691c\u7d22\u7d50\u679c\u306e\u8868\u793a<\/th><th>\u4f7f\u3046\u30b7\u30fc\u30f3<\/th><\/tr><\/thead><tbody><tr><td><strong>301<\/strong><\/td><td>\u6052\u4e45\u7684\u306a\u79fb\u8ee2\uff08Moved Permanently\uff09<\/td><td><strong>\u3042\u308a\uff08\u307b\u307c\u5168\u91cf\uff09<\/strong><\/td><td>\u65b0\u3057\u3044URL\u306b\u66f4\u65b0\u3055\u308c\u308b<\/td><td>URL\u5909\u66f4\u30fb\u30c9\u30e1\u30a4\u30f3\u79fb\u8ee2\u30fbSSL\u5316\u30fb\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb<\/td><\/tr><tr><td><strong>302<\/strong><\/td><td>\u4e00\u6642\u7684\u306a\u79fb\u8ee2\uff08Found \/ Moved Temporarily\uff09<\/td><td>\u9650\u5b9a\u7684\u30fb\u9045\u3044<\/td><td>\u53e4\u3044URL\u304c\u6b8b\u308b\u3053\u3068\u304c\u3042\u308b<\/td><td>\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u4e2d\u30fbAB\u30c6\u30b9\u30c8\u30fb\u671f\u9593\u9650\u5b9a\u30ad\u30e3\u30f3\u30da\u30fc\u30f3<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code>\u3010301\u3068302\u306e\u4f7f\u3044\u5206\u3051\u57fa\u6e96\u3011\n\n\u2705 301\u3092\u4f7f\u3046\u3079\u304d\u30b1\u30fc\u30b9\uff1a\n\u2192 \u5143\u306eURL\u306b\u4e8c\u5ea6\u3068\u623b\u3055\u306a\u3044\uff08\u6052\u4e45\u7684\u306a\u5909\u66f4\uff09\n\u2192 \u30b5\u30a4\u30c8\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u30fb\u30c9\u30e1\u30a4\u30f3\u5909\u66f4\u30fbHTTPS\u5316\n\u2192 URL\u306e\u6b63\u898f\u5316\uff08www\u6709\u7121\u30fbindex.html\u306e\u7d71\u4e00\uff09\n\n\u2705 302\u3092\u4f7f\u3046\u3079\u304d\u30b1\u30fc\u30b9\uff1a\n\u2192 \u4e00\u5b9a\u671f\u9593\u5f8c\u306b\u5143\u306eURL\u306b\u623b\u3059\u4e88\u5b9a\u304c\u3042\u308b\n\u2192 \u30b5\u30fc\u30d0\u30fc\u30e1\u30f3\u30c6\u30ca\u30f3\u30b9\u4e2d\u306e\u4e00\u6642\u7684\u306a\u4ee3\u66ff\u30da\u30fc\u30b8\n\u2192 AB\u30c6\u30b9\u30c8\u3067\u4e00\u90e8\u30e6\u30fc\u30b6\u30fc\u3092\u5225\u30da\u30fc\u30b8\u306b\u8a98\u5c0e\u3059\u308b\n\n\u274c \u3088\u304f\u3042\u308b\u9593\u9055\u3044\uff1a\n\u2192 \u300c\u3068\u308a\u3042\u3048\u305a302\u306b\u3059\u308b\u300d\n   \u2192 Google\u304c\u6c38\u7d9a\u7684\u306a\u79fb\u8ee2\u3068\u5224\u65ad\u3057\u3065\u3089\u304f\u3001\u8a55\u4fa1\u304c\u5f15\u304d\u7d99\u304c\u308c\u306b\u304f\u3044\n\u2192 \u300c\u5f8c\u3067301\u306b\u76f4\u305b\u3070\u3044\u3044\u300d\n   \u2192 \u30d6\u30e9\u30a6\u30b6\u30ad\u30e3\u30c3\u30b7\u30e5\u306b302\u304c\u6b8b\u308a\u3001\u6b63\u3057\u304f\u52d5\u304b\u306a\u3044\u3053\u3068\u304c\u3042\u308b<\/code><\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u304c\u5fc5\u8981\u306a5\u3064\u306e\u30b7\u30fc\u30f3<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Web\u5236\u4f5c\u30fb\u30b5\u30a4\u30c8\u904b\u55b6\u3067\u3088\u304f\u906d\u9047\u3059\u308b5\u3064\u306e\u30b7\u30fc\u30f3\u3068\u3001\u305d\u308c\u305e\u308c\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u8a2d\u5b9a\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" src=\"img\/301redirect_use_cases.png\" alt=\"301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u304c\u5fc5\u8981\u306a5\u3064\u306e\u30b7\u30fc\u30f3\u3092\u793a\u3059\u30d5\u30ed\u30fc\u56f3\" class=\"wp-image-12422\"\/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">\u30b7\u30fc\u30f31\uff1aHTTP \u2192 HTTPS\u5316\uff08\u5e38\u6642SSL\u5316\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5411\u4e0a\u306e\u305f\u3081HTTP\u304b\u3089HTTPS\u3078\u5207\u308a\u66ff\u3048\u308b\u969b\u3001\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u8a2d\u5b9a\u3092\u3057\u306a\u3044\u3068\u53e4\u3044HTTP\u306eURL\u3067\u88ab\u30ea\u30f3\u30af\u306e\u8a55\u4fa1\u304c\u6b8b\u3063\u305f\u307e\u307e\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code># .htaccess \u3067\u306e\u8a2d\u5b9a\u4f8b\nRewriteEngine On\nRewriteCond %{HTTPS} off\nRewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}\/$1 [R=301,L]<\/code><\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u30b7\u30fc\u30f32\uff1awww \u3042\u308a\u30fb\u306a\u3057\u306e\u7d71\u4e00\uff08\u6b63\u898fURL\u5316\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c<code>www.example.com<\/code>\u300d\u3068\u300c<code>example.com<\/code>\u300d\u306e\u4e21\u65b9\u304c\u5b58\u5728\u3059\u308b\u3068\u3001Google\u304c\u5225\u306eURL\u3068\u3057\u3066\u6271\u3044\u8a55\u4fa1\u304c\u5206\u6563\u3057\u307e\u3059\u3002\u3069\u3061\u3089\u304b\u306b\u7d71\u4e00\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code># www \u306a\u3057\u306b\u7d71\u4e00\u3059\u308b\u5834\u5408\uff08.htaccess\uff09\nRewriteEngine On\nRewriteCond %{HTTP_HOST} ^www\\.(.+)$ [NC]\nRewriteRule ^(.*)$ https:\/\/%1\/$1 [R=301,L]\n\n# www \u3042\u308a\u306b\u7d71\u4e00\u3059\u308b\u5834\u5408\uff08.htaccess\uff09\nRewriteEngine On\nRewriteCond %{HTTP_HOST} !^www\\. [NC]\nRewriteRule ^(.*)$ https:\/\/www.%{HTTP_HOST}\/$1 [R=301,L]<\/code><\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u30b7\u30fc\u30f33\uff1a\u30b5\u30a4\u30c8\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u3067URL\u304c\u5909\u308f\u3063\u305f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ab\u30c6\u30b4\u30ea\u69cb\u9020\u306e\u5909\u66f4\u3084WordPress\u306e\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u5909\u66f4\u306a\u3069\u3067\u500b\u5225\u306e\u30da\u30fc\u30b8URL\u304c\u5909\u308f\u3063\u305f\u5834\u5408\u3001\u30da\u30fc\u30b8\u3054\u3068\u306b\u65e7URL \u2192 \u65b0URL\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code># \u65e7URL \u2192 \u65b0URL\uff08\u30da\u30fc\u30b8\u5358\u4f4d\u306e\u4f8b\uff09\nRedirect 301 \/old-category\/article-name\/ https:\/\/example.com\/new-category\/article-name\/\n\n# \u65e7\u30ab\u30c6\u30b4\u30ea\u4ee5\u4e0b\u3092\u307e\u3068\u3081\u3066\u65b0\u30ab\u30c6\u30b4\u30ea\u3078\nRewriteEngine On\nRewriteRule ^old-category\/(.*)$ \/new-category\/$1 [R=301,L]<\/code><\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u30b7\u30fc\u30f34\uff1a\u30c9\u30e1\u30a4\u30f3\u5909\u66f4\u30fb\u79fb\u8ee2<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d6\u30e9\u30f3\u30c9\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u3084\u4f01\u696d\u7d71\u5408\u306a\u3069\u3067\u30c9\u30e1\u30a4\u30f3\u305d\u306e\u3082\u306e\u304c\u5909\u308f\u308b\u5834\u5408\u3001\u65e7\u30c9\u30e1\u30a4\u30f3\u306e\u3059\u3079\u3066\u306eURL\u3092\u65b0\u30c9\u30e1\u30a4\u30f3\u3078\u8ee2\u9001\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code># \u65e7\u30c9\u30e1\u30a4\u30f3\u5168\u4f53\u3092\u65b0\u30c9\u30e1\u30a4\u30f3\u3078\uff08.htaccess\uff09\nRewriteEngine On\nRewriteRule ^(.*)$ https:\/\/new-domain.com\/$1 [R=301,L]<\/code><\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u30b7\u30fc\u30f35\uff1a\u672b\u5c3e\u30b9\u30e9\u30c3\u30b7\u30e5\u30fbindex.html\u306e\u7d71\u4e00<\/h3>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code># \/index.html \u3092 \/ \u306b\u7d71\u4e00\u3059\u308b\nRewriteEngine On\nRewriteRule ^(.*)\/index\\.html$ \/$1\/ [R=301,L]\n\n# \u672b\u5c3e\u30b9\u30e9\u30c3\u30b7\u30e5\u306a\u3057\u3092\u30b9\u30e9\u30c3\u30b7\u30e5\u3042\u308a\u306b\u7d71\u4e00\uff08\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u5834\u5408\uff09\nRewriteEngine On\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteRule ^([^\/]+)$ \/$1\/ [R=301,L]<\/code><\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">WordPress\u3067\u306e301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u8a2d\u5b9a\u65b9\u6cd5\uff5c\u30d7\u30e9\u30b0\u30a4\u30f3\u3068\u624b\u52d5\u306e2\u30d1\u30bf\u30fc\u30f3<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress\u3067301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u3001<strong>\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u3046\u65b9\u6cd5<\/strong>\u3068\u3001<strong>.htaccess\u3092\u76f4\u63a5\u7de8\u96c6\u3059\u308b\u65b9\u6cd5<\/strong>\u306e2\u3064\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" src=\"img\/wordpress_redirect_methods.png\" alt=\"WordPress\u3067301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u8a2d\u5b9a\u3059\u308b2\u30d1\u30bf\u30fc\u30f3\u306e\u6bd4\u8f03\u56f3\" class=\"wp-image-12423\"\/><\/figure>\n<\/div>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code>\u3010WordPress\u3067\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306e\u9078\u3073\u65b9\u3011\n\n\u30d7\u30e9\u30b0\u30a4\u30f3\uff08Redirection\uff09\u304c\u304a\u3059\u3059\u3081\u306a\u30b1\u30fc\u30b9\uff1a\n\u2705 \u6280\u8853\u7684\u306a\u77e5\u8b58\u306b\u81ea\u4fe1\u304c\u306a\u3044\n\u2705 \u7ba1\u7406\u753b\u9762\u304b\u3089\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u4e00\u89a7\u3092\u78ba\u8a8d\u30fb\u7ba1\u7406\u3057\u305f\u3044\n\u2705 \u6570\u5341\u301c\u6570\u767e\u4ef6\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u52b9\u7387\u3088\u304f\u8a2d\u5b9a\u3057\u305f\u3044\n\u2705 \u8a2d\u5b9a\u30df\u30b9\u3067\u753b\u9762\u304c\u771f\u3063\u767d\u306b\u306a\u308b\u30ea\u30b9\u30af\u3092\u907f\u3051\u305f\u3044\n\n.htaccess \u76f4\u63a5\u7de8\u96c6\u304c\u304a\u3059\u3059\u3081\u306a\u30b1\u30fc\u30b9\uff1a\n\u2705 \u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u6975\u529b\u5165\u308c\u305f\u304f\u306a\u3044\uff08\u8868\u793a\u901f\u5ea6\u306e\u6700\u9069\u5316\uff09\n\u2705 \u30b5\u30fc\u30d0\u30fc\u30ec\u30d9\u30eb\u3067\u78ba\u5b9f\u306b\u51e6\u7406\u3057\u305f\u3044\n\u2705 HTTP\u2192HTTPS\u30fbwww\u7d71\u4e00\u306a\u3069\u30b5\u30a4\u30c8\u5168\u4f53\u306b\u95a2\u308f\u308b\u8a2d\u5b9a\u3092\u884c\u3044\u305f\u3044<\/code><\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u65b9\u6cd51\uff1a\u30d7\u30e9\u30b0\u30a4\u30f3\u300cRedirection\u300d\u3092\u4f7f\u3046\uff08\u63a8\u5968\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c<strong>Redirection<\/strong>\u300d\u306f\u56fd\u5185\u5916\u3067\u6700\u3082\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308bWordPress\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u7ba1\u7406\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6570\u306f400\u4e07\u4ee5\u4e0a\u3092\u8a87\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>WordPress\u7ba1\u7406\u753b\u9762 \u2192 \u300c\u30d7\u30e9\u30b0\u30a4\u30f3\u300d\u2192\u300c\u65b0\u898f\u8ffd\u52a0\u300d\u3067\u300cRedirection\u300d\u3092\u691c\u7d22<\/li>\n<li>\u300c\u4eca\u3059\u3050\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u2192\u300c\u6709\u52b9\u5316\u300d\u3092\u30af\u30ea\u30c3\u30af<\/li>\n<li>\u300c\u30c4\u30fc\u30eb\u300d\u2192\u300cRedirection\u300d\u2192\u300c\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u521d\u671f\u8a2d\u5b9a\u3092\u5b8c\u4e86<\/li>\n<li>\u300c\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u300d\u30bf\u30d6\u3067\u300c\u65b0\u3057\u3044\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u8ffd\u52a0\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af<\/li>\n<li>\u300c\u30bd\u30fc\u30b9URL\u300d\u306b\u65e7URL\uff08\u4f8b\uff1a<code>\/old-page\/<\/code>\uff09\u3092\u5165\u529b<\/li>\n<li>\u300c\u30bf\u30fc\u30b2\u30c3\u30c8URL\u300d\u306b\u65b0URL\uff08\u4f8b\uff1a<code>\/new-page\/<\/code>\uff09\u3092\u5165\u529b<\/li>\n<li>\u300cHTTP\u30b3\u30fc\u30c9\u300d\u304c\u300c301\u300d\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u300c\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u8ffd\u52a0\u300d\u3092\u30af\u30ea\u30c3\u30af<\/li>\n<\/ol>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code>\u3010Redirection\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u8a2d\u5b9a\u9805\u76ee\u3011\n\n\u30bd\u30fc\u30b9URL\uff1a    \/old-category\/old-article\/\n\u30bf\u30fc\u30b2\u30c3\u30c8URL\uff1ahttps:\/\/example.com\/new-category\/new-article\/\nHTTP\u30b3\u30fc\u30c9\uff1a   301\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\u3002\u5909\u66f4\u4e0d\u8981\uff09\n\n\u25b6 \u30bd\u30fc\u30b9URL\u306f\u300c\u76f8\u5bfe\u30d1\u30b9\u300d\u3067\u5165\u529b\u3059\u308b\uff08\u30c9\u30e1\u30a4\u30f3\u306f\u4e0d\u8981\uff09\n\u25b6 \u30bf\u30fc\u30b2\u30c3\u30c8URL\u306f\u300c\u7d76\u5bfeURL\u300d\u3067\u3082\u300c\u76f8\u5bfe\u30d1\u30b9\u300d\u3067\u3082 OK\n\u25b6 \u6b63\u898f\u8868\u73fe\uff08.*\uff09\u3092\u4f7f\u3048\u3070\u8907\u6570URL\u3092\u307e\u3068\u3081\u3066\u8ee2\u9001\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd<\/code><\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u65b9\u6cd52\uff1afunctions.php\u3067301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u8a2d\u5b9a\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u308f\u305a\u306bWordPress\u306e\u30b3\u30fc\u30c9\u3067\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306f\u3001<code>functions.php<\/code> \u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002\u5c11\u6570\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u8efd\u91cf\u306b\u7ba1\u7406\u3057\u305f\u3044\u5834\u5408\u306b\u5411\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-javascript\" data-lang=\"JavaScript\"><code>\/\/ functions.php \u306b\u8ffd\u8a18\u3059\u308b\nadd_action('template_redirect', function () {\n    \/\/ \u65e7URL \u2192 \u65b0URL\u3078301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\n    $redirects = [\n        '\/old-category\/old-article-1\/' =&gt; '\/new-category\/new-article-1\/',\n        '\/old-category\/old-article-2\/' =&gt; '\/new-category\/new-article-2\/',\n        '\/old-page\/'                   =&gt; '\/new-page\/',\n    ];\n\n    $current_path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH);\n\n    if (array_key_exists($current_path, $redirects)) {\n        \/\/ wp_redirect \u306f WordPress \u63a8\u5968\u306e\u5b89\u5168\u306a\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u95a2\u6570\n        wp_redirect(home_url($redirects[$current_path]), 301);\n        exit;\n    }\n});<\/code><\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">.htaccess\u3067301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\uff08Apache\uff09<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">.htaccess\u306fApache\u30b5\u30fc\u30d0\u30fc\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002WordPress\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08<code>public_html\/<\/code>\uff09\u306b\u5b58\u5728\u3057\u3001\u30b5\u30fc\u30d0\u30fc\u30ec\u30d9\u30eb\u3067\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u51e6\u7406\u3059\u308b\u305f\u3081\u51e6\u7406\u901f\u5ea6\u304c\u901f\u3044\u306e\u304c\u7279\u9577\u3067\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" src=\"img\/htaccess_redirect_guide.png\" alt=\".htaccess\u3067301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306e\u89e3\u8aac\u56f3\" class=\"wp-image-12424\"\/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">.htaccess\u306e\u5834\u6240\u3068\u30d0\u30c3\u30af\u30a2\u30c3\u30d7<\/h3>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code>\u3010.htaccess\u306e\u5834\u6240\u3068\u64cd\u4f5c\u624b\u9806\u3011\n\n\u5834\u6240\uff1aWordPress \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u901a\u5e38\u306f public_html\/\uff09\n    FTP\u30bd\u30d5\u30c8\uff08FileZilla \u306a\u3069\uff09\u307e\u305f\u306f\n    \u30b5\u30fc\u30d0\u30fc\u306e\u30d5\u30a1\u30a4\u30eb\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\n\n\u64cd\u4f5c\u524d\u306e\u5fc5\u9808\u624b\u9806\uff1a\n1. .htaccess \u3092\u30ed\u30fc\u30ab\u30eb\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u308b\n   \u2192 \u8a2d\u5b9a\u30df\u30b9\u3067\u753b\u9762\u304c\u771f\u3063\u767d\uff08500\u30a8\u30e9\u30fc\uff09\u306b\u306a\u3063\u305f\u3068\u304d\u5143\u306b\u623b\u305b\u308b\n2. \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u540d\uff1a.htaccess_backup_YYYYMMDD \u306a\u3069\n\nWordPress\u306e\u30c7\u30d5\u30a9\u30eb\u30c8 .htaccess \u306e\u5185\u5bb9\uff1a\n# BEGIN WordPress\n&lt;IfModule mod_rewrite.c&gt;\nRewriteEngine On\nRewriteBase \/\nRewriteRule ^index\\.php$ - [L]\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteRule . \/index.php [L]\n&lt;\/IfModule&gt;\n# END WordPress<\/code><\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u57fa\u672c\uff1a\u7279\u5b9a\u30da\u30fc\u30b8\u306e301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8<\/h3>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code># # BEGIN WordPress \u306e\u4e0a\u306b\u8ffd\u8a18\u3059\u308b\n\n# 1\u30da\u30fc\u30b8\u305a\u3064\u8ee2\u9001\u3059\u308b\uff08Redirect \u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\uff09\nRedirect 301 \/old-page\/ https:\/\/example.com\/new-page\/\nRedirect 301 \/old-category\/old-article\/ https:\/\/example.com\/new-category\/new-article\/\n\n# \u203b Redirect \u306f\u30d5\u30ebURL\u3078\u306e\u8ee2\u9001\u306b\u4f7f\u3046\n# \u203b \u540c\u3058\u30c9\u30e1\u30a4\u30f3\u5185\u306a\u3089\u76f8\u5bfe\u30d1\u30b9\u3067\u3082\u53ef<\/code><\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u5fdc\u7528\uff1a\u6b63\u898f\u8868\u73fe\u3067\u307e\u3068\u3081\u3066\u8ee2\u9001\u3059\u308b\uff08RewriteRule\uff09<\/h3>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code># # BEGIN WordPress \u306e\u4e0a\u306b\u8ffd\u8a18\u3059\u308b\n\n&lt;IfModule mod_rewrite.c&gt;\nRewriteEngine On\n\n# HTTP \u2192 HTTPS \u3078\u5168\u8ee2\u9001\nRewriteCond %{HTTPS} off\nRewriteRule ^(.*)$ https:\/\/%{HTTP_HOST}\/$1 [R=301,L]\n\n# www \u3042\u308a \u2192 www \u306a\u3057\u3078\u7d71\u4e00\nRewriteCond %{HTTP_HOST} ^www\\.(.+)$ [NC]\nRewriteRule ^(.*)$ https:\/\/%1\/$1 [R=301,L]\n\n# \u65e7\u30ab\u30c6\u30b4\u30ea\u4ee5\u4e0b\u3092\u307e\u3068\u3081\u3066\u65b0\u30ab\u30c6\u30b4\u30ea\u3078\u8ee2\u9001\nRewriteRule ^blog\/(.*)$ \/articles\/$1 [R=301,L]\n\n&lt;\/IfModule&gt;<\/code><\/pre><\/div>\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code>\u3010.htaccess \u306e RewriteRule \u306e\u66f8\u304d\u65b9\u306e\u57fa\u672c\u3011\n\n\u66f8\u5f0f\uff1a\nRewriteRule [\u8ee2\u9001\u5143\u30d1\u30bf\u30fc\u30f3] [\u8ee2\u9001\u5148URL] [\u30d5\u30e9\u30b0]\n\n\u4e3b\u306a\u30d5\u30e9\u30b0\uff1a\nR=301    \u2192 301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\uff08\u5fc5\u9808\uff09\nL        \u2192 \u3053\u306e\u30eb\u30fc\u30eb\u3067\u51e6\u7406\u3092\u7d42\u4e86\uff08Last\u306e\u610f\u5473\uff09\nNC       \u2192 \u5927\u6587\u5b57\u30fb\u5c0f\u6587\u5b57\u3092\u533a\u5225\u3057\u306a\u3044\uff08No Case\u306e\u610f\u5473\uff09\n\n\u3088\u304f\u4f7f\u3046\u30d1\u30bf\u30fc\u30f3\uff1a\n^(.*)$   \u2192 \u3059\u3079\u3066\u306e\u30d1\u30b9\u306b\u30de\u30c3\u30c1\u3059\u308b\uff08\u30ad\u30e3\u30d7\u30c1\u30e3\u30b0\u30eb\u30fc\u30d7\uff09\n$1       \u2192 \u30de\u30c3\u30c1\u3057\u305f\u90e8\u5206\u3092\u8ee2\u9001\u5148\u3067\u4f7f\u3046\n\n\u5177\u4f53\u4f8b\uff1a\nRewriteRule ^old-blog\/(.*)$ \/new-blog\/$1 [R=301,L]\n\u2192 \/old-blog\/anything\/ \u3092 \/new-blog\/anything\/ \u3078\u8ee2\u9001<\/code><\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u78ba\u8a8d\u65b9\u6cd5\uff5c\u8a2d\u5b9a\u304c\u6b63\u3057\u304f\u52d5\u3044\u3066\u3044\u308b\u304b\u30c1\u30a7\u30c3\u30af\u3059\u308b3\u3064\u306e\u624b\u9806<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a2d\u5b9a\u5f8c\u306f\u5fc5\u305a\u6b63\u3057\u304f\u52d5\u3044\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\u78ba\u8a8d\u3092\u6020\u308b\u3068\u3001301\u3067\u306f\u306a\u304f302\u306b\u306a\u3063\u3066\u3044\u305f\u308a\u3001\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30d7\u304c\u8d77\u304d\u3066\u3044\u305f\u308a\u3059\u308b\u30b1\u30fc\u30b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" src=\"img\/redirect_verification.png\" alt=\"301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u52d5\u4f5c\u78ba\u8a8d3\u30b9\u30c6\u30c3\u30d7\u306e\u624b\u9806\u56f3\" class=\"wp-image-12425\"\/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">\u78ba\u8a8d\u65b9\u6cd51\uff1a\u30d6\u30e9\u30a6\u30b6\u306e\u958b\u767a\u8005\u30c4\u30fc\u30eb\u3067\u78ba\u8a8d\u3059\u308b<\/h3>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code>1. \u30d6\u30e9\u30a6\u30b6\u306e\u30a2\u30c9\u30ec\u30b9\u30d0\u30fc\u306b\u53e4\u3044URL\u3092\u5165\u529b\u3057\u3066Enter\n2. \u81ea\u52d5\u7684\u306b\u65b0\u3057\u3044URL\u3078\u9077\u79fb\u3059\u308c\u3070\u8ee2\u9001\u306f\u6a5f\u80fd\u3057\u3066\u3044\u308b\n3. \u30d6\u30e9\u30a6\u30b6\u306e\u958b\u767a\u8005\u30c4\u30fc\u30eb\uff08F12\uff09\u2192\u300cNetwork\u300d\u30bf\u30d6\u3067\n   \u53e4\u3044URL\u306e Status \u304c\u300c301\u300d\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u304b\u78ba\u8a8d\u3059\u308b\n\n\u78ba\u8a8d\u30dd\u30a4\u30f3\u30c8\uff1a\n\u2705 Status: 301\uff08Moved Permanently\uff09\n\u2705 Location \u30d8\u30c3\u30c0\u30fc\u306b\u65b0URL\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u308b\n\u274c Status: 302 \u2192 \u8a2d\u5b9a\u3092\u898b\u76f4\u3059\uff08htaccess\u306eR=301\u3092\u78ba\u8a8d\uff09\n\u274c Status: 200 \u2192 \u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u3066\u3044\u306a\u3044\uff08\u8a2d\u5b9a\u304c\u52b9\u3044\u3066\u3044\u306a\u3044\uff09<\/code><\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u78ba\u8a8d\u65b9\u6cd52\uff1a\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30c1\u30a7\u30c3\u30af\u30c4\u30fc\u30eb\u3092\u4f7f\u3046<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u7121\u6599\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3092\u4f7f\u3046\u3068\u3001\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u306e\u78ba\u8a8d\u30fb\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30c1\u30a7\u30fc\u30f3\uff08\u6570\u73e0\u3064\u306a\u304e\uff09\u306e\u78ba\u8a8d\u30fb\u30ec\u30b9\u30dd\u30f3\u30b9\u30d8\u30c3\u30c0\u30fc\u306e\u78ba\u8a8d\u304c\u30d6\u30e9\u30a6\u30b6\u3060\u3051\u3088\u308a\u8a73\u3057\u304f\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code>\u3010\u304a\u3059\u3059\u3081\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u78ba\u8a8d\u30c4\u30fc\u30eb\u3011\n\n1. httpstatus.io\n   URL: https:\/\/httpstatus.io\/\n   \u2192 URL\u3092\u5165\u529b\u3059\u308b\u3068\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u30fb\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u5148\u30fb\u30ec\u30b9\u30dd\u30f3\u30b9\u30d8\u30c3\u30c0\u30fc\u3092\u8868\u793a\n   \u2192 \u4e00\u62ec\u30c1\u30a7\u30c3\u30af\u3082\u53ef\u80fd\n\n2. Redirect Checker\n   URL: https:\/\/www.redirect-checker.org\/\n   \u2192 \u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u9023\u9396\uff08\u30c1\u30a7\u30fc\u30f3\uff09\u3092\u8996\u899a\u7684\u306b\u8868\u793a\u3057\u3066\u304f\u308c\u308b\n   \u2192 \u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30d7\u306e\u767a\u898b\u306b\u4fbf\u5229\n\n3. Google\u30b5\u30fc\u30c1\u30b3\u30f3\u30bd\u30fc\u30eb\u306e\u30ab\u30d0\u30ec\u30c3\u30b8\u30ec\u30dd\u30fc\u30c8\n   \u2192 \u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3055\u308c\u3066\u3044\u308bURL\u3068\u300c\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u6e08\u307f\u300d\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3067\u304d\u308b\n   \u2192 \u65b0URL\u304c\u6b63\u3057\u304f\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3055\u308c\u3066\u3044\u308b\u304b\u306e\u6700\u7d42\u78ba\u8a8d\u306b\u4f7f\u3046\n\n\u78ba\u8a8d\u3059\u3079\u304d\u9805\u76ee\uff1a\n\u2705 \u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u304c 301\n\u2705 Location \u30d8\u30c3\u30c0\u30fc\u304c\u6b63\u3057\u3044\u65b0URL\n\u2705 \u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30c1\u30a7\u30fc\u30f3\uff08A\u2192B\u2192C\uff09\u304c\u767a\u751f\u3057\u3066\u3044\u306a\u3044\n\u2705 \u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30d7\uff08A\u2192B\u2192A\uff09\u304c\u767a\u751f\u3057\u3066\u3044\u306a\u3044<\/code><\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u78ba\u8a8d\u65b9\u6cd53\uff1aGoogle Search Console\u3067\u78ba\u8a8d\u3059\u308b<\/h3>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code>1. Google Search Console \u306b\u30a2\u30af\u30bb\u30b9\n2. \u300cURL\u691c\u67fb\u300d\u3067\u65e7URL\u3092\u691c\u7d22\u3057\u3066\u300cGoogle\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u30ab\u30d0\u30ec\u30c3\u30b8\u300d\u3092\u78ba\u8a8d\n   \u2192 \u300c\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3055\u308c\u305fURL\u300d\u3068\u8868\u793a\u3055\u308c\u308c\u3070 Google \u304c\u8a8d\u8b58\u3057\u3066\u3044\u308b\n3. \u65b0URL\u3082\u300cURL\u691c\u67fb\u300d\u3057\u3066\u300c\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u767b\u9332\u6e08\u307f\u300d\u3092\u78ba\u8a8d\u3059\u308b\n\n\u53cd\u6620\u306e\u76ee\u5b89\uff1a\n\u2192 Google\u304c301\u3092\u8a8d\u8b58\u3057\u3066\u65b0URL\u3078SEO\u8a55\u4fa1\u3092\u79fb\u3059\u307e\u3067\u6570\u9031\u9593\u301c\u6570\u30f6\u6708\u304b\u304b\u308b\n\u2192 Search Console \u306e\u300cURL\u691c\u67fb\u300d\u3067\u300c\u30af\u30ed\u30fc\u30eb\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u300d\u3059\u308b\u3068\u65e9\u307e\u308b\u5834\u5408\u304c\u3042\u308b<\/code><\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u3084\u3063\u3066\u306f\u3044\u3051\u306a\u3044NG\u8a2d\u5b9a3\u3064\uff5cSEO\u8a55\u4fa1\u3092\u640d\u306a\u3046\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u843d\u3068\u3057\u7a74<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u8a2d\u5b9a\u3059\u308b\u969b\u306b\u3088\u304f\u3042\u308bNG\u8a2d\u5b9a\u30923\u3064\u7d39\u4ecb\u3057\u307e\u3059\u3002\u3053\u308c\u3089\u306f\u8a2d\u5b9a\u306e\u6709\u7121\u3088\u308a\u300c\u8a2d\u5b9a\u306e\u4ed5\u65b9\u306e\u8aa4\u308a\u300d\u306b\u3088\u308b\u3082\u306e\u304c\u307b\u3068\u3093\u3069\u3067\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" src=\"img\/redirect_ng_patterns.png\" alt=\"301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u3084\u3063\u3066\u306f\u3044\u3051\u306a\u3044NG\u8a2d\u5b9a3\u3064\u3092\u89e3\u8aac\u3059\u308b\u56f3\" class=\"wp-image-12426\"\/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">NG1\uff1a\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30c1\u30a7\u30fc\u30f3\uff08\u6570\u73e0\u3064\u306a\u304e\uff09<\/h3>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code>\u3010\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30c1\u30a7\u30fc\u30f3\u3068\u306f\u3011\n\n\u274c \u554f\u984c\u306e\u3042\u308b\u72b6\u614b\uff1a\nURL-A \u2192 URL-B \u2192 URL-C\n\n\u2192 Google\u306f\u9014\u4e2d\u3092\u7d4c\u7531\u3059\u308b\u305f\u3073\u306b\u8a55\u4fa1\u306e\u5f15\u304d\u7d99\u304e\u7cbe\u5ea6\u304c\u4e0b\u304c\u308b\n\u2192 \u30e6\u30fc\u30b6\u30fc\u306e\u8aad\u307f\u8fbc\u307f\u6642\u9593\u3082\u9045\u304f\u306a\u308b\n\u2192 3\u56de\u4ee5\u4e0a\u306e\u9023\u9396\u304c\u3042\u308b\u3068Google\u304c\u30af\u30ed\u30fc\u30eb\u3092\u6b62\u3081\u308b\u5834\u5408\u304c\u3042\u308b\n\n\u2705 \u6b63\u3057\u3044\u8a2d\u5b9a\uff1a\nURL-A \u2192 URL-C\uff08\u6700\u7d42\u76ee\u7684\u5730\u306b\u76f4\u63a5\u8ee2\u9001\uff09\nURL-B \u2192 URL-C\uff08\u3059\u3079\u3066\u6700\u7d42URL\u3078\u76f4\u63a5\u8ee2\u9001\uff09\n\n\u5bfe\u51e6\u6cd5\uff1a\n\u2192 \u30c4\u30fc\u30eb\uff08httpstatus.io \u306a\u3069\uff09\u3067\u30c1\u30a7\u30fc\u30f3\u304c\u767a\u751f\u3057\u3066\u3044\u306a\u3044\u304b\u78ba\u8a8d\u3059\u308b\n\u2192 \u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u8a2d\u5b9a\u4e00\u89a7\u3092\u5b9a\u671f\u7684\u306b\u898b\u76f4\u3057\u3066\u53e4\u3044\u8a2d\u5b9a\u3092\u6574\u7406\u3059\u308b<\/code><\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">NG2\uff1a\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30d7\uff08\u7121\u9650\u30eb\u30fc\u30d7\uff09<\/h3>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code>\u3010\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30d7\u3068\u306f\u3011\n\n\u274c \u554f\u984c\u306e\u3042\u308b\u72b6\u614b\uff1a\nURL-A \u2192 URL-B \u2192 URL-A \u2192 URL-B \u2192 ...\uff08\u7121\u9650\u30eb\u30fc\u30d7\uff09\n\n\u2192 \u30d6\u30e9\u30a6\u30b6\u304c\u300c\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u56de\u6570\u304c\u591a\u3059\u304e\u307e\u3059\u300d\u30a8\u30e9\u30fc\u3092\u8868\u793a\u3059\u308b\n\u2192 \u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u304f\u306a\u308b\n\u2192 \u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306e\u30af\u30ed\u30fc\u30eb\u304c\u6b62\u307e\u308a\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u304c\u6d88\u3048\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\n\n\u3088\u304f\u3042\u308b\u539f\u56e0\uff1a\n\u2192 HTTP\u2192HTTPS \u306e\u8a2d\u5b9a\u3068\u3001\u3059\u3067\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308bHTTPS\u2192HTTP\u306e\u8a2d\u5b9a\u304c\u7af6\u5408\u3059\u308b\n\u2192 www\u7d71\u4e00\u306e\u8a2d\u5b9a\u3068\u3001\u65e2\u5b58\u306ewww\u8ee2\u9001\u8a2d\u5b9a\u304c\u7af6\u5408\u3059\u308b\n\n\u5bfe\u51e6\u6cd5\uff1a\n\u2192 \u8a2d\u5b9a\u5f8c\u306b\u5fc5\u305a\u30d6\u30e9\u30a6\u30b6\u3067\u78ba\u8a8d\u3059\u308b\uff08\u300c\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u304c\u591a\u3059\u304e\u307e\u3059\u300d\u304c\u51fa\u305f\u3089\u5373\u78ba\u8a8d\uff09\n\u2192 .htaccess \u306e\u30eb\u30fc\u30eb\u306e\u9806\u5e8f\u3068\u6761\u4ef6\uff08RewriteCond\uff09\u3092\u898b\u76f4\u3059<\/code><\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">NG3\uff1a\u5168URL\u30921\u3064\u306eURL\u306b\u96c6\u7d04\u3057\u3066\u3057\u307e\u3046<\/h3>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-none\" data-lang=\"Code\"><code>\u3010\u5168URL\u4e00\u62ec\u8ee2\u9001\u306fSEO\u306b\u30de\u30a4\u30ca\u30b9\u3011\n\n\u274c \u554f\u984c\u306e\u3042\u308b\u8a2d\u5b9a\uff08\u30b5\u30a4\u30c8\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u6642\u306b\u3088\u304f\u3042\u308b\u30df\u30b9\uff09\uff1a\n\u30b5\u30a4\u30c8\u5185\u306e\u5168\u30da\u30fc\u30b8 \u2192 \u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u307f\u3078\u4e00\u62ec\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\n\n\u2192 Google\u306f\u300c\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u6d88\u3048\u305f\u300d\u3068\u5224\u65ad\u3059\u308b\n\u2192 \u500b\u3005\u306e\u30da\u30fc\u30b8\u304c\u6301\u3064SEO\u8a55\u4fa1\u30fb\u88ab\u30ea\u30f3\u30af\u304c\u3059\u3079\u3066\u5931\u308f\u308c\u308b\n\u2192 \"Soft 404\" \u3068\u3057\u3066\u51e6\u7406\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308b\n\n\u2705 \u6b63\u3057\u3044\u8a2d\u5b9a\uff1a\n\u65e7\u8a18\u4e8b\u30da\u30fc\u30b8-A \u2192 \u65b0\u8a18\u4e8b\u30da\u30fc\u30b8-A\uff08\u5185\u5bb9\u7684\u306b\u5bfe\u5fdc\u3059\u308b\u30da\u30fc\u30b8\u30781\u5bfe1\u3067\u8ee2\u9001\uff09\n\u65e7\u8a18\u4e8b\u30da\u30fc\u30b8-B \u2192 \u65b0\u8a18\u4e8b\u30da\u30fc\u30b8-B\n\n\u203b \u672c\u5f53\u306b\u5bfe\u5fdc\u3059\u308b\u30da\u30fc\u30b8\u304c\u306a\u3044\u5834\u5408\u306e\u307f\u3001\u30c8\u30c3\u30d7\u3084\u30ab\u30c6\u30b4\u30ea\u30da\u30fc\u30b8\u3078\u8ee2\u9001\u3059\u308b\n  \uff08\u305d\u308c\u3067\u3082 \/old-category\/* \u2192 \/new-category\/ \u306e\u3088\u3046\u306b\u7d5e\u308b\uff09<\/code><\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u3088\u304f\u3042\u308b\u8cea\u554f\uff08FAQ\uff09<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Q1. 301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u3001SEO\u8a55\u4fa1\u306f\u3069\u306e\u304f\u3089\u3044\u5f15\u304d\u7d99\u304c\u308c\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Google\u306e\u516c\u5f0f\u898b\u89e3\u3067\u306f\u3001<strong>301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306b\u3088\u308b\u8a55\u4fa1\u306e\u5f15\u304d\u7d99\u304e\u306f\u307b\u307c\u540c\u7b49\uff08\u307b\u307c100%\uff09<\/strong>\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u305f\u3060\u3057Google\u304c\u65b0URL\u3092\u30af\u30ed\u30fc\u30eb\u30fb\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3059\u308b\u307e\u3067\u306b\u6570\u9031\u9593\u301c\u6570\u30f6\u6708\u304b\u304b\u308b\u305f\u3081\u3001\u8a2d\u5b9a\u76f4\u5f8c\u306b\u9806\u4f4d\u304c\u4e0b\u304c\u308b\u3053\u3068\u306f\u6b63\u5e38\u3067\u3059\u3002Search Console\u3067\u300c\u30af\u30ed\u30fc\u30eb\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u300d\u3059\u308b\u3068\u51e6\u7406\u304c\u65e9\u307e\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u985e\u4f3c\u6027\u304c\u4f4e\u3044\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306f\u8a55\u4fa1\u304c\u5f15\u304d\u7d99\u304c\u308c\u306b\u304f\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q2. WordPress\u306e\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u305f\u3060\u3051\u3067301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306f\u81ea\u52d5\u3067\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u81ea\u52d5\u3067\u306f\u8a2d\u5b9a\u3055\u308c\u307e\u305b\u3093\u3002<\/strong>WordPress\u306e\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u3068\u3001\u65b0\u3057\u3044URL\u3067\u30da\u30fc\u30b8\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u304c\u3001\u53e4\u3044URL\u304b\u3089\u65b0URL\u3078\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306f\u81ea\u52d5\u3067\u306f\u884c\u308f\u308c\u307e\u305b\u3093\u3002\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u3092\u5909\u66f4\u3057\u305f\u5834\u5408\u306f\u3001\u5fc5\u305a\u300cRedirection\u300d\u30d7\u30e9\u30b0\u30a4\u30f3\u3084.htaccess\u3067\u65e7URL \u2192 \u65b0URL\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u624b\u52d5\u3067\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q3. .htaccess\u3092\u7de8\u96c6\u3057\u305f\u3089\u753b\u9762\u304c\u771f\u3063\u767d\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3069\u3046\u3059\u308c\u3070\u76f4\u308a\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">.htaccess\u306e\u69cb\u6587\u30a8\u30e9\u30fc\u306b\u3088\u308b500\u30a8\u30e9\u30fc\u3067\u3059\u3002<strong>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u304a\u3044\u305f .htaccess \u3092\u5143\u306b\u623b\u3059<\/strong>\u3053\u3068\u3067\u89e3\u6c7a\u3057\u307e\u3059\u3002FTP\u3067\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092 .htaccess \u3068\u3044\u3046\u540d\u524d\u3067\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304c\u306a\u3044\u5834\u5408\u306f\u3001WordPress\u306e\u30c7\u30d5\u30a9\u30eb\u30c8 .htaccess\uff08# BEGIN WordPress\u301c# END WordPress\u306e\u5185\u5bb9\uff09\u3067\u4e0a\u66f8\u304d\u3059\u308c\u3070\u57fa\u672c\u7684\u306b\u306f\u5fa9\u65e7\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q4. 301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u3044\u3064\u304b\u5916\u3057\u3066\u3082\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u57fa\u672c\u7684\u306b\u306f<strong>\u5916\u3055\u306a\u3044\u65b9\u304c\u5b89\u5168<\/strong>\u3067\u3059\u3002\u5916\u90e8\u30b5\u30a4\u30c8\u304b\u3089\u306e\u88ab\u30ea\u30f3\u30af\u306f\u53e4\u3044URL\u3092\u6307\u3057\u3066\u3044\u308b\u5834\u5408\u304c\u591a\u304f\u3001\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u5916\u3059\u3068\u518d\u3073404\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u306e\u8ca0\u8377\u304c\u5fc3\u914d\u306a\u5834\u5408\u3067\u3082\u3001\u8a2d\u5b9a\u304b\u30891\u301c2\u5e74\u7d4c\u904e\u3057\u3001Google Search Console\u3067\u53e4\u3044URL\u3078\u306e\u30af\u30ed\u30fc\u30eb\u304c\u307b\u307c\u30bc\u30ed\u306b\u306a\u3063\u3066\u304b\u3089\u5916\u3059\u304b\u3069\u3046\u304b\u3092\u691c\u8a0e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q5. Nginx \u30b5\u30fc\u30d0\u30fc\u3067\u306e301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306f\u3069\u3046\u8a2d\u5b9a\u3057\u307e\u3059\u304b\uff1f<\/h3>\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code># Nginx \u306e\u5834\u5408\uff08nginx.conf \u307e\u305f\u306f server \u30d6\u30ed\u30c3\u30af\u5185\uff09\nserver {\n    listen 80;\n    server_name example.com;\n\n    # HTTP \u2192 HTTPS \u3078\u306e301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\n    return 301 https:\/\/$host$request_uri;\n}\n\nserver {\n    listen 443 ssl;\n    server_name example.com;\n\n    # \u7279\u5b9a\u30da\u30fc\u30b8\u306e301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\n    location = \/old-page\/ {\n        return 301 \/new-page\/;\n    }\n\n    # \u65e7\u30ab\u30c6\u30b4\u30ea\u4ee5\u4e0b\u3092\u307e\u3068\u3081\u3066\u65b0\u30ab\u30c6\u30b4\u30ea\u3078\n    location ^~ \/old-blog\/ {\n        rewrite ^\/old-blog\/(.*)$ \/new-blog\/$1 permanent;\n        # permanent = 301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\n    }\n}<\/code><\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-14.48.08.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p class=\"balloon balloon-left\"><strong>301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u308f\u304b\u308a\u307e\u3057\u305f\uff01\u3067\u3082\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u8a2d\u5b9a\u3057\u305f\u306e\u306b\u9806\u4f4d\u304c\u306a\u304b\u306a\u304b\u623b\u3089\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u5f85\u3064\u3057\u304b\u306a\u3044\u3067\u3059\u304b\uff1f<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-right\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.11.23.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u30da\u30f3\u535a\u58eb<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p class=\"balloon balloon-right\"><strong>\u57fa\u672c\u7684\u306b\u306f\u5f85\u3064\u3053\u3068\u306b\u306a\u308b\u3093\u3058\u3083\u304c\u3001Google Search Console\u306e\u300cURL\u691c\u67fb\u300d\u3067\u65b0URL\u30921\u3064\u305a\u3064\u300c\u30af\u30ed\u30fc\u30eb\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u300d\u3057\u3066\u304a\u304f\u3068\u65e9\u307e\u308b\u3053\u3068\u304c\u3042\u308b\u3093\u3058\u3083\u3002\u305d\u308c\u306b\u52a0\u3048\u3066\u3001\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3092\u518d\u9001\u4fe1\u3057\u3066\u65b0URL\u3092\u4e00\u89a7\u3067Google\u306b\u77e5\u3089\u305b\u308b\u3068\u826f\u3044\u305e\u3002WithCode\u3067SEO\u3084Web\u5236\u4f5c\u306e\u57fa\u790e\u3092\u5b66\u3076\u3068\u3001\u3053\u3046\u3057\u305f\u30c8\u30e9\u30d6\u30eb\u5bfe\u5fdc\u3082\u81ea\u5206\u3067\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3093\u3058\u3083\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n<div class=\"swell-block-balloon\"><div class=\"c-balloon -bln-left\" data-col=\"gray\"><div class=\"c-balloon__icon -square\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2025\/06\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2025-06-15-15.06.05.jpg\" alt=\"\" class=\"c-balloon__iconImg\" width=\"80px\" height=\"80px\"><span class=\"c-balloon__iconName\">\u751f\u5f92<\/span><\/div><div class=\"c-balloon__body -speaking -border-none\"><div class=\"c-balloon__text\">\n<p class=\"balloon balloon-left\"><strong>\u306a\u308b\u307b\u3069\uff01Search Console\u3067\u30af\u30ed\u30fc\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3059\u308c\u3070\u65e9\u307e\u308b\u3093\u3067\u3059\u306d\u3002\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u306e\u518d\u9001\u4fe1\u3082\u3084\u3063\u3066\u307f\u307e\u3059\uff01<\/strong><\/p>\n<span class=\"c-balloon__shapes\"><span class=\"c-balloon__before\"><\/span><span class=\"c-balloon__after\"><\/span><\/span><\/div><\/div><\/div><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>301\u306e\u672c\u8cea<\/strong>\uff1a\u53e4\u3044URL\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u65b0URL\u3078\u6052\u4e45\u7684\u306b\u8ee2\u9001\u3057\u3001SEO\u8a55\u4fa1\uff08\u88ab\u30ea\u30f3\u30af\u30fb\u691c\u7d22\u30e9\u30f3\u30ad\u30f3\u30b0\uff09\u3092\u307b\u307c\u305d\u306e\u307e\u307e\u5f15\u304d\u7d99\u3052\u308b\u3002302\u306f\u4e00\u6642\u7684\u306a\u8ee2\u9001\u306e\u305f\u3081\u3001URL\u304c\u6c38\u7d9a\u7684\u306b\u5909\u308f\u308b\u5834\u5408\u306f\u5fc5\u305a301\u3092\u4f7f\u3046\u3002<\/li>\n<li><strong>301\u304c\u5fc5\u8981\u306a5\u3064\u306e\u30b7\u30fc\u30f3<\/strong>\uff1aHTTPS\u5316\u30fbwww\u7d71\u4e00\u30fb\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u6642\u306eURL\u5909\u66f4\u30fb\u30c9\u30e1\u30a4\u30f3\u79fb\u8ee2\u30fb\u672b\u5c3e\u30b9\u30e9\u30c3\u30b7\u30e5\u7d71\u4e00\u3002\u3044\u305a\u308c\u306e\u30b1\u30fc\u30b9\u3082\u8a2d\u5b9a\u3092\u6020\u308b\u3068SEO\u8a55\u4fa1\u304c\u5931\u308f\u308c\u308b\u3002<\/li>\n<li><strong>WordPress\u3067\u306e\u8a2d\u5b9a\u65b9\u6cd5<\/strong>\uff1aRedirection\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u6700\u3082\u5b89\u5168\u30fb\u7c21\u5358\u3002functions.php\u306f\u5c11\u6570\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306b\u3001.htaccess\u76f4\u63a5\u7de8\u96c6\u306f\u30b5\u30a4\u30c8\u5168\u4f53\u8a2d\u5b9a\uff08HTTPS\u5316\u30fbwww\u7d71\u4e00\uff09\u306b\u5411\u3044\u3066\u3044\u308b\u3002<\/li>\n<li><strong>\u78ba\u8a8d\u65b9\u6cd53\u3064<\/strong>\uff1a\u30d6\u30e9\u30a6\u30b6\u306e\u958b\u767a\u8005\u30c4\u30fc\u30eb\uff08\u30b9\u30c6\u30fc\u30bf\u30b9301\u3092\u76ee\u8996\u78ba\u8a8d\uff09\u2192 httpstatus.io\u306a\u3069\u306e\u30c4\u30fc\u30eb\uff08\u30c1\u30a7\u30fc\u30f3\u30fb\u30eb\u30fc\u30d7\u78ba\u8a8d\uff09\u2192 Google Search Console\uff08\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u72b6\u614b\u78ba\u8a8d\uff09\u306e\u9806\u3067\u884c\u3046\u3002<\/li>\n<li><strong>NG\u8a2d\u5b9a3\u3064<\/strong>\uff1a\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30c1\u30a7\u30fc\u30f3\uff08A\u2192B\u2192C\uff09\u30fb\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30eb\u30fc\u30d7\uff08A\u2192B\u2192A\uff09\u30fb\u5168URL\u3092\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3078\u4e00\u62ec\u8ee2\u9001\u306f\u7d76\u5bfe\u306b\u907f\u3051\u308b\u30021\u5bfe1\u306e\u5bfe\u5fdcURL\u3078\u76f4\u63a5\u8ee2\u9001\u3059\u308b\u306e\u304c\u539f\u5247\u3002<\/li>\n<li><strong>\u53cd\u6620\u671f\u9593\u3068\u5bfe\u5fdc<\/strong>\uff1aGoogle\u304c\u65b0URL\u3078\u8a55\u4fa1\u3092\u79fb\u3059\u307e\u3067\u6570\u9031\u9593\u301c\u6570\u30f6\u6708\u3002Search Console\u3067\u30af\u30ed\u30fc\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3068XML\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u306e\u518d\u9001\u4fe1\u3067\u52a0\u901f\u3067\u304d\u308b\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><span class=\"swl-marker mark_yellow\">301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306f\u30b5\u30a4\u30c8\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u30fb\u30c9\u30e1\u30a4\u30f3\u79fb\u8ee2\u3067\u7a4d\u307f\u4e0a\u3052\u3066\u304d\u305fSEO\u8a55\u4fa1\u3092\u5b88\u308b\u6700\u91cd\u8981\u8a2d\u5b9a\u3067\u3059\u3002\u8a2d\u5b9a\u524d\u306b\u5fc5\u305a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u53d6\u308a\u3001\u8a2d\u5b9a\u5f8c\u306f\u52d5\u4f5c\u78ba\u8a8d\u3092\u5fb9\u5e95\u3057\u3066\u304f\u3060\u3055\u3044<\/span><\/strong>\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<!-- withmedia-related -->\n<h2 class=\"wp-block-heading\">\u95a2\u9023\u8a18\u4e8b<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/withcode.tech\/media\/multilingual-seo-hreflang-guide\/\">\u591a\u8a00\u8a9e\u30b5\u30a4\u30c8\u306eSEO\u5bfe\u7b56\u5b8c\u5168\u30ac\u30a4\u30c9\uff5chreflang\u5c5e\u6027\u306e\u8a2d\u5b9a\u65b9\u6cd5\u30fbURL\u69cb\u9020\u8a2d\u8a08\u30fb\u30ed\u30fc\u30ab\u30e9\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\u307e\u3067\u5fb9\u5e95\u89e3\u8aac<\/a><\/li>\n<li><a href=\"https:\/\/withcode.tech\/media\/ga4-bigquery-user-analysis\/\">GA4\u30c7\u30fc\u30bf\u3092BigQuery\u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u3066SQL\u3067\u30e6\u30fc\u30b6\u30fc\u884c\u52d5\u3092\u5206\u6790\u3059\u308b\u65b9\u6cd5\u3010\u5b8c\u5168\u30ac\u30a4\u30c9\u3011\uff5c\u5b9f\u8df5SQL\u30af\u30a8\u30ea15\u9078\u4ed8\u304d<\/a><\/li>\n<li><a href=\"https:\/\/withcode.tech\/media\/website-renewal-seo-protection\/\">\u3010\u5b8c\u5168\u4fdd\u5b58\u7248\u3011\u30b5\u30a4\u30c8\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u3067SEO\u9806\u4f4d\u3092\u4e0b\u3052\u306a\u304412\u306e\u9632\u6b62\u7b56<\/a><\/li>\n<li><a href=\"https:\/\/withcode.tech\/media\/ga4-exploration-report-templates\/\">\u3010\u5b8c\u5168\u4fdd\u5b58\u7248\u3011GA4\u63a2\u7d22\u30ec\u30dd\u30fc\u30c8\u6d3b\u7528\u4e8b\u4f8b\uff5c7\u3064\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3067\u5b9f\u73fe\u3059\u308b\u30c7\u30fc\u30bf\u5206\u6790<\/a><\/li>\n<li><a href=\"https:\/\/withcode.tech\/media\/llmo-structured-data-schema-org-2026\/\">\u30102026\u5e74\u6700\u65b0\u3011LLMO\u5bfe\u7b56\u306e\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u5b9f\u88c5\u65b9\u6cd5\uff5cAI\u306b\u6b63\u3057\u304f\u7406\u89e3\u3055\u308c\u308b\u305f\u3081\u306eSchema.org\u5b8c\u5168\u30ac\u30a4\u30c9<\/a><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<!-- withmedia-references -->\n<h2 class=\"wp-block-heading\">\u53c2\u8003\u30ea\u30f3\u30af\uff08\u516c\u5f0f\u30fb\u4e00\u6b21\u60c5\u5831\uff09<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/ja.wordpress.org\/support\/\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress \u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a><\/li>\n<li><a href=\"https:\/\/developer.mozilla.org\/ja\/docs\/Web\/HTML\" target=\"_blank\" rel=\"noopener noreferrer\">MDN Web Docs \u2014 HTML<\/a><\/li>\n<li><a href=\"https:\/\/www.php.net\/manual\/ja\/\" target=\"_blank\" rel=\"noopener noreferrer\">PHP \u516c\u5f0f\u30de\u30cb\u30e5\u30a2\u30eb<\/a><\/li>\n<li><a href=\"https:\/\/developers.google.com\/search\/docs\/appearance\/structured-data?hl=ja\" target=\"_blank\" rel=\"noopener noreferrer\">Google \u691c\u7d22\u30bb\u30f3\u30c8\u30e9\u30eb \u2014 \u69cb\u9020\u5316\u30c7\u30fc\u30bf<\/a><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">WithCode\u3092\u4f53\u9a13\u3067\u304d\u308b\u521d\u7d1a\u30b3\u30fc\u30b9\u516c\u958b\u4e2d\uff01<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft size-full\"><img decoding=\"async\" width=\"600\" height=\"500\" src=\"https:\/\/withcode.tech\/media\/wp-content\/uploads\/2024\/04\/\u30d0\u30ca\u30fc_300\u00d7250_20240425.png\" alt=\"\" class=\"wp-image-2650\"\/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">\u521d\u7d1a\u30b3\u30fc\u30b9(\u00a549,800)\u304c\u5b8c\u5168\u7121\u6599\u306b\uff01<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u671f\u9593\uff1a1\u9031\u9593<\/strong><\/li>\n<li><strong>\u5b66\u7fd2\u5185\u5bb9\uff1a<\/strong><br><strong>\u30ed\u30fc\u30c9\u30de\u30c3\u30d7\/\u57fa\u790e\u77e5\u8b58\/\u74b0\u5883\u69cb\u7bc9\/HTML\/CSS\/LP\u30fb\u30dd\u30fc\u30c8\u30d5\u30a9\u30ea\u30aa\u4f5c\u6210<\/strong><br><strong>\u2192 <span class=\"swl-marker mark_yellow\">\u6b63\u3057\u3044\u5b66\u7fd2\u65b9\u6cd5\u3067\u300c\u78ba\u304b\u306a\u6210\u9577\u300d\u3092\u5b9f\u611f\u3067\u304d\u308b\u30ab\u30ea\u30ad\u30e5\u30e9\u30e0\u3002<\/span><\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u526f\u696d\u30fb\u30d5\u30ea\u30fc\u30e9\u30f3\u30b9\u304c\u4e3b\u6d41\u306b\u306a\u3063\u3066\u3044\u308b\u4eca\u3053\u305d\u3001\u81ea\u3089\u306e\u30b9\u30ad\u30eb\u3067\u7a3c\u3052\u308b\u4eba\u6750\u3092\u76ee\u6307\u3057\u3066\u307f\u307e\u305b\u3093\u304b\uff1f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u672a\u7d4c\u9a13\u3067\u3082\u5fc3\u914d\u3059\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u521d\u7d1a\u30b3\u30fc\u30b9\u3092\u53d7\u8b1b\u3055\u308c\u308b\u65b9\u306e\u5927\u591a\u6570\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u672a\u7d4c\u9a13\u3067\u3059\u3002\u307e\u305a\u306f\u7121\u6599\u30ab\u30a6\u30f3\u30bb\u30ea\u30f3\u30b0\u3067\u3001\u60a9\u307f\u3084\u4e0d\u5b89\u3092\u304a\u805e\u304b\u305b\u304f\u3060\u3055\u3044\uff01<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-white-color has-text-color has-background has-link-color wp-element-button\" href=\"https:\/\/withcode.tech\/reservation\/\" style=\"background-color:#ffbf00\"><strong>\u516c\u5f0f\u30b5\u30a4\u30c8\u304b\u3089\u7121\u6599\u30ab\u30a6\u30f3\u30bb\u30ea\u30f3\u30b0\u306b\u7533\u3057\u8fbc\u3080 \u2192<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<!-- withmedia-faq-schema -->\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [\n    {\n      \"@type\": \"Question\",\n      \"name\": \"301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u3001SEO\u8a55\u4fa1\u306f\u3069\u306e\u304f\u3089\u3044\u5f15\u304d\u7d99\u304c\u308c\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"Google\u306e\u516c\u5f0f\u898b\u89e3\u3067\u306f\u3001301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306b\u3088\u308b\u8a55\u4fa1\u306e\u5f15\u304d\u7d99\u304e\u306f\u307b\u307c\u540c\u7b49\uff08\u307b\u307c100%\uff09\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u305f\u3060\u3057Google\u304c\u65b0URL\u3092\u30af\u30ed\u30fc\u30eb\u30fb\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3059\u308b\u307e\u3067\u306b\u6570\u9031\u9593\u301c\u6570\u30f6\u6708\u304b\u304b\u308b\u305f\u3081\u3001\u8a2d\u5b9a\u76f4\u5f8c\u306b\u9806\u4f4d\u304c\u4e0b\u304c\u308b\u3053\u3068\u306f\u6b63\u5e38\u3067\u3059\u3002Search Console\u3067\u300c\u30af\u30ed\u30fc\u30eb\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u300d\u3059\u308b\u3068\u51e6\u7406\u304c\u65e9\u307e\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u985e\u4f3c\u6027\u304c\u4f4e\u3044\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306f\u8a55\u4fa1\u304c\u5f15\u304d\u7d99\u304c\u308c\u306b\u304f\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"WordPress\u306e\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u305f\u3060\u3051\u3067301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306f\u81ea\u52d5\u3067\u8a2d\u5b9a\u3055\u308c\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u81ea\u52d5\u3067\u306f\u8a2d\u5b9a\u3055\u308c\u307e\u305b\u3093\u3002WordPress\u306e\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u3068\u3001\u65b0\u3057\u3044URL\u3067\u30da\u30fc\u30b8\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u304c\u3001\u53e4\u3044URL\u304b\u3089\u65b0URL\u3078\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306f\u81ea\u52d5\u3067\u306f\u884c\u308f\u308c\u307e\u305b\u3093\u3002\u30d1\u30fc\u30de\u30ea\u30f3\u30af\u3092\u5909\u66f4\u3057\u305f\u5834\u5408\u306f\u3001\u5fc5\u305a\u300cRedirection\u300d\u30d7\u30e9\u30b0\u30a4\u30f3\u3084.htaccess\u3067\u65e7URL \u2192 \u65b0URL\u306e\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u624b\u52d5\u3067\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \".htaccess\u3092\u7de8\u96c6\u3057\u305f\u3089\u753b\u9762\u304c\u771f\u3063\u767d\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3069\u3046\u3059\u308c\u3070\u76f4\u308a\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \".htaccess\u306e\u69cb\u6587\u30a8\u30e9\u30fc\u306b\u3088\u308b500\u30a8\u30e9\u30fc\u3067\u3059\u3002\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u304a\u3044\u305f .htaccess \u3092\u5143\u306b\u623b\u3059\u3053\u3068\u3067\u89e3\u6c7a\u3057\u307e\u3059\u3002FTP\u3067\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u3092 .htaccess \u3068\u3044\u3046\u540d\u524d\u3067\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u304c\u306a\u3044\u5834\u5408\u306f\u3001WordPress\u306e\u30c7\u30d5\u30a9\u30eb\u30c8 .htaccess\uff08# BEGIN WordPress\u301c# END WordPress\u306e\u5185\u5bb9\uff09\u3067\u4e0a\u66f8\u304d\u3059\u308c\u3070\u57fa\u672c\u7684\u306b\u306f\u5fa9\u65e7\u3057\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u3044\u3064\u304b\u5916\u3057\u3066\u3082\u3044\u3044\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u57fa\u672c\u7684\u306b\u306f\u5916\u3055\u306a\u3044\u65b9\u304c\u5b89\u5168\u3067\u3059\u3002\u5916\u90e8\u30b5\u30a4\u30c8\u304b\u3089\u306e\u88ab\u30ea\u30f3\u30af\u306f\u53e4\u3044URL\u3092\u6307\u3057\u3066\u3044\u308b\u5834\u5408\u304c\u591a\u304f\u3001\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u5916\u3059\u3068\u518d\u3073404\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u30b5\u30fc\u30d0\u30fc\u306e\u8ca0\u8377\u304c\u5fc3\u914d\u306a\u5834\u5408\u3067\u3082\u3001\u8a2d\u5b9a\u304b\u30891\u301c2\u5e74\u7d4c\u904e\u3057\u3001Google Search Console\u3067\u53e4\u3044URL\u3078\u306e\u30af\u30ed\u30fc\u30eb\u304c\u307b\u307c\u30bc\u30ed\u306b\u306a\u3063\u3066\u304b\u3089\u5916\u3059\u304b\u3069\u3046\u304b\u3092\u691c\u8a0e\u3057\u3066\u304f\u3060\u3055\u3044\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Nginx \u30b5\u30fc\u30d0\u30fc\u3067\u306e301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306f\u3069\u3046\u8a2d\u5b9a\u3057\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u8a2d\u5b9a\u65b9\u6cd5\u306f\u308f\u304b\u308a\u307e\u3057\u305f\uff01\u3067\u3082\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3092\u8a2d\u5b9a\u3057\u305f\u306e\u306b\u9806\u4f4d\u304c\u306a\u304b\u306a\u304b\u623b\u3089\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u5f85\u3064\u3057\u304b\u306a\u3044\u3067\u3059\u304b\uff1f\"\n      }\n    }\n  ]\n}\n<\/script>\n\n","protected":false},"excerpt":{"rendered":"<p>301\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u306e\u8a2d\u5b9a\u65b9\u6cd5\u3092WordPress\u30fb.htaccess\u4e21\u5bfe\u5fdc\u3067\u5b8c\u5168\u89e3\u8aac\u3002302\u3068\u306e\u9055\u3044\u30fbSEO\u8a55\u4fa1\u306e\u5f15\u304d\u7d99\u304e\u30fbRedirection\u30d7\u30e9\u30b0\u30a4\u30f3\u306e\u4f7f\u3044\u65b9\u30fb\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u30c1\u30a7\u30fc\u30f3\u306a\u3069NG\u8a2d\u5b9a3\u3064\u3068\u78ba\u8a8d\u65b9\u6cd5\u307e\u3067\u7db2\u7f85\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":2,"featured_media":14503,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"swell_btn_cv_data":"","footnotes":"","vk-ltc-link":"","vk-ltc-target":""},"categories":[9,370],"tags":[],"class_list":["post-13076","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learning-content","category-seo"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts\/13076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/comments?post=13076"}],"version-history":[{"count":10,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts\/13076\/revisions"}],"predecessor-version":[{"id":16224,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/posts\/13076\/revisions\/16224"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/media\/14503"}],"wp:attachment":[{"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/media?parent=13076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/categories?post=13076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/withcode.tech\/media\/wp-json\/wp\/v2\/tags?post=13076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}