{"id":29847,"date":"2021-01-17T17:27:32","date_gmt":"2021-01-17T09:27:32","guid":{"rendered":"https:\/\/web.mwwsb.com.my\/pjci\/?post_type=kb&p=29847"},"modified":"2023-05-25T11:17:02","modified_gmt":"2023-05-25T03:17:02","slug":"permalink-in-wordpress-hosting","status":"publish","type":"kb","link":"https:\/\/www.casbay.com\/guide\/kb\/permalink-in-wordpress-hosting","title":{"rendered":"Permalink in WordPress Hosting"},"content":{"rendered":"\t\t
Please take note that due to NGINX setup, the permalink settings that can work is \u201cPLAIN\u201d or \u201cCUSTOM STRUCTURE\u201d.<\/p>
Do not change the permalink settings to any other options or your website will not be visible.\u00a0<\/strong><\/p> Should you accidentally changed the permalink settings to other, you can select again PLAIN or if you select CUSTOM STRUCTURE, make sure you fill in this in the custom field:<\/p> \/index.php\/%year%\/%monthnum%\/%day%\/%postname%\/<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t Permalinks are also among the key parameters<\/strong>\u00a0of any\u00a0WordPress post<\/a>\u00a0and something that you should set right away after\u00a0you launch\u00a0your shiny new website.<\/p> Here\u2019s why:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t Basically, it\u2019s through permalinks that the world identifies the individual pieces of content on your WordPress blog \u2026 as grand as it might sound.<\/p> For instance:<\/p> The main problem with permalinks in WordPress, as great as they are, is that the default permalink setting \u2013 the one that WordPress comes preinstalled with \u2013 isn\u2019t optimized at all.<\/p> If you go to your\u00a0 The chief reason is that a structure like that gives you no possibility to optimize the permalink for neither human beings nor Google (not\u00a0good for your SEO).<\/p> Here\u2019s why:<\/p> Say you publish a piece of content on,\u00a0\u201cWhy Jamon Iberico Is the Greatest Ham in the World.\u201d<\/em>\u00a0If your permalink is:<\/p> Okay, luckily, this is very simple. But the task\u00a0is two-fold:<\/p> In that scenario, #1 will give your site the right structure to work with for the future. And with #2 you can fine-tune the individual permalinks of all your posts and pages.<\/p> Let\u2019s explain both of those quickly:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t To set your permalink structure, go to your\u00a0 Now, why this one?<\/p> Quite simply, it holds the least amount of unneeded clutter\u2026 There are no seemingly random numbers, no dates, no arbitrary words (like \u201carchives\u201d). There\u2019s just the post name that you can control 100% (more on that in the next point).<\/p> Note. Why you don\u2019t want dates in your permalinks? The main reason is that dates discourage your visitors from reading your older content. Any date that\u2019s older than last week (or so) looks like out-of-date information, although it might still be very valid, or might even be evergreen.<\/em><\/p> After you select that new permalink structure (\u201cPost name\u201d), just click \u201cSave Changes\u201d at the bottom of the settings page:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t Another great way to set up permalinks is by using a custom structure. These are permalinks ending with .html or .php extension.<\/p> A user migrates his website with a .html extension in the post\u2019s URL and wants to keep everything almost exactly the same. To make the content easier to crawl for Google bots, i.e., to make it SEO friendly.<\/p> Whatever the case, here\u2019s how to do it:<\/p> We are going to follow the same steps mentioned above, except this time we will use a custom structure.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t Usually, the custom structure will have the following code:<\/p> If you don\u2019t see it, enter the above code in the custom structure box and hit the save button.<\/p> Next, install the WordPress plugin titled\u00a0Add Any Extensions to Pages.<\/p> Once you do that you will be able to open it via\u00a0Settings \u2192 Add Any Extension to Pages<\/strong>. Enter the\u00a0 One final step, go back to Settings \u2192 Permalinks<\/strong>\u00a0and just click on the\u00a0Save Changes<\/strong>\u00a0button without actually changing any of the settings. This will reset the permalinks \u2013 a required step to make the new extensions work.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t Once you have the overall permalink structure set, you can proceed to tweak your individual posts and pages.<\/p> This can be done through each post\u2019s or page\u2019s editing screen. When you\u2019re editing content, you\u2019ll see this little area directly below the title field:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t You can click on the \u201cEdit\u201d button and adjust that permalink.\u00a0A box will appear, and you can put pretty much whatever you wish there:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t However, the standard is to either use the given post\u2019s whole title or some simplified version of it. For example, this post\u2019s title is, \u201cPermalink in WordPress Hosting,\u201d but the permalink part is just, Note:<\/strong> Try not to update the permalink structure once you publish your post or page. One of the main ideas behind permalinks is that they are permanent<\/strong>, hence the name. Changing those links, later on, makes finding your content more difficult for people as well as search engines.<\/em><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t Check out this article about How to Configure the WordPress Permalink Structure<\/a>. For more articles about WordPress Hosting, please visit our Knowledge Base<\/a>.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":" Permalink in WordPress Hosting Please take note that due to NGINX setup, the permalink settings that can work is \u201cPLAIN\u201d or \u201cCUSTOM STRUCTURE\u201d. Do not change the permalink settings to any other options or your website will not be visible.\u00a0 Should you accidentally changed the permalink settings to other, you can select again PLAIN or […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"page-builder","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"kbtopic":[43],"kbtag":[106],"mkb_version":[],"_links":{"self":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/29847"}],"collection":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/comments?post=29847"}],"version-history":[{"count":21,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/29847\/revisions"}],"predecessor-version":[{"id":38251,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kb\/29847\/revisions\/38251"}],"wp:attachment":[{"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/media?parent=29847"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtopic?post=29847"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/kbtag?post=29847"},{"taxonomy":"mkb_version","embeddable":true,"href":"https:\/\/www.casbay.com\/guide\/wp-json\/wp\/v2\/mkb_version?post=29847"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}https:\/\/themeisle.com\/blog\/permalinks-in-wordpress\/<\/code><\/div><\/div>Why permalinks in WordPress are important<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
The problem with permalinks in WordPress<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
wp-admin \/ Settings \/ Permalinks<\/code>\u00a0right after installing WordPress, you\u2019ll see this:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\thttp:\/\/www.YOURSITE.com\/?p=123<\/code><\/pre>\n\n \t
Why is this bad?<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
http:\/\/www.YOURSITE.com\/why-jamon-iberico-is-the-greatest-ham<\/code>\u00a0\u2013 then you\u2019re basically giving everyone a hint as to what this piece of content is about. This goes for both Google and human beings. Every person, algorithm, and bot can decode that information.<\/li>http:\/\/www.YOURSITE.com\/?p=27<\/code>\u00a0\u2013 then no one knows anything. As simple as that.<\/li><\/ul>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\tHow to set permalinks in WordPress<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
1. How to set the permalink structure in WordPress<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
1.1 Setting up a simple permalink structure<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
wp-admin\/Settings\/Permalinks<\/code>. Once there, select this option:<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t1.2 Adding custom permalinks<\/h4>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\/%postname%\/<\/code><\/pre>.html<\/code> or other extensions that you\u2019d like to add and click on\u00a0Update Settings<\/strong>.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t2. How to set the\u00a0individual permalinks for posts\/pages<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\tpermalinks-in-wordpress<\/code>just like you can see above.<\/p>