{"id":1535,"date":"2017-03-16T21:39:58","date_gmt":"2017-03-16T12:39:58","guid":{"rendered":"http:\/\/43.203.250.216\/?p=1535"},"modified":"2020-12-30T16:05:22","modified_gmt":"2020-12-30T07:05:22","slug":"wordpress-permalink%ea%b3%a0%ec%9c%a0%ec%a3%bc%ec%86%8c-%eb%b3%80%ea%b2%bd","status":"publish","type":"post","link":"https:\/\/litcoder.com\/?p=1535","title":{"rendered":"WordPress permalink(\uace0\uc720\uc8fc\uc18c) \ubcc0\uacbd"},"content":{"rendered":"\n<p><em>WordPress\uc758 permalink(\uace0\uc720\uc8fc\uc18c) \ud615\uc2dd\uc744 \ubcc0\uacbd\ud558\uba74 \uac80\uc0c9 \uc5d4\uc9c4\uc744 \ud3ec\ud568\ud574\uc11c \uc678\ubd80\uc5d0\uc11c \ub4e4\uc5b4 \uc624\ub294 \ub9c1\ud06c\uac00 \ub3d9\uc791\ud558\uc9c0 \uc54a\ub294\ub2e4. \uc11c\ubc84\uc5d0 \ub300\ud55c root\uad8c\ud55c\uc774 \uc5c6\ub2e4\uba74 .htaccess file\uc5d0, \uad8c\ud55c\uc774 \uc788\ub2e4\uba74 apache2.conf\uc5d0 \uc0c8\ub85c\uc6b4 \ud615\uc2dd\uc758 permalink\ub85c \uc5f0\uacb0\ub418\ub3c4\ub85d \uc124\uc815\ud574 \uc8fc\ub294 \uac83\uc73c\ub85c \uc774 \ubb38\uc81c\ub97c \ud574\uacb0 \ud560 \uc218 \uc788\ub2e4.<\/em><\/p>\n\n\n\n<p>\ucc98\uc74c\uc5d0\ub294\u00a0\uc11c\ubc84\ub97c \uc7ac\uc2dc\uc791 \ud560 \ud544\uc694\uac00 \uc5c6\ub294 .htaccess\uc5d0\u00a0\uad00\ub828 \uc124\uc815\uc744 \ud588\uc5c8\ub294\ub370, \u00a0<a href=\"https:\/\/httpd.apache.org\/docs\/2.2\/ko\/howto\/htaccess.html\">\uc544\ud30c\uce58 \ud29c\ud1a0\ub9ac\uc5bc: .htaccess \ud30c\uc77c<\/a>\u00a0\ubb38\uc11c\uc5d0 .htaccess file \uc124\uc815\uc740 \uc131\ub2a5\uc5d0 \uc601\ud5a5\uc744 \ubbf8\uce60 \uc218 \uc788\uc73c\ubbc0\ub85c \uad8c\ud55c\uc774 \uc788\ub294 \uacbd\uc6b0\ub77c\uba74 apache2.conf\uc5d0 \uc124\uc815\ud558\ub77c\ub294 \uc774\uc57c\uae30\uac00 \uc788\uc5b4\uc11c\u00a0\uc774\uac83\uc744\u00a0\uc218\uc815\ud588\ub2e4.<\/p>\n\n\n\n<p>\uba3c\uc800 Apache2\uc758 rewrite module\uc744 enable\ud55c\ub2e4.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$ sudo a2enmod rewrite<\/pre>\n\n\n\n<p>\uadf8\ub2e4\uc74c apache2.conf\uc5d0 \uad00\ub828 \uc124\uc815\uc744 \ucd94\uac00\ud55c\ub2e4.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"ini\" data-enlighter-theme=\"eclipse\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"true\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">#\n# Rewrite settings.\n#\n# Articles\n#    e.g) ~\/archives\/1234 -> ~\/?p=1234\n# Tags\/Categories\n#    e.g) ~\/archives\/tag\/database -> ~\/?tag=database\n# Dates\n#    e.g) ~\/archives\/date\/2013\/02 -> ~\/?m=201302\n&lt;IfModule mod_rewrite.c>\n    RewriteEngine On\n    RedirectMatch 301 ^\/archives\/(\\d+)$ http:\/\/43.203.250.216\/?p=$1\n    RedirectMatch 301 ^\/archives\/(\\w+)\/(\\w+)$ http:\/\/43.203.250.216\/?$1=$2\n    RedirectMatch 301 ^\/archives\/date\/([0-9]{4})\/([0-9]{2})$ http:\/\/43.203.250.216\/?m=$1$2\n&lt;\/IfModule>\n\ufeff\n<\/pre>\n\n\n\n<p>\uc774 \uc124\uc815\uc740 \uc774\uc804\uc758 \/archives\/xxxx \ud615\uc2dd\uc758 \uae00\uc774\ub098, \/archives\/tag\/xxxx \ud615\uc2dd\uc758 tag, \/archives\/yyyy\/mm \ud615\uc2dd\uc758 \ub0a0\uc9dc\ub97c&nbsp;&#8220;Ugly&#8221;\ud55c \uae30\ubcf8 \ud615\uc2dd\uc73c\ub85c \ubcc0\uacbd\ud558\uae30 \uc704\ud55c \uac83\uc774\ub2e4.<\/p>\n\n\n\n<p>\ub9c8\uc9c0\ub9c9\uc73c\ub85c Apache2 \uc11c\ubc84\ub97c \uc7ac\uc2dc\uc791\ud574\uc900\ub2e4.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"raw\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$ sudo service apache2 restart<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\uc758 permalink(\uace0\uc720\uc8fc\uc18c) \ud615\uc2dd\uc744 \ubcc0\uacbd\ud558\uba74 \uac80\uc0c9 \uc5d4\uc9c4\uc744 \ud3ec\ud568\ud574\uc11c \uc678\ubd80\uc5d0\uc11c \ub4e4\uc5b4 \uc624\ub294 \ub9c1\ud06c\uac00 \ub3d9\uc791\ud558\uc9c0 \uc54a\ub294\ub2e4. \uc11c\ubc84\uc5d0 \ub300\ud55c root\uad8c\ud55c\uc774 \uc5c6\ub2e4\uba74 .htaccess file\uc5d0, \uad8c\ud55c\uc774 \uc788\ub2e4\uba74 apache2.conf\uc5d0 \uc0c8\ub85c\uc6b4 \ud615\uc2dd\uc758 permalink\ub85c \uc5f0\uacb0\ub418\ub3c4\ub85d \uc124\uc815\ud574 \uc8fc\ub294 \uac83\uc73c\ub85c \uc774 \ubb38\uc81c\ub97c \ud574\uacb0 \ud560 \uc218 \uc788\ub2e4. \ucc98\uc74c\uc5d0\ub294\u00a0\uc11c\ubc84\ub97c \uc7ac\uc2dc\uc791 \ud560 \ud544\uc694\uac00 \uc5c6\ub294 .htaccess\uc5d0\u00a0\uad00\ub828 \uc124\uc815\uc744 \ud588\uc5c8\ub294\ub370, \u00a0\uc544\ud30c\uce58 \ud29c\ud1a0\ub9ac\uc5bc: .htaccess \ud30c\uc77c\u00a0\ubb38\uc11c\uc5d0 .htaccess file \uc124\uc815\uc740 \uc131\ub2a5\uc5d0 \uc601\ud5a5\uc744 \ubbf8\uce60 \uc218 \uc788\uc73c\ubbc0\ub85c [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4,6],"tags":[15,17,64,96,155],"class_list":["post-1535","post","type-post","status-publish","format-standard","hentry","category-linux","category-tools","tag-apache2","tag-aws","tag-htaccess","tag-permalink","tag-wordpress"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/1535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1535"}],"version-history":[{"count":1,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/1535\/revisions"}],"predecessor-version":[{"id":2731,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/1535\/revisions\/2731"}],"wp:attachment":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}