{"id":10343,"date":"2015-12-30T09:33:44","date_gmt":"2015-12-30T07:33:44","guid":{"rendered":"https:\/\/hetzner.co.za\/help-centre\/?p=10343"},"modified":"2025-12-30T09:34:34","modified_gmt":"2025-12-30T07:34:34","slug":"change-how-my-url-displays-in-a-web-browser","status":"publish","type":"post","link":"https:\/\/xneelo.co.za\/help-centre\/website\/change-how-my-url-displays-in-a-web-browser\/","title":{"rendered":"How to change how your URL displays in a web browser"},"content":{"rendered":"<p>To automatically re-write the URL: \u2018http:\/\/your-domain.com\u2019 to the URL: \u2018http:\/\/www.your-domain.com\u2019, customise the below rules and include them in a \u2018<a title=\".htaccess\" href=\"https:\/\/xneelo.co.za\/help-centre\/website\/htaccess-explained\/\" target=\"_blank\" rel=\"noopener\">.htaccess<\/a>\u2019 file:<\/p>\n<div class=\"codeblock\"><code>RewriteEngine\u00a0On\u00a0<\/code><\/div>\n<div class=\"codeblock\"><code>RewriteCond\u00a0%{HTTP_HOST}\u00a0!^www\\.your-domain\\.com$\u00a0<\/code><\/div>\n<div class=\"codeblock\"><code>RewriteRule\u00a0^(.*)$\u00a0http:\/\/www.your-domain.com\/$1\u00a0[R=301,QSA,L]\u00a0<\/code><\/div>\n<p>Example:<\/p>\n<p>Browsing to \u2018http:\/\/your-domain.com\u2019 now defaults to \u2018http:\/\/www.your-domain.com\u2019<\/p>\n","protected":false,"plain":"To automatically re-write the URL: \u2018http:\/\/your-domain.com\u2019 to the URL: \u2018http:\/\/www.your-domain.com\u2019, customise the below rules and include them in a \u2018<a title=\".htaccess\" href=\"https:\/\/xneelo.co.za\/help-centre\/website\/htaccess-explained\/\" target=\"_blank\" rel=\"noopener\">.htaccess<\/a>\u2019 file:\n<div class=\"codeblock\"><code>RewriteEngine\u00a0On\u00a0<\/code><\/div>\n<div class=\"codeblock\"><code>RewriteCond\u00a0%{HTTP_HOST}\u00a0!^www\\.your-domain\\.com$\u00a0<\/code><\/div>\n<div class=\"codeblock\"><code>RewriteRule\u00a0^(.*)$\u00a0http:\/\/www.your-domain.com\/$1\u00a0[R=301,QSA,L]\u00a0<\/code><\/div>\nExample:\n\nBrowsing to \u2018http:\/\/your-domain.com\u2019 now defaults to \u2018http:\/\/www.your-domain.com\u2019"},"excerpt":{"rendered":"<p>This help centre article describes how you can change the way your URL displays in a web browser, possibly improving your search engine results<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"lsx_disable_title":"0","_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"36828,35954,2681,35540,42782,1567","_relevanssi_noindex_reason":"","footnotes":""},"categories":[166],"tags":[],"topics":[],"class_list":["post-10343","post","type-post","status-publish","format-standard","hentry","category-website"],"acf":[],"additional_meta":{"category_title":[{"term_id":166,"name":"Website","slug":"website","term_group":0,"term_taxonomy_id":166,"taxonomy":"category","description":"About your Website(s)","parent":0,"count":169,"filter":"raw","term_order":"120","cat_ID":166,"category_count":169,"category_description":"About your Website(s)","cat_name":"Website","category_nicename":"website","category_parent":0}],"tag_title":false},"featured_image_src":null,"author_info":{"display_name":"marketing","author_link":"https:\/\/xneelo.co.za\/help-centre\/author\/marketing\/","author_avatar":"https:\/\/secure.gravatar.com\/avatar\/a6ea315e112423b2b955cb020fbce2b0835956c6ad85ff0f13f1db298977eaaa?s=96&d=mm&r=g"},"_links":{"self":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/10343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/comments?post=10343"}],"version-history":[{"count":0,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/posts\/10343\/revisions"}],"wp:attachment":[{"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/media?parent=10343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/categories?post=10343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/tags?post=10343"},{"taxonomy":"topics","embeddable":true,"href":"https:\/\/xneelo.co.za\/help-centre\/wp-json\/wp\/v2\/topics?post=10343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}