{"id":5463,"date":"2010-07-23T14:34:38","date_gmt":"2010-07-23T18:34:38","guid":{"rendered":"http:\/\/carleton.ca\/webservices\/?p=5463"},"modified":"2024-06-25T15:27:41","modified_gmt":"2024-06-25T19:27:41","slug":"creating-seo-friendly-urls","status":"publish","type":"post","link":"https:\/\/carleton.ca\/webservices\/2010\/creating-seo-friendly-urls\/","title":{"rendered":"My Name is URL: Creating SEO-Friendly URLs"},"content":{"rendered":"\n<section class=\"w-screen px-6 cu-section cu-section--white ml-offset-center md:px-8 lg:px-14\">\n    <div class=\"space-y-6 cu-max-w-child-5xl  md:space-y-10 cu-prose-first-last\">\n\n            <div class=\"cu-textmedia flex flex-col lg:flex-row mx-auto gap-6 md:gap-10 my-6 md:my-12 first:mt-0 max-w-5xl\">\n        <div class=\"justify-start cu-textmedia-content cu-prose-first-last\" style=\"flex: 0 0 100%;\">\n            <header class=\"font-light prose-xl cu-pageheader md:prose-2xl cu-component-updated cu-prose-first-last\">\n                                    <h1 class=\"cu-prose-first-last font-semibold !mt-2 mb-4 md:mb-6 relative after:absolute after:h-px after:bottom-0 after:bg-cu-red after:left-px text-3xl md:text-4xl lg:text-5xl lg:leading-[3.5rem] pb-5 after:w-10 text-cu-black-700 not-prose\">\n                        My Name is URL: Creating SEO-Friendly URLs\n                    <\/h1>\n                \n                                \n                            <\/header>\n\n                    <\/div>\n\n            <\/div>\n\n    <\/div>\n<\/section>\n\n\n\n<p>You may think that you do not have too much control over your site\u2019s URLs (Uniform Resource Locators) and that URLs magically appear when sites go live. Web Services provides your site with a new URL when it is migrated to the new WordPress platform and then &nbsp;automatically redirects your old web site\u2019s URL to the new URL. Although you cannot change this top-level URL, there are ways you can improve the structure of your internal site URLs, which coincidentally, is the topic of this week\u2019s blog post. A well-structured URL, which includes descriptive text and avoids lengthy alphanumerical strings, is more visitor- and web-crawler friendly and generates more traffic to your web site. But above all, a good-looking URL is SEO-friendly.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"http:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/long-title-example.jpg\" alt=\"\" class=\"wp-image-5465\" title=\"long title example\"\/><\/figure>\n\n\n\n<p>As you already know, using good <a href=\"http:\/\/carleton.ca\/webservices\/news\/to-tag-or-not-to-tag-adding-categories-and-tags-to-posts\/\">category and tagging<\/a> practices on your WordPress CCMS pages not only keeps your site better organized, but is also a way to help establish visitor- and web-crawler friendly URLs. There are some other handy features on the WordPress CCMS you can use when creating new pages that will help you create shorter, descriptive, and visitor-friendly URLs. Since URLs are derived from your CCMS page titles, for longer page titles you can customize the text and the length (thereby shortening the URL for the page) using the Permalink Edit button located under the Title field.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"221\" height=\"25\" src=\"http:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/Menu-Label.jpg\" alt=\"\" class=\"wp-image-5466\" title=\"Menu Label\"\/><\/figure>\n\n\n\n<p>For new pages with longer titles that appear in your web site\u2019s navigation bar, use the Menu Label field in the All in One SEO Pack feature to create a shorter page label.<\/p>\n\n\n\n<p>This is also good way to display acronym forms&nbsp; in your navigation, and the expanded, more descriptive form as your page title.<\/p>\n\n\n\n<p>WordPress has built-in functionality that automatically cleans up URL formatting by:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Removing special characters. As a general rule, you should never use special characters in your URLs because it causes problems in some browsers such as IE6.<\/li>\n\n\n\n<li>Presetting some characters such as apostrophes and spaces to hyphens. For example, if you have a page title such as \u201cLet\u2019s go to Carleton\u201d, WordPress creates the following URL <span style=\"text-decoration: underline;\">www.carleton.ca\/webservices\/let-s-go-to-carleton<\/span>. As you can see, it\u2019s a little awkward looking and is also confusing to web crawlers and can impact SEO.<\/li>\n<\/ul>\n\n\n\n<p>WordPress <em>does not<\/em> apply formatting before the first character in the page title. This means that if you add an extra space before you start typing your title, this space will appear in your URL and in your navigation bar label causing formatting havoc.<\/p>\n\n\n\n<p>Here are some other things you can do to maintain healthy and happy URLs:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Create short URLs      with readable text. <\/strong>URLs that contain strange, unrecognizable text and characters are      very intimidating and confusing to your visitors. They also limit the      potential of your visitor to memorize the link or create a bookmark for it      without having to provide a more descriptive label to remember what      content it linked to. For CCMS pages, links to media files such as images,      videos, or PDFs can cause confusing URLs if the media file is not provided      with a meaningful name. For example, if we added a confusing title for a PDF      on our page the URL would appear like this: <span style=\"text-decoration: underline;\">http:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/1x_10892570024a.pdf.<br><p>In addition, long URLs often wrap to two lines if sent in an      email message for example. When the user clicks on a wrapped URL, they receive an annoying file not found page as the link is broken. This URL is      useless unless the user goes through the hassle of copying and pasting      both lines of the URL into their browser window. If accessing a URL      requires this much effort, it is likely that the user will not bother      visiting this site.<\/p><\/span><\/li>\n\n\n\n<li><strong>Use descriptive text      and keywords in your URLs<\/strong>. If possible, use keywords in your page titles that      will produce more meaningful URLs. If your URL contains words relevant to      your site\u2019s content, this provides visitors and search engines with more      information about the page than an URL containing session IDs or unrecognizable      parameters. Also, visitors may be able to better remember&nbsp; these URLs for future reference. &nbsp;Search engines tend to provide the      content of the title tag the greatest weight of any single element on the      page, so it\u2019s best if the most important text appear here. Also avoid      using generic page names such as \u201cpage1\u201d and using excessive keywords.<\/li>\n\n\n\n<li><strong>Create simple      navigation structures<\/strong>. Web Services helps you create a well-planned navigation structure as      part of the CCMS migration process. When you take ownership of your site      and add new pages to your navigation, ensure that you maintain a simple      structure and avoid multi-layered, deep-nested pages which lengthen your URLs.<\/li>\n\n\n\n<li><strong>Be aware of how your URLs appear in the SERPs<\/strong>. The URL to your web site is displayed in the SERPs below the page\u2019s title and description. Like the title and description, words in the URL on the search result appear in bold if they appear in the user&#8217;s keyword search.<a href=\"http:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/search-example1.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5467\" title=\"search example\" src=\"http:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/search-example.jpg\" alt=\"\" width=\"375\" height=\"90\" srcset=\"https:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/search-example.jpg 375w, https:\/\/carleton.ca\/webservices\/wp-content\/uploads\/sites\/3\/search-example-320x77.jpg 320w\" sizes=\"auto, (max-width: 375px) 100vw, 375px\" \/><\/a> Therefore, it is beneficial to have a URL that is      as clear and concise as possible as visitors are more likely to click on      the link for your web site in the SERPs if it contains descriptive keywords      versus unrecognizable text such as <span style=\"text-decoration: underline;\">http:\/\/www.example.com\/index.php?id_sezione=360&amp;sid=3a5ebc944f41daa6f849f730f1<\/span> which is much less appealing. For CCMS sites, you should check to see how the URLs for deeper      pages in your site\u2019s navigation appear in the SERPs and whether the      information displayed accurately represents your content.<\/li>\n\n\n\n<li><strong>Avoid broken URLs      and duplicating content at two different URLs<\/strong>. This was discussed in last      week\u2019s blog <a href=\"http:\/\/carleton.ca\/webservices\/news\/love-your-links-google-analytics-link-optimization\/\">Love      Your Links: Google Analytics Link Optimization<\/a> and it certainly applies      to URLs as well. Check out this post if you missed it.<\/li>\n\n\n\n<li><strong>When posting URLs,      use applications that shorten the URL length<\/strong>. If you have a long URL address      that you want to make known to the world through a social media site such      as Twitter, use sites such as <a href=\"http:\/\/tiny.cc\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/tiny.cc\/<\/a> or <a href=\"http:\/\/bit.ly\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/bit.ly\/<\/a> to shorten the URL length. Twitter has a 140 character limit so you don\u2019t      want to use up your limit displaying the URL when you could be using the      space to convey your message.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>A well-structured URL, which includes descriptive text and avoids lengthy alphanumerical strings, is more visitor- and web-crawler friendly and generates more traffic to your web site. But above all, a good-looking URL is SEO-friendly.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[117],"tags":[],"class_list":["post-5463","post","type-post","status-publish","format-standard","hentry","category-google-analytics"],"acf":{"cu_post_thumbnail":""},"_links":{"self":[{"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/posts\/5463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/comments?post=5463"}],"version-history":[{"count":1,"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/posts\/5463\/revisions"}],"predecessor-version":[{"id":20591,"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/posts\/5463\/revisions\/20591"}],"wp:attachment":[{"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/media?parent=5463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/categories?post=5463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/carleton.ca\/webservices\/wp-json\/wp\/v2\/tags?post=5463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}