{"id":5832,"date":"2019-12-13T07:13:52","date_gmt":"2019-12-13T05:13:52","guid":{"rendered":"https:\/\/digitalschoolofmarketing.co.za\/?p=5832"},"modified":"2022-09-05T19:24:16","modified_gmt":"2022-09-05T17:24:16","slug":"how-rewrite-a-url","status":"publish","type":"post","link":"https:\/\/digitalschoolofmarketing.co.za\/seo-blog\/how-rewrite-a-url\/","title":{"rendered":"How rewrite a URL"},"content":{"rendered":"<section class=\"l-section wpb_row height_medium\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_3-1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"w-image align_center\"><div class=\"w-image-h\"><img decoding=\"async\" width=\"680\" height=\"454\" src=\"https:\/\/digitalschoolofmarketing.co.za\/wp-content\/uploads\/2019\/12\/shutterstock_683263732-e1576213957334.png\" class=\"attachment-full size-full\" alt=\"DSM Digital School of Marketing - url\" loading=\"lazy\" srcset=\"https:\/\/digitalschoolofmarketing.co.za\/wp-content\/uploads\/2019\/12\/shutterstock_683263732-e1576213957334.png 680w, https:\/\/digitalschoolofmarketing.co.za\/wp-content\/uploads\/2019\/12\/shutterstock_683263732-e1576213957334-600x401.png 600w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p>For computer networks as well as servers to be able to communicate with one another computers rely on a language which is made up of numbers in addition to letters. This is called an IP address. Every single device which is connected to the Internet has an IP address which is unique.<\/p>\n<p>To browse easily on the web, typing in a lengthy IP address isn\u2019t ideal, or realistic, for an online user. This is why domain names were designed and their function is to hide IP addresses with something that can be remembered easily. You could look at the domain name as a \u201cnickname\u201d for the IP address.<\/p>\n<p>So what, exactly, is a URL?<\/p>\n<p>A URL combines the domain name, in addition to other detailed information, in order to establish a complete address (or \u201cweb address\u201d) in order to direct a browser to a specific online page which is called a <a href=\"https:\/\/digitalschoolofmarketing.co.za\/blog\/the-seo-specialists-toolbox-for-the-basics-of-web-analytics\/\">web<\/a> page. In essence, a URL is set of directions which every web page.<\/p>\n<h2><strong>Why would you need to rewrite a URL?<\/strong><\/h2>\n<p>URL rewriting can be one of the quickest ways to improve the usability as well as search friendliness of your website. However, it is an advanced solution that can be difficult to implement if you have a limited understanding of code. In addition, it can be a major source of unhappiness if this task is not done correctly.<\/p>\n<p>If written well, a URL can help to tell a user and a search engine what a page is about. Consider the following URL:<\/p>\n<p>http:\/\/www.birds.com\/show_a_product.php?product_id=8<\/p>\n<p>This URL is difficult to remember and it doesn\u2019t tell you much about the page\u2019s content. Now consider this URL:<\/p>\n<p>http:\/\/www.birds.com\/species\/8\/<\/p>\n<p>This URL is a lot shorter and cleaner but it still doesn\u2019t tell us exactly what the page is about.<\/p>\n<p>http:\/\/www.birds.com\/species \/garden-birds\/<\/p>\n<p>With this URL, we can finally guess what we are likely to find on the page.<\/p>\n<\/div><\/div><div class=\"w-video align_none ratio_16x9 has_iframe\"><div class=\"w-video-h\"><iframe title=\"Vimeo video player\" src=\"https:\/\/player.vimeo.com\/video\/288004671?autoplay=0&loop=0&autopause=0&color=00adef&portrait=0&byline=1&title=1&controls=1&muted=0\" frameborder=\"0\" allow=\"autoplay; fullscreen\" allowfullscreen loading=\"lazy\"><\/iframe><\/div><div class=\"w-video-icon\" style=\"font-size:1.5rem;background:rgba(0,0,0,0.5);color:#fff\"><\/div><\/div><div class=\"w-separator size_medium\"><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><strong>How does URL rewriting work?\u00a0 <\/strong><\/h2>\n<p>Add a URL-rewrite rule to your htaccess file. Choose your preferred domain (www or non-www) and automatically rewrite URLs to the specified domain.<\/p>\n<p>The same URL with a different Session ID appended can be seen as duplicate content. Once again, the htaccess file can be used to disable these parameters.<\/p>\n<h3><strong>Google Webmaster Tools <\/strong><\/h3>\n<p>Above, we mentioned automatic URL-rewriting for domain names. An easier way to do this is via Google Webmaster Tools. Simply log in to your account, go to \u201cConfiguration\u201d, click on \u201cSettings\u201d and set a preferred domain.<\/p>\n<h2><strong>What is a friendly URL?<\/strong><\/h2>\n<p>The term \u2018friendly URL\u2019 refers to a Web address which is easy to read. This type of URL includes words which describe what is on the webpage. The reason why this type of URL can be &#8220;friendly&#8221; is:<\/p>\n<ol>\n<li>It can assist visitors with remembering the Web address.<\/li>\n<li>It can assist with describing the page to search engines.<\/li>\n<\/ol>\n<p>Friendly URLs which are short as well as easy to remember are considered to be user-friendly URLs. This is because these URLs assist visitors with remembering web addresses. This means that they can revisit pages by simply typing in the URL address bar.<\/p>\n<p>While user-friendly URLs are extremely useful for visitors, most webmasters are more worried about putting together search engine-friendly URLs. These URLs combine important keywords which \u00a0describe the <a href=\"https:\/\/digitalschoolofmarketing.co.za\/blog\/what-is-evergreen-content\/\">content<\/a> of the page. Since most search engines include the Web address as part of the information that describes a page, placing keywords in the URL can help boost the ranking of the page.<\/p>\n<h2><a href=\"https:\/\/digitalschoolofmarketing.co.za\/contact-us\/\">Get in touch with the Digital School of Marketing<\/a><\/h2>\n<p>Want to learn more about SEO and find out what it takes to master this for your business? If so, then you should really do our SEO and Web Analytics Course. Follow this <a href=\"https:\/\/digitalschoolofmarketing.co.za\/courses\/seo-and-web-analytics-course\/\">link<\/a> for more information.<\/p>\n<p><a href=\"https:\/\/digitalschoolofmarketing.co.za\/courses\/seo-and-web-analytics-course\/\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-758 size-shop_single\" src=\"https:\/\/digitalschoolofmarketing.co.za\/wp-content\/uploads\/2018\/08\/DSM_Footer03-600x96.jpg\" alt=\"DSM Digital School of Marketing SEO and Web Analytics course registration\" width=\"600\" height=\"96\" \/><\/a><\/p>\n<\/div><\/div><\/div><\/div><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"w-btn-wrapper align_justify\"><a class=\"w-btn us-btn-style_2\" href=\"#enquiry\"><span class=\"w-btn-label\">Enquire Today<\/span><\/a><\/div><div class=\"w-separator size_medium\"><\/div><h3 class=\"w-text us_custom_6caa4608 has_text_color\"><span class=\"w-text-h\"><span class=\"w-text-value\">Blog Categories<\/span><\/span><\/h3><div class=\"wpb_text_column us_custom_5cd26a65\"><div class=\"wpb_wrapper\"><ul>\n<li class=\"cat-item cat-item-1\"><a href=\"\/blog\/content-marketing\/\">Content Marketing<\/a><\/li>\n<li class=\"cat-item cat-item-2\"><a href=\"\/blog\/digital-marketing\/\">Digital Marketing<\/a><\/li>\n<li class=\"cat-item cat-item-2\"><a href=\"\/blog\/cyber-security-blog\/\">Cyber Security<\/a><\/li>\n<li class=\"cat-item cat-item-2\"><a href=\"\/blog\/graphic-design-blog\/\">Graphic Design<\/a><\/li>\n<li class=\"cat-item cat-item-3\"><a href=\"\/blog\/public-relations\/\">Public Relations<\/a><\/li>\n<li class=\"cat-item cat-item-4\"><a href=\"\/blog\/seo\/\">SEO<\/a><\/li>\n<li class=\"cat-item cat-item-5\"><a href=\"\/blog\/social-media-marketing\/\">Social Media Marketing<\/a><\/li>\n<li class=\"cat-item cat-item-5\"><a href=\"\/blog\/web-design-blog\/\">Web Design<\/a><\/li>\n<\/ul>\n<\/div><\/div><div class=\"w-separator size_medium\"><\/div><h3 class=\"w-text us_custom_6caa4608 has_text_color\"><span class=\"w-text-h\"><span class=\"w-text-value\">You might also like<\/span><\/span><\/h3><div class=\"w-html\"><ul><li><a href=\"https:\/\/digitalschoolofmarketing.co.za\/social-media-marketing-blog\/zero-moment-of-truth-benefit-social-media-marketing\/\" rel=\"bookmark\">Use the Zero Moment of Truth to Benefit your Social Media Marketing<\/a><\/li><li><a href=\"https:\/\/digitalschoolofmarketing.co.za\/digital-marketing-blog\/your-complete-guide-to-ppc-marketing-basic\/\" rel=\"bookmark\">Your Complete Guide to PPC Marketing Basics. Find out more.<\/a><\/li><li><a href=\"https:\/\/digitalschoolofmarketing.co.za\/blog\/you-can-convey-a-lot-of-meaning-with-just-one-graphic\/\" rel=\"bookmark\">You Can Convey a Lot Of Meaning With Just One Graphic<\/a><\/li><li><a href=\"https:\/\/digitalschoolofmarketing.co.za\/digital-marketing-blog\/would-you-make-a-great-marketing-manager\/\" rel=\"bookmark\">Would you make a great marketing manager?<\/a><\/li><li><a href=\"https:\/\/digitalschoolofmarketing.co.za\/in-the-press\/win-with-bona-magazine-and-the-digital-school-of-marketing\/\" rel=\"bookmark\">Win with Bona Magazine and the Digital School of Marketing<\/a><\/li><li><a href=\"https:\/\/digitalschoolofmarketing.co.za\/in-the-press\/win-a-digital-marketing-course-valued-at-r12-000\/\" rel=\"bookmark\">Win a Digital Marketing Course Valued at  R12 000<\/a><\/li><\/ul><\/div><div class=\"w-separator size_medium\"><\/div><h3 class=\"w-text us_custom_6caa4608 has_text_color\"><span class=\"w-text-h\"><span class=\"w-text-value\">Top Selling COurses<\/span><\/span><\/h3><div class=\"wpb_text_column us_custom_5cd26a65\"><div class=\"wpb_wrapper\"><ul>\n<li class=\"cat-item cat-item-1\"><a href=\"\/courses\/digital-marketing-course\/\">Intermediate Digital Marketing<\/a><\/li>\n<li class=\"cat-item cat-item-2\"><a href=\"\/courses\/advanced-digital-marketing-course\/\">Advanced Digital Marketing<\/a><\/li>\n<li class=\"cat-item cat-item-3\"><a href=\"\/courses\/social-media-marketing-course\/\">Intermediate Social media marketing<\/a><\/li>\n<li class=\"cat-item cat-item-4\"><a href=\"\/courses\/digital-brand-management-course\/\">Brand Management<\/a><\/li>\n<li class=\"cat-item cat-item-5\"><a href=\"\/courses\/graphic-design-course\/\">Basic Graphic Design<\/a><\/li>\n<li class=\"cat-item cat-item-6\"><a href=\"\/courses\/advanced-graphic-design-course\/\">Advanced Graphic design<\/a><\/li>\n<li class=\"cat-item cat-item-7\"><a href=\"\/courses\/national-certificate-of-advertising\/\">National Certificate of Advertising<\/a><\/li>\n<li class=\"cat-item cat-item-8\"><a href=\"\/courses\/national-diploma-of-copywriting-course\/\">National Diploma of Copyrighting<\/a><\/li>\n<\/ul>\n<\/div><\/div>\n<\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_medium\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"w-video align_none ratio_16x9 has_iframe\"><div class=\"w-video-h\"><iframe title=\"Youtube video player\" src=\"\/\/www.youtube.com\/embed\/cImP9WWJVh4?autoplay=0&controls=1&origin=https:\/\/digitalschoolofmarketing.co.za&loop=0&mute=0\" allowfullscreen=\"1\" loading=\"lazy\"><\/iframe><\/div><div class=\"w-video-icon\" style=\"font-size:1.5rem;background:rgba(0,0,0,0.5);color:#fff\"><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":5835,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[264],"tags":[573],"class_list":["post-5832","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-seo-blog","tag-rewriting-urls"],"acf":[],"_links":{"self":[{"href":"https:\/\/digitalschoolofmarketing.co.za\/wp-json\/wp\/v2\/posts\/5832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digitalschoolofmarketing.co.za\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digitalschoolofmarketing.co.za\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digitalschoolofmarketing.co.za\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/digitalschoolofmarketing.co.za\/wp-json\/wp\/v2\/comments?post=5832"}],"version-history":[{"count":0,"href":"https:\/\/digitalschoolofmarketing.co.za\/wp-json\/wp\/v2\/posts\/5832\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digitalschoolofmarketing.co.za\/wp-json\/wp\/v2\/media\/5835"}],"wp:attachment":[{"href":"https:\/\/digitalschoolofmarketing.co.za\/wp-json\/wp\/v2\/media?parent=5832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digitalschoolofmarketing.co.za\/wp-json\/wp\/v2\/categories?post=5832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digitalschoolofmarketing.co.za\/wp-json\/wp\/v2\/tags?post=5832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}