{"id":13120,"date":"2018-12-09T14:02:56","date_gmt":"2018-12-09T14:02:56","guid":{"rendered":"https:\/\/www.hostinger.com\/tutorials\/?p=13120"},"modified":"2026-03-09T19:19:56","modified_gmt":"2026-03-09T19:19:56","slug":"what-is-a-wordpress-slug","status":"publish","type":"post","link":"\/ng\/tutorials\/what-is-a-wordpress-slug\/","title":{"rendered":"What is a WordPress slug: how to change it and optimize for SEO"},"content":{"rendered":"<?xml encoding=\"utf-8\" ?><p>WordPress uses a slug to identify different posts and pages. Optimizing every WordPress slug in your website can improve user experience and rankings on <strong>search engine results pages (SERPs)<\/strong>.<\/p><p>This article will explain what a WordPress slug is and the steps to change and optimize it.<\/p><p>\n\n\n<div class=\"protip\"><div class=\"protip__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M1.49234 23.5024C1.23229 23.5024 0.972242 23.4024 0.782206 23.2123C0.562165 22.9923 0.452144 22.6822 0.502153 22.3722C0.562165 21.9221 1.14227 17.9113 3.00262 16.351C3.63274 15.8209 4.43289 15.5509 5.26305 15.5609C6.09321 15.5909 6.87335 15.9109 7.47347 16.4911C8.6937 17.6913 8.76371 19.6717 7.6435 20.9919C6.0832 22.8523 2.08245 23.4324 1.63237 23.4924C1.59236 23.4924 1.54235 23.4924 1.50234 23.4924L1.49234 23.5024ZM5.16303 17.5613C4.84297 17.5613 4.53291 17.6713 4.29287 17.8813C3.60274 18.4614 3.07264 19.9317 2.75258 21.242C4.06282 20.9219 5.5331 20.3918 6.11321 19.7017C6.55329 19.1716 6.54329 18.3814 6.0832 17.9213C5.85316 17.7013 5.5431 17.5713 5.20304 17.5613C5.19304 17.5613 5.17303 17.5613 5.16303 17.5613ZM11.7243 21.8821C11.4942 21.8821 11.2642 21.8021 11.0841 21.652C10.8541 21.462 10.7241 21.1819 10.7241 20.8819V15.9109L8.08358 13.2705H3.11264C2.81259 13.2705 2.53254 13.1404 2.3425 12.9104C2.15246 12.6803 2.07245 12.3803 2.12246 12.0902C2.19247 11.7102 2.84259 8.36953 4.70294 7.12929C6.33325 6.04909 8.96375 6.49918 10.244 6.80923C11.5442 4.96889 13.2546 3.4286 15.2349 2.33839C17.4553 1.11816 19.9858 0.518051 22.4963 0.498047C23.0464 0.498047 23.4865 0.948132 23.4865 1.49824C23.4865 5.0389 22.3763 9.97983 17.1753 13.7605C17.4853 15.0408 17.9354 17.6613 16.8552 19.2816C15.615 21.1419 12.2744 21.7921 11.8943 21.8621C11.8343 21.8721 11.7743 21.8821 11.7143 21.8821H11.7243ZM12.7245 16.181V19.6016C13.7146 19.2916 14.7948 18.7915 15.2049 18.1814C15.675 17.4812 15.605 16.091 15.385 14.9008C14.5248 15.3808 13.6346 15.8109 12.7245 16.181ZM9.66388 12.0302L11.9643 14.3307C13.1845 13.8306 14.3648 13.2204 15.485 12.5103C19.9358 9.51974 21.2361 5.60901 21.4561 2.53843C19.6157 2.67846 17.8254 3.20856 16.2051 4.09872C14.2847 5.14892 12.6544 6.68921 11.4942 8.54956C10.7841 9.65977 10.174 10.82 9.66388 12.0302ZM4.39289 11.2701H7.81353C8.1936 10.3599 8.63368 9.46974 9.11377 8.60957C7.92355 8.38953 6.51329 8.31952 5.81315 8.78961C5.19304 9.19968 4.70294 10.3099 4.39289 11.2701Z\" fill=\"#673DE6\"\/>\n                <\/svg>\n                <p class=\"protip__title\">\n                   What Is a WordPress Slug?\n                <\/p>\n            <\/div>\n            <p class=\"protip__content\">A WordPress slug is a part of a URL that identifies a specific page or post on a website. It is the user-friendly version of a post or page&rsquo;s title and appears after the domain name. Slugs should be short, descriptive, and relevant to the content they represent.<\/p><\/div>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-change-the-post-slug-in-wordpress\">How to Change the Post Slug in WordPress<\/h2><p>Changing the default website slug helps visitors and search engines understand your content better. When editing slugs, WordPress will follow these two basic rules:<\/p><ul class=\"wp-block-list\">\n<li>Replace spaces with dashes<\/li>\n\n\n\n<li>Only use lowercase letters<\/li>\n<\/ul><p>To customize the default slug in WordPress, head to <strong>Dashboard -&gt; Settings -&gt; Permalinks<\/strong>. Under <strong>Permalink Settings -&gt; Common Settings<\/strong>, choose the best permalink structure for your content.<\/p><p>If you choose <strong>Custom Structure<\/strong>, you can select multiple settings for the permalink makeup.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-permalink-settings.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1217\" height=\"878\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-permalink-settings.png\/w=1024,h=1024,fit=scale-down\" alt=\"WordPress permalink settings\n\" class=\"wp-image-70631\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-permalink-settings.png\/w=1217,fit=scale-down 1217w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-permalink-settings.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-permalink-settings.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-permalink-settings.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-permalink-settings.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1217px) 100vw, 1217px\" \/><\/a><\/figure><\/div><p><div class=\"announcement-block announcement-block--important\">\n            <span class=\"announcement-block__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path fill-rule=\"evenodd\" clip-rule=\"evenodd\"\n                          d=\"M12 22.5C17.799 22.5 22.5 17.799 22.5 12C22.5 6.20101 17.799 1.5 12 1.5C6.20101 1.5 1.5 6.20101 1.5 12C1.5 17.799 6.20101 22.5 12 22.5ZM13.637 7.65198C13.637 6.74791 12.9041 6.01501 12 6.01501C11.0959 6.01501 10.363 6.74791 10.363 7.65198C10.5335 9.53749 10.875 13.383 10.875 13.383C10.875 14.0043 11.3787 14.508 12 14.508C12.6213 14.508 13.125 14.0043 13.125 13.383V13.38L13.637 7.65198ZM11.9927 15.714C11.3714 15.714 10.8677 16.2177 10.8677 16.839C10.8677 17.4603 11.3714 17.964 11.9927 17.964H12.0073C12.6286 17.964 13.1323 17.4603 13.1323 16.839C13.1323 16.2177 12.6286 15.714 12.0073 15.714H11.9927Z\"\n                          fill=\"#FEA419\"\/>\n                <\/svg>\n                Important\n            <\/span>\n            <p class=\"announcement-block__content\">\n                <strong>Important!<\/strong> We recommend setting the slug before publishing your first blog post or page.\n            <\/p><\/div>\n\n\n\n<\/p><p>There is also the option to change the slug on your posts, pages, categories, tags, and authors.<\/p><h3 class=\"wp-block-heading\">How to Change the WordPress Post Slug<\/h3><p>Changing your post slug can be done on the <a href=\"\/ng\/tutorials\/wordpress-text-editor\/\">WordPress text editor<\/a> or using the <strong>Quick Edit<\/strong> feature on the dashboard.<\/p><p>If you want to change the slug before publishing a new post, click <strong>Save draft<\/strong>. This step is the same with Gutenberg and classic editors.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2018\/12\/The-save-draft-button-on-WordPress-editor.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1073\" height=\"483\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/The-save-draft-button-on-WordPress-editor.png\/w=1024,h=1024,fit=scale-down\" alt=\"The save draft button on WordPress editor\n\" class=\"wp-image-70632\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/The-save-draft-button-on-WordPress-editor.png\/w=1073,fit=scale-down 1073w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/The-save-draft-button-on-WordPress-editor.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/The-save-draft-button-on-WordPress-editor.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/The-save-draft-button-on-WordPress-editor.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/The-save-draft-button-on-WordPress-editor.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1073px) 100vw, 1073px\" \/><\/a><\/figure><\/div><p>For <a href=\"\/ng\/tutorials\/gutenberg-wordpress\/\">Gutenberg block editor<\/a> users, open the <strong>Permalink<\/strong> section and make your changes in the <strong>URL Slug<\/strong> box.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-example-for-posts-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1073\" height=\"533\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-example-for-posts-1.png\/w=1024,h=1024,fit=scale-down\" alt=\"A WordPress slug example for posts\" class=\"wp-image-71634\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-example-for-posts-1.png\/w=1073,fit=scale-down 1073w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-example-for-posts-1.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-example-for-posts-1.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-example-for-posts-1.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-example-for-posts-1.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1073px) 100vw, 1073px\" \/><\/a><\/figure><\/div><p>With the classic editor, the <strong>Permalink<\/strong> is available under the <strong>Post Title<\/strong>. Click <strong>Edit<\/strong> to change your post slug.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-classic-editor.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1014\" height=\"562\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-classic-editor.png\/public\" alt=\"A WordPress slug classic editor\n\" class=\"wp-image-70634\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-classic-editor.png\/w=1014,fit=scale-down 1014w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-classic-editor.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-classic-editor.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-classic-editor.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1014px) 100vw, 1014px\" \/><\/a><\/figure><\/div><p>Another option is to change your post slug using the<strong> WordPress dashboard&rsquo;s Quick Edit <\/strong>feature:<\/p><ol class=\"wp-block-list\">\n<li>Head to <strong>Dashboard -&gt; Posts -&gt; All Posts<\/strong> and click on the <strong>Quick Edit <\/strong>button under the blog post.<\/li>\n\n\n\n<li>Edit the post slug and click <strong>Update<\/strong> to finalize the new post slug.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-quick-edit-for-slugs.png\"><img loading=\"lazy\" decoding=\"async\" width=\"985\" height=\"462\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-quick-edit-for-slugs.png\/public\" alt=\"WordPress quick edit for slugs\n\" class=\"wp-image-70638\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-quick-edit-for-slugs.png\/w=985,fit=scale-down 985w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-quick-edit-for-slugs.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-quick-edit-for-slugs.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-quick-edit-for-slugs.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 985px) 100vw, 985px\" \/><\/a><\/figure><\/div><h3 class=\"wp-block-heading\" id=\"h-how-to-change-the-wordpress-page-slug\">How to Change the WordPress Page Slug<\/h3><p>Changing the website slug for a WordPress page can also be done using the editor or the <strong>Quick Edit<\/strong> feature. The same steps as editing post slugs apply, except you should head to <strong>Dashboard -&gt; Pages<\/strong> instead.<\/p><h3 class=\"wp-block-heading\" id=\"h-how-to-change-the-wordpress-tag-and-category-slug\">How to Change the WordPress Tag and Category Slug<\/h3><p>Every WordPress tag and <a href=\"\/ng\/tutorials\/wordpress-category-page\/\">category page<\/a> has its own slug.<\/p><p>Here are the steps to customize the slug of a new category:<\/p><ol class=\"wp-block-list\">\n<li>Head to <strong>Dashboard -&gt; Posts -&gt; Categories<\/strong>.<\/li>\n\n\n\n<li>Under <strong>Add New Category<\/strong>, fill out the <strong>Slug<\/strong> section to create your own. WordPress will automatically use the category name as its slug if you leave the section blank.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-example-for-categories.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1204\" height=\"680\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-example-for-categories.png\/w=1024,h=1024,fit=scale-down\" alt=\"WordPress quick edit for slugs\" class=\"wp-image-70637\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-example-for-categories.png\/w=1204,fit=scale-down 1204w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-example-for-categories.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-example-for-categories.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-example-for-categories.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/A-WordPress-slug-example-for-categories.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1204px) 100vw, 1204px\" \/><\/a><\/figure><\/div><p>To edit a published category slug, follow these steps:<\/p><ol class=\"wp-block-list\">\n<li>Click on the <strong>Quick Edit <\/strong>button under the category.<\/li>\n\n\n\n<li>Make your changes on the <strong>Slug <\/strong>section and click <strong>Update Category<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-quick-edit-for-categories-slug.png\"><img loading=\"lazy\" decoding=\"async\" width=\"777\" height=\"525\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-quick-edit-for-categories-slug.png\/public\" alt=\"WordPress quick edit for categories slug\n\" class=\"wp-image-70639\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-quick-edit-for-categories-slug.png\/w=777,fit=scale-down 777w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-quick-edit-for-categories-slug.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-quick-edit-for-categories-slug.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-quick-edit-for-categories-slug.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 777px) 100vw, 777px\" \/><\/a><\/figure><\/div><p>The process is the same with <a href=\"\/ng\/tutorials\/wordpress-tags\/\">WordPress tags<\/a>. But instead, you must head to <strong>Dashboard -&gt; Posts -&gt; Tags <\/strong>to customize tag slugs.<\/p><h3 class=\"wp-block-heading\" id=\"h-how-to-change-the-wordpress-author-slug\">How to Change the WordPress Author Slug<\/h3><p>A WordPress website with multiple authors can customize the original slug for better consistency.<\/p><p>By default, WordPress will use the username as the author slug. With the right plugin, such as <a href=\"https:\/\/wordpress.org\/plugins\/edit-author-slug\/\">Edit Author Slug<\/a>, you can change and optimize it.<\/p><p>Follow these steps after installing and activating the plugin:<\/p><ol class=\"wp-block-list\">\n<li>Head to <strong>Dashboard -&gt; Users -&gt; All Users<\/strong>.<\/li>\n\n\n\n<li>Choose the user and click <strong>Edit<\/strong>.<\/li>\n\n\n\n<li>Find the <strong>Edit Author Slug<\/strong> section. Choose the<strong> Custom<\/strong> option to customize it accordingly.<\/li>\n\n\n\n<li>Click <strong>Update Profile<\/strong> to save the settings.<\/li>\n<\/ol><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><a href=\"\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-edit-author-slug.png\"><img loading=\"lazy\" decoding=\"async\" width=\"656\" height=\"310\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-edit-author-slug.png\/public\" alt=\"WordPress edit author slug\n\" class=\"wp-image-70640\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-edit-author-slug.png\/w=656,fit=scale-down 656w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-edit-author-slug.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/WordPress-edit-author-slug.png\/w=150,fit=scale-down 150w\" sizes=\"auto, (max-width: 656px) 100vw, 656px\" \/><\/a><\/figure><\/div><p>Keep in mind that authors must create a user account first before editing the slug.<\/p><figure class=\"wp-block-image size-large\"><a class=\"hgr-tutorials-cta hgr-tutorials-cta-wordpress-hosting\" href=\"\/ng\/wordpress-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"600\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=1024,h=1024,fit=scale-down\" alt=\"\" class=\"wp-image-111781\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=2048,fit=scale-down 2048w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=768,fit=scale-down 768w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner.png\/w=1536,fit=scale-down 1536w\" sizes=\"auto, (max-width: 2048px) 100vw, 2048px\" \/><\/a><\/figure><h2 class=\"wp-block-heading\" id=\"h-how-to-optimize-wordpress-slugs-for-seo\">How to Optimize WordPress Slugs for SEO<\/h2><p>Optimizing every slug in your WordPress website can help improve rankings on SERPs and drive more traffic.<\/p><p>Here are some <a href=\"\/ng\/tutorials\/what-is-seo\/\">search engine optimization (SEO)<\/a> tips for your slug URL:<\/p><h3 class=\"wp-block-heading\" id=\"h-target-your-seo-keywords\">Target Your SEO Keywords<\/h3><p>Search engines and readers look at the URL to determine the WordPress page&rsquo;s content. Therefore, including the focus keyword is an essential slug SEO method.<\/p><p>For example, the focus keyword you&rsquo;re targeting for a blog post is &ldquo;best hosting providers&rdquo;. Therefore, an ideal slug for that post is <strong>www.example.com\/best-hosting-providers<\/strong>.<\/p><h3 class=\"wp-block-heading\" id=\"h-keep-it-simple-yet-descriptive\">Keep It Simple Yet Descriptive<\/h3><p>A post slug does not have to be as long as its title. Keeping your slugs short makes them more user-friendly, improving the chances of ranking higher in SERPs.<\/p><p>Take a look at our Hostinger Blog post as an example. Although the post title is &ldquo;World Photography Day 2022: 4 Lessons From Photographers On How They Went Pro&rdquo;, the SEO slug is simply &ldquo;world-photography-day&rdquo;.<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"\/ng\/tutorials\/wp-content\/uploads\/sites\/2\/2018\/12\/Hostinger-Blog-example.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"549\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/Hostinger-Blog-example.png\/w=1024,h=1024,fit=scale-down\" alt=\"Hostinger Blog example\n\" class=\"wp-image-70641\" srcset=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/Hostinger-Blog-example.png\/w=1024,fit=scale-down 1024w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/Hostinger-Blog-example.png\/w=300,fit=scale-down 300w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/Hostinger-Blog-example.png\/w=150,fit=scale-down 150w, https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/2\/2018\/12\/Hostinger-Blog-example.png\/w=768,fit=scale-down 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><h3 class=\"wp-block-heading\" id=\"h-remove-unnecessary-words\">Remove Unnecessary Words<\/h3><p>Deleting unnecessary words from your slugs can make them more readable. If readers can still understand the slug without certain words, exclude them.<\/p><p>For example, remove pronouns and prepositions like: a, the, to, on, in, and at.<\/p><h3 class=\"wp-block-heading\" id=\"h-avoid-using-dates-and-numbers\">Avoid Using Dates and Numbers<\/h3><p>Always consider how your slug will look like as time passes. Although updating the post name and content is possible, changing the slug can influence traffic and rankings.<\/p><p>Therefore, avoid using dates and years to keep the content evergreen. Using numbers can also be tricky as it may change in the future.<\/p><p>For instance, instead of using &ldquo;8-ways-to-make-money-online-in-2025&rdquo; as your slug, we recommend changing it to &ldquo;make-money-online&rdquo; instead.<\/p><h3 class=\"wp-block-heading\" id=\"h-use-redirects\">Use Redirects<\/h3><p>Changing the slug after publishing the post or page will change the whole URL. So, users and search engines might not find the new slug without redirection. Using a redirect can also help avoid broken links on your website.<\/p><p>Use a plugin like <a href=\"https:\/\/wordpress.org\/plugins\/redirection\/\">Redirection<\/a> to set up 301 redirects for posts and pages.<\/p><p>        <div class=\"protip\">\n            <div class=\"protip__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M1.49234 23.5024C1.23229 23.5024 0.972242 23.4024 0.782206 23.2123C0.562165 22.9923 0.452144 22.6822 0.502153 22.3722C0.562165 21.9221 1.14227 17.9113 3.00262 16.351C3.63274 15.8209 4.43289 15.5509 5.26305 15.5609C6.09321 15.5909 6.87335 15.9109 7.47347 16.4911C8.6937 17.6913 8.76371 19.6717 7.6435 20.9919C6.0832 22.8523 2.08245 23.4324 1.63237 23.4924C1.59236 23.4924 1.54235 23.4924 1.50234 23.4924L1.49234 23.5024ZM5.16303 17.5613C4.84297 17.5613 4.53291 17.6713 4.29287 17.8813C3.60274 18.4614 3.07264 19.9317 2.75258 21.242C4.06282 20.9219 5.5331 20.3918 6.11321 19.7017C6.55329 19.1716 6.54329 18.3814 6.0832 17.9213C5.85316 17.7013 5.5431 17.5713 5.20304 17.5613C5.19304 17.5613 5.17303 17.5613 5.16303 17.5613ZM11.7243 21.8821C11.4942 21.8821 11.2642 21.8021 11.0841 21.652C10.8541 21.462 10.7241 21.1819 10.7241 20.8819V15.9109L8.08358 13.2705H3.11264C2.81259 13.2705 2.53254 13.1404 2.3425 12.9104C2.15246 12.6803 2.07245 12.3803 2.12246 12.0902C2.19247 11.7102 2.84259 8.36953 4.70294 7.12929C6.33325 6.04909 8.96375 6.49918 10.244 6.80923C11.5442 4.96889 13.2546 3.4286 15.2349 2.33839C17.4553 1.11816 19.9858 0.518051 22.4963 0.498047C23.0464 0.498047 23.4865 0.948132 23.4865 1.49824C23.4865 5.0389 22.3763 9.97983 17.1753 13.7605C17.4853 15.0408 17.9354 17.6613 16.8552 19.2816C15.615 21.1419 12.2744 21.7921 11.8943 21.8621C11.8343 21.8721 11.7743 21.8821 11.7143 21.8821H11.7243ZM12.7245 16.181V19.6016C13.7146 19.2916 14.7948 18.7915 15.2049 18.1814C15.675 17.4812 15.605 16.091 15.385 14.9008C14.5248 15.3808 13.6346 15.8109 12.7245 16.181ZM9.66388 12.0302L11.9643 14.3307C13.1845 13.8306 14.3648 13.2204 15.485 12.5103C19.9358 9.51974 21.2361 5.60901 21.4561 2.53843C19.6157 2.67846 17.8254 3.20856 16.2051 4.09872C14.2847 5.14892 12.6544 6.68921 11.4942 8.54956C10.7841 9.65977 10.174 10.82 9.66388 12.0302ZM4.39289 11.2701H7.81353C8.1936 10.3599 8.63368 9.46974 9.11377 8.60957C7.92355 8.38953 6.51329 8.31952 5.81315 8.78961C5.19304 9.19968 4.70294 10.3099 4.39289 11.2701Z\" fill=\"#673DE6\"\/>\n                <\/svg>\n                <p class=\"protip__title\">\n                    Pro Tip                <\/p>\n            <\/div>\n            <p class=\"protip__content\"> Check out what <a href=\"\/ng\/wordpress-hosting\">WordPress managed hosting plans<\/a> Hostinger has to offer. All plans include an SSL certificate, multiple data centers, and dedicated support. You're one click away from fast, secure, and scalable WordPress hosting.<\/p>\n                    <\/div>\n        \n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>A slug in WordPress is a customizable part of a URL. It helps direct visitors and search engines to understand your content better.<\/p><p>This article has explained how to change the slug for your WordPress page, blog post, category, tag, and author.<\/p><p>We have also shared ways to optimize slugs by including focus keywords and keeping them short.<\/p><p>        <div class=\"protip\">\n            <div class=\"protip__heading\">\n                <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                    <path d=\"M1.49234 23.5024C1.23229 23.5024 0.972242 23.4024 0.782206 23.2123C0.562165 22.9923 0.452144 22.6822 0.502153 22.3722C0.562165 21.9221 1.14227 17.9113 3.00262 16.351C3.63274 15.8209 4.43289 15.5509 5.26305 15.5609C6.09321 15.5909 6.87335 15.9109 7.47347 16.4911C8.6937 17.6913 8.76371 19.6717 7.6435 20.9919C6.0832 22.8523 2.08245 23.4324 1.63237 23.4924C1.59236 23.4924 1.54235 23.4924 1.50234 23.4924L1.49234 23.5024ZM5.16303 17.5613C4.84297 17.5613 4.53291 17.6713 4.29287 17.8813C3.60274 18.4614 3.07264 19.9317 2.75258 21.242C4.06282 20.9219 5.5331 20.3918 6.11321 19.7017C6.55329 19.1716 6.54329 18.3814 6.0832 17.9213C5.85316 17.7013 5.5431 17.5713 5.20304 17.5613C5.19304 17.5613 5.17303 17.5613 5.16303 17.5613ZM11.7243 21.8821C11.4942 21.8821 11.2642 21.8021 11.0841 21.652C10.8541 21.462 10.7241 21.1819 10.7241 20.8819V15.9109L8.08358 13.2705H3.11264C2.81259 13.2705 2.53254 13.1404 2.3425 12.9104C2.15246 12.6803 2.07245 12.3803 2.12246 12.0902C2.19247 11.7102 2.84259 8.36953 4.70294 7.12929C6.33325 6.04909 8.96375 6.49918 10.244 6.80923C11.5442 4.96889 13.2546 3.4286 15.2349 2.33839C17.4553 1.11816 19.9858 0.518051 22.4963 0.498047C23.0464 0.498047 23.4865 0.948132 23.4865 1.49824C23.4865 5.0389 22.3763 9.97983 17.1753 13.7605C17.4853 15.0408 17.9354 17.6613 16.8552 19.2816C15.615 21.1419 12.2744 21.7921 11.8943 21.8621C11.8343 21.8721 11.7743 21.8821 11.7143 21.8821H11.7243ZM12.7245 16.181V19.6016C13.7146 19.2916 14.7948 18.7915 15.2049 18.1814C15.675 17.4812 15.605 16.091 15.385 14.9008C14.5248 15.3808 13.6346 15.8109 12.7245 16.181ZM9.66388 12.0302L11.9643 14.3307C13.1845 13.8306 14.3648 13.2204 15.485 12.5103C19.9358 9.51974 21.2361 5.60901 21.4561 2.53843C19.6157 2.67846 17.8254 3.20856 16.2051 4.09872C14.2847 5.14892 12.6544 6.68921 11.4942 8.54956C10.7841 9.65977 10.174 10.82 9.66388 12.0302ZM4.39289 11.2701H7.81353C8.1936 10.3599 8.63368 9.46974 9.11377 8.60957C7.92355 8.38953 6.51329 8.31952 5.81315 8.78961C5.19304 9.19968 4.70294 10.3099 4.39289 11.2701Z\" fill=\"#673DE6\"\/>\n                <\/svg>\n                <p class=\"protip__title\">\n                    Learn More About WordPress                <\/p>\n            <\/div>\n            <p class=\"protip__content\"><a href=\"\/ng\/tutorials\/what-is-wordpress\/\">What is WordPress<\/a><br>\n<a href=\"\/ng\/tutorials\/how-to-secure-wordpress\/\">Guide to WordPress Security<\/a><br>\n<a href=\"\/ng\/tutorials\/change-wordpress-username\/\">How to Change Username in WordPress<\/a><br>\n<a href=\"\/ng\/tutorials\/how-to-install-wordpress\/\">How to Install WordPress<\/a><br>\n<a href=\"\/ng\/tutorials\/wordpress-widgets\/\">Guide to WordPress Widgets<\/a><br>\n<a href=\"\/ng\/tutorials\/wordpress\/how-to-login-to-wordpress-dashboard\/\">How to Login to WordPress<\/a><br>\n<a href=\"\/ng\/tutorials\/wordpress-smtp\/\">How to Use SMTP in WordPress to Send Emails<\/a><br>\n<a href=\"\/ng\/tutorials\/how-to-make-a-wordpress-site-live\/\">How to Make a WordPress Site Live<\/a><br>\n<a href=\"\/ng\/tutorials\/how-to-duplicate-wordpress-page-or-post\/\">How to Duplicate Pages in WordPress<\/a><\/p>\n                    <\/div>\n        \n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-frequently-asked-questions-about-wordpress-slug\">Frequently Asked Questions about WordPress Slug<\/h2><p>In this article, we have discussed what is a URL slug and ways to change and optimize it. Here are some frequently asked questions to understand the topic better.<\/p><div class=\"schema-faq wp-block-yoast-faq-block\"><div class=\"schema-faq-section\" id=\"faq-question-1669396231768\"><h3 class=\"schema-faq-question\">Why Is URL Slug Important?<\/h3> <p class=\"schema-faq-answer\">A URL slug in WordPress can direct visitors and search engines to a specific web page. In addition, a page and post slug can help explain your content better.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1669396241026\"><h3 class=\"schema-faq-question\">What Is the Difference Between a Slug and a Permalink?<\/h3> <p class=\"schema-faq-answer\"><a href=\"\/ng\/tutorials\/what-is-a-permalink\/\">Permalinks<\/a> are permanent URLs of your web pages. They often consist of the domain and the slug.<br><br>For example, if a page&rsquo;s permalink is <strong>https:\/\/www.example.com\/focus-keyword<\/strong>, then the slug is <strong>focus-keyword<\/strong>.&nbsp;<br><br>Depending on your permalink structure, it can also include dates and categories. Therefore, it is possible to have two posts with the same slug but different permalinks.<\/p> <\/div> <div class=\"schema-faq-section\" id=\"faq-question-1669396257459\"><h3 class=\"schema-faq-question\">How Important Is Slug for SEO?<\/h3> <p class=\"schema-faq-answer\">Writing a good slug is essential for <a href=\"\/ng\/tutorials\/wordpress-seo-tips\/\">WordPress SEO<\/a> as it influences user experience and rankings. By customizing the page and post slug in WordPress, you can include the focus keyword to rank higher in SERPs.<\/p> <\/div> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>WordPress uses a slug to identify different posts and pages. Optimizing every WordPress slug in your website can improve user experience and rankings on search engine results pages (SERPs). This article will explain what a WordPress slug is and the steps to change and optimize it. How to Change the Post Slug in WordPress Changing [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/ng\/tutorials\/what-is-a-wordpress-slug\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":145253,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"WordPress Slug: What It Is, How to Change It + Tips for SEO","rank_math_description":"A WordPress slug is the text after your domain that leads visitors to your content. Learn how to change slugs in WordPress and optimize them.","rank_math_focus_keyword":"wordpress slug","footnotes":""},"categories":[22637],"tags":[],"class_list":["post-13120","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/what-is-a-wordpress-slug","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/tutoriels\/slug-wordpress","default":0},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/tutoriales\/que-es-slug-wordpress","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/tutorial\/apa-itu-slug","default":0},{"locale":"en-GB","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/what-is-a-wordpress-slug","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/what-is-a-wordpress-slug\/","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/what-is-a-wordpress-slug\/","default":0},{"locale":"es-MX","link":"https:\/\/www.hostinger.com\/mx\/tutoriales\/que-es-slug-wordpress","default":0},{"locale":"es-CO","link":"https:\/\/www.hostinger.com\/co\/tutoriales\/que-es-slug-wordpress","default":0},{"locale":"es-AR","link":"https:\/\/www.hostinger.com\/ar\/tutoriales\/que-es-slug-wordpress","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/what-is-a-wordpress-slug","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/what-is-a-wordpress-slug","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/what-is-a-wordpress-slug","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/what-is-a-wordpress-slug","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/13120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/comments?post=13120"}],"version-history":[{"count":42,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/13120\/revisions"}],"predecessor-version":[{"id":145252,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/posts\/13120\/revisions\/145252"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/media\/145253"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/media?parent=13120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/categories?post=13120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ng\/tutorials\/wp-json\/wp\/v2\/tags?post=13120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}