{"id":3291,"date":"2012-06-08T06:33:09","date_gmt":"2012-06-08T06:33:09","guid":{"rendered":"http:\/\/2slick.com\/web\/?p=3291"},"modified":"2012-08-05T15:07:09","modified_gmt":"2012-08-05T15:07:09","slug":"how-to-change-wordpress-url","status":"publish","type":"post","link":"https:\/\/2slick.com\/web\/how-to-change-wordpress-url\/affordablewebsitestips\/tutorials","title":{"rendered":"How To Change WordPress Url"},"content":{"rendered":"<p>You can easily change a URL on WordPress. You can use the 'Get Shortlink' button to change a particular URL on your WP website, or you can use the 'Permalinks' feature to change all the URLs on your WordPress website.<\/p>\n<p>When you create a WordPress website, the links look something like this by default: <!--DEVFMTCODE--><pre class=\"devcodeblock\" title=\"Javascript\"><table class=\"devcodetools\"><tbody><tr><td>&nbsp;Javascript&nbsp;|&nbsp;<\/td><td style=\"background-image:url('https:\/\/2slick.com\/web\/wp-content\/plugins\/devformatter\/img\/devformatter-copy.png');background-repeat:no-repeat;background-position:50% 50%;width:16px;height:16px;\"\/><embed id=\"ZeroClipboard1\" src=\"https:\/\/2slick.com\/web\/wp-content\/plugins\/devformatter\/_zclipboard.swf\" loop=\"false\" menu=\"false\" quality=\"best\" bgcolor=\"#ffffff\" width=\"16px\" height=\"16px\" align=\"middle\" allowScriptAccess=\"always\" allowFullScreen=\"false\" type=\"application\/x-shockwave-flash\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" flashvars=\"id=1&width=16&height=16\" wmode=\"transparent\" \/><\/td><td>&nbsp;copy&nbsp;code&nbsp;|<\/td><td style=\"cursor:pointer\" title=\"DevFormatter Plugin\" onclick=\"devfmt_credits()\">?<\/td><td width=\"99%\">&nbsp;<\/td><\/tr><\/tbody><\/table><div class=\"devcodeoverflow\"><table class=\"devcodearea\" width=\"100%\"><tr><td class=\"devcodelines\" width=\"1%\">1<\/td><td class=\"devcodelinesarea\"><pre class=\"devcode devcodeline\">http<span style=\"color: #339933;\">:<\/span><span style=\"color: #006600; font-style: italic;\">\/\/2slick.com\/?p=1234<\/pre><\/td><\/tr><\/table><\/div><\/pre><!--END_DEVFMTCODE-->. The '?' throws off certain search engines, and it's annoying to type or remember. Using Permalinks and Shortlinks you can make the same URL look like this <!--DEVFMTCODE--><pre class=\"devcodeblock\" title=\"Javascript\"><table class=\"devcodetools\"><tbody><tr><td>&nbsp;Javascript&nbsp;|&nbsp;<\/td><td style=\"background-image:url('https:\/\/2slick.com\/web\/wp-content\/plugins\/devformatter\/img\/devformatter-copy.png');background-repeat:no-repeat;background-position:50% 50%;width:16px;height:16px;\"\/><embed id=\"ZeroClipboard2\" src=\"https:\/\/2slick.com\/web\/wp-content\/plugins\/devformatter\/_zclipboard.swf\" loop=\"false\" menu=\"false\" quality=\"best\" bgcolor=\"#ffffff\" width=\"16px\" height=\"16px\" align=\"middle\" allowScriptAccess=\"always\" allowFullScreen=\"false\" type=\"application\/x-shockwave-flash\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" flashvars=\"id=2&width=16&height=16\" wmode=\"transparent\" \/><\/td><td>&nbsp;copy&nbsp;code&nbsp;|<\/td><td style=\"cursor:pointer\" title=\"DevFormatter Plugin\" onclick=\"devfmt_credits()\">?<\/td><td width=\"99%\">&nbsp;<\/td><\/tr><\/tbody><\/table><div class=\"devcodeoverflow\"><table class=\"devcodearea\" width=\"100%\"><tr><td class=\"devcodelines\" width=\"1%\">1<\/td><td class=\"devcodelinesarea\"><pre class=\"devcode devcodeline\">http<span style=\"color: #339933;\">:<\/span><span style=\"color: #006600; font-style: italic;\">\/\/2slick.com\/about<\/pre><\/td><\/tr><\/table><\/div><\/pre><!--END_DEVFMTCODE-->. Below are examples on how to change the WordPress URL using the two methods.<\/p>\n<p>Every WordPress website owner should set up their permalinks option so that all the links on the site are attractive and\u00a0intuitive.<\/p>\n<h3>WordPress custom link\u00a0Permalinks<\/h3>\n<ol>\n<li>Log into your WordPress website.<\/li>\n<li>Click on Settings.<\/li>\n<li>Click on Permalinks.<\/li>\n<li>Check the option 'Custom Structure' and enter your custom structure code in the field. I\u00a0recommend\u00a0using <!--DEVFMTCODE--><pre class=\"devcodeblock\" title=\"Javascript\"><table class=\"devcodetools\"><tbody><tr><td>&nbsp;Javascript&nbsp;|&nbsp;<\/td><td style=\"background-image:url('https:\/\/2slick.com\/web\/wp-content\/plugins\/devformatter\/img\/devformatter-copy.png');background-repeat:no-repeat;background-position:50% 50%;width:16px;height:16px;\"\/><embed id=\"ZeroClipboard3\" src=\"https:\/\/2slick.com\/web\/wp-content\/plugins\/devformatter\/_zclipboard.swf\" loop=\"false\" menu=\"false\" quality=\"best\" bgcolor=\"#ffffff\" width=\"16px\" height=\"16px\" align=\"middle\" allowScriptAccess=\"always\" allowFullScreen=\"false\" type=\"application\/x-shockwave-flash\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" flashvars=\"id=3&width=16&height=16\" wmode=\"transparent\" \/><\/td><td>&nbsp;copy&nbsp;code&nbsp;|<\/td><td style=\"cursor:pointer\" title=\"DevFormatter Plugin\" onclick=\"devfmt_credits()\">?<\/td><td width=\"99%\">&nbsp;<\/td><\/tr><\/tbody><\/table><div class=\"devcodeoverflow\"><table class=\"devcodearea\" width=\"100%\"><tr><td class=\"devcodelines\" width=\"1%\">1<\/td><td class=\"devcodelinesarea\"><pre class=\"devcode devcodeline\"><span style=\"color: #339933;\">\/%<\/span>postname<span style=\"color: #339933;\">%\/<\/span><\/pre><\/td><\/tr><\/table><\/div><\/pre><!--END_DEVFMTCODE--><br \/>\n<a href=\"http:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/06\/custom_structure.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3566\" style=\"border: 1px solid black;\" title=\"custom_structure\" src=\"http:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/06\/custom_structure.jpg\" alt=\"\" width=\"362\" height=\"72\" srcset=\"https:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/06\/custom_structure.jpg 362w, https:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/06\/custom_structure-300x59.jpg 300w\" sizes=\"auto, (max-width: 362px) 100vw, 362px\" \/><\/a><\/li>\n<li>Click the \"Save Changes' button.<br \/>\nNow all your WordPress website links will be pretty and include the post and page name instead of '?p=123'.<br \/>\nThe full list of custom structure variables:<strong>%year%<\/strong> -\u00a0The year of the post, four digits, for example\u00a0<tt>2004<\/tt><br \/>\n<strong>%monthnum%<\/strong> -\u00a0Month of the year, for example\u00a0<tt>05<\/tt><br \/>\n<strong>%day%<\/strong> -\u00a0Day of the month, for example\u00a0<tt>28<\/tt><br \/>\n<strong>%hour%<\/strong> -\u00a0Hour of the day, for example\u00a0<tt>15<\/tt><br \/>\n<strong>%minute%<\/strong> -\u00a0Minute of the hour, for example\u00a0<tt>43<\/tt><br \/>\n<strong>%second%<\/strong> -\u00a0Second of the minute, for example\u00a0<tt>33<\/tt><br \/>\n<strong>%post_id%<\/strong> -\u00a0The unique ID # of the post, for example\u00a0<tt>423<\/tt><br \/>\n<strong>%postname%<\/strong> -\u00a0A sanitized version of the title of the post (<em>post slug<\/em> field on Edit Post\/Page panel). So \u201cThis Is A Great Post!\u201d becomes\u00a0<tt>this-is-a-great-post<\/tt> in the URI.<br \/>\n<strong>%category%<\/strong> -\u00a0A sanitized version of the category name (<em>category slug<\/em> field on New\/Edit Category panel). Nested sub-categories appear as nested directories in the URI.<br \/>\n<strong>%author%<\/strong> -\u00a0A sanitized version of the author name.<\/p>\n<p>If you still need help learning hot to change WordPress url visit\u00a0the official post on permalinks visit:\u00a0<a href=\"http:\/\/codex.wordpress.org\/Using_Permalinks\">http:\/\/codex.wordpress.org\/Using_Permalinks<\/a><\/li>\n<\/ol>\n<h3>WordPress custom link\u00a0Shortlinks<\/h3>\n<ol>\n<li>Log into your WordPress website.<\/li>\n<li>Go to a page or post that you want to change the URL for.<\/li>\n<li>When you arrive at your page or post you will see 'Permalink' just under the title field.<\/li>\n<li>Click the 'Get Shortlink' button.<\/li>\n<li>I\u00a0recommend\u00a0just changing the '?p=3291' portion of the link with letters and numbers characters.<\/li>\n<li>Click the 'OK' button.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>You can easily change a URL on WordPress. You can use the &#8216;Get Shortlink&#8217; button to change a particular URL on your WP website, or you can use the &#8216;Permalinks&#8217; feature to change all the URLs on your WordPress website. When you create a WordPress website, the links look something like this by default: &nbsp;Javascript&nbsp;|&nbsp;&nbsp;copy&nbsp;code&nbsp;|?&nbsp;1http:\/\/2slick.com\/?p=1234. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3565,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,298,4,6],"tags":[419,213,400,69],"class_list":["post-3291","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-affordablewebsitestips","category-how-to-blog","category-tutorials","category-wordpress","tag-get-shortlink","tag-permalink","tag-url","tag-wordpress-2"],"_links":{"self":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts\/3291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/comments?post=3291"}],"version-history":[{"count":5,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts\/3291\/revisions"}],"predecessor-version":[{"id":5242,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts\/3291\/revisions\/5242"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/media\/3565"}],"wp:attachment":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/media?parent=3291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/categories?post=3291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/tags?post=3291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}