{"id":2388,"date":"2014-07-09T08:43:57","date_gmt":"2014-07-09T08:43:57","guid":{"rendered":"http:\/\/sgis.co.uk\/blog\/?p=2388"},"modified":"2014-07-09T08:50:25","modified_gmt":"2014-07-09T08:50:25","slug":"how-to-create-your-own-htaccess-file","status":"publish","type":"post","link":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/","title":{"rendered":"How to create your own .htaccess file"},"content":{"rendered":"<p>When we find a useful tool or resource on the web we love to share this with our visitors. We&#8217;ve recently stumbled across a helpful tool that creates a .htaccess file for you based on some simple user inputs. If you&#8217;re new to .htaccess you&#8217;ll know creating your own rules within the file can be tricky and mistakes can easily lead to your site not loading correctly.<\/p>\n<p>Thankfully this helpful tool does all the fiddly coding for you <a href=\"http:\/\/www.htaccessredirect.net\/\" title=\"htaccessr edirect\" target=\"_blank\">htaccessredirect.net<\/a>. All you need to do is pick what you need from the available options and then hit the &#8216;generte code&#8217; button.<\/p>\n<p>Once the code has been generated you can then copy and paste the code into your .htaccess file within your hosting space. If you don&#8217;t already have .htaccess file you can simply create one by hitting the add file button &#8211; you&#8217;ll then be able to paste the necessary code.<\/p>\n<p><a href=\"http:\/\/www.htaccessredirect.net\/\" class=\"btn btn-default\" title=\"htaccessr edirect\" target=\"_blank\">Create your .htaccess file<\/a><\/p>\n<p><strong>N.B.<\/strong> When making changes to .htaccess files it&#8217;s highly recommend to take a copy of the previous version before changing the code. This will allow you to quickly restore if there&#8217;s a problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When we find a useful tool or resource on the web we love to share this with our visitors. We&#8217;ve &#8230;<\/p>\n<p><a href=\"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/\" target=\"_top\">Read article<\/a><\/p>\n","protected":false},"author":1,"featured_media":2394,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5],"tags":[9,87],"class_list":["post-2388","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hosting-guides","category-web-design-guides","tag-development","tag-htaccess"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"SGIS\"\/>\n\t<meta name=\"keywords\" content=\"development,htaccess\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"SGIS web hosting blog | Web hosting updates and advice\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to create your own .htaccess file | SGIS updates &amp; advice\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2014-07-09T08:43:57+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2014-07-09T08:50:25+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to create your own .htaccess file | SGIS updates &amp; advice\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/2014\\\/07\\\/how-to-create-your-own-htaccess-file\\\/#article\",\"name\":\"How to create your own .htaccess file | SGIS updates & advice\",\"headline\":\"How to create your own .htaccess file\",\"author\":{\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/author\\\/sgadmin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/07\\\/htaccess.jpg\",\"width\":1337,\"height\":545},\"datePublished\":\"2014-07-09T08:43:57+00:00\",\"dateModified\":\"2014-07-09T08:50:25+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/2014\\\/07\\\/how-to-create-your-own-htaccess-file\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/2014\\\/07\\\/how-to-create-your-own-htaccess-file\\\/#webpage\"},\"articleSection\":\"Hosting Guides, Web Design Guides, development, htaccess\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/2014\\\/07\\\/how-to-create-your-own-htaccess-file\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/category\\\/hosting-guides\\\/#listItem\",\"name\":\"Hosting Guides\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/category\\\/hosting-guides\\\/#listItem\",\"position\":2,\"name\":\"Hosting Guides\",\"item\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/category\\\/hosting-guides\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/2014\\\/07\\\/how-to-create-your-own-htaccess-file\\\/#listItem\",\"name\":\"How to create your own .htaccess file\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/2014\\\/07\\\/how-to-create-your-own-htaccess-file\\\/#listItem\",\"position\":3,\"name\":\"How to create your own .htaccess file\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/category\\\/hosting-guides\\\/#listItem\",\"name\":\"Hosting Guides\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/#organization\",\"name\":\"SGIS Hosting\",\"description\":\"Web hosting updates and advice\",\"url\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/03\\\/logo.png\",\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/2014\\\/07\\\/how-to-create-your-own-htaccess-file\\\/#organizationLogo\",\"width\":250,\"height\":250},\"image\":{\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/2014\\\/07\\\/how-to-create-your-own-htaccess-file\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/author\\\/sgadmin\\\/#author\",\"url\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/author\\\/sgadmin\\\/\",\"name\":\"SGIS\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/2014\\\/07\\\/how-to-create-your-own-htaccess-file\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/c35932044581e2e15da4796e5adf8e22f5cd6b2a2e65dd6e7684636ab187e609?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"SGIS\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/2014\\\/07\\\/how-to-create-your-own-htaccess-file\\\/#webpage\",\"url\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/2014\\\/07\\\/how-to-create-your-own-htaccess-file\\\/\",\"name\":\"How to create your own .htaccess file | SGIS updates & advice\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/2014\\\/07\\\/how-to-create-your-own-htaccess-file\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/author\\\/sgadmin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/author\\\/sgadmin\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/07\\\/htaccess.jpg\",\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/2014\\\/07\\\/how-to-create-your-own-htaccess-file\\\/#mainImage\",\"width\":1337,\"height\":545},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/2014\\\/07\\\/how-to-create-your-own-htaccess-file\\\/#mainImage\"},\"datePublished\":\"2014-07-09T08:43:57+00:00\",\"dateModified\":\"2014-07-09T08:50:25+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/\",\"name\":\"SGIS web hosting blog\",\"description\":\"Web hosting updates and advice\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/sgis.co.uk\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to create your own .htaccess file | SGIS updates & advice","description":"","canonical_url":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/","robots":"max-image-preview:large","keywords":"development,htaccess","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/#article","name":"How to create your own .htaccess file | SGIS updates & advice","headline":"How to create your own .htaccess file","author":{"@id":"https:\/\/sgis.co.uk\/blog\/author\/sgadmin\/#author"},"publisher":{"@id":"https:\/\/sgis.co.uk\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/sgis.co.uk\/blog\/wp-content\/uploads\/2014\/07\/htaccess.jpg","width":1337,"height":545},"datePublished":"2014-07-09T08:43:57+00:00","dateModified":"2014-07-09T08:50:25+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/#webpage"},"isPartOf":{"@id":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/#webpage"},"articleSection":"Hosting Guides, Web Design Guides, development, htaccess"},{"@type":"BreadcrumbList","@id":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/sgis.co.uk\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/sgis.co.uk\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/sgis.co.uk\/blog\/category\/hosting-guides\/#listItem","name":"Hosting Guides"}},{"@type":"ListItem","@id":"https:\/\/sgis.co.uk\/blog\/category\/hosting-guides\/#listItem","position":2,"name":"Hosting Guides","item":"https:\/\/sgis.co.uk\/blog\/category\/hosting-guides\/","nextItem":{"@type":"ListItem","@id":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/#listItem","name":"How to create your own .htaccess file"},"previousItem":{"@type":"ListItem","@id":"https:\/\/sgis.co.uk\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/#listItem","position":3,"name":"How to create your own .htaccess file","previousItem":{"@type":"ListItem","@id":"https:\/\/sgis.co.uk\/blog\/category\/hosting-guides\/#listItem","name":"Hosting Guides"}}]},{"@type":"Organization","@id":"https:\/\/sgis.co.uk\/blog\/#organization","name":"SGIS Hosting","description":"Web hosting updates and advice","url":"https:\/\/sgis.co.uk\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/sgis.co.uk\/blog\/wp-content\/uploads\/2024\/03\/logo.png","@id":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/#organizationLogo","width":250,"height":250},"image":{"@id":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/sgis.co.uk\/blog\/author\/sgadmin\/#author","url":"https:\/\/sgis.co.uk\/blog\/author\/sgadmin\/","name":"SGIS","image":{"@type":"ImageObject","@id":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/c35932044581e2e15da4796e5adf8e22f5cd6b2a2e65dd6e7684636ab187e609?s=96&d=mm&r=g","width":96,"height":96,"caption":"SGIS"}},{"@type":"WebPage","@id":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/#webpage","url":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/","name":"How to create your own .htaccess file | SGIS updates & advice","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/sgis.co.uk\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/#breadcrumblist"},"author":{"@id":"https:\/\/sgis.co.uk\/blog\/author\/sgadmin\/#author"},"creator":{"@id":"https:\/\/sgis.co.uk\/blog\/author\/sgadmin\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/sgis.co.uk\/blog\/wp-content\/uploads\/2014\/07\/htaccess.jpg","@id":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/#mainImage","width":1337,"height":545},"primaryImageOfPage":{"@id":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/#mainImage"},"datePublished":"2014-07-09T08:43:57+00:00","dateModified":"2014-07-09T08:50:25+00:00"},{"@type":"WebSite","@id":"https:\/\/sgis.co.uk\/blog\/#website","url":"https:\/\/sgis.co.uk\/blog\/","name":"SGIS web hosting blog","description":"Web hosting updates and advice","inLanguage":"en-US","publisher":{"@id":"https:\/\/sgis.co.uk\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"SGIS web hosting blog | Web hosting updates and advice","og:type":"article","og:title":"How to create your own .htaccess file | SGIS updates &amp; advice","og:url":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/","article:published_time":"2014-07-09T08:43:57+00:00","article:modified_time":"2014-07-09T08:50:25+00:00","twitter:card":"summary","twitter:title":"How to create your own .htaccess file | SGIS updates &amp; advice"},"aioseo_meta_data":{"post_id":"2388","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-07-05 09:39:13","updated":"2022-11-09 00:00:13","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/sgis.co.uk\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/sgis.co.uk\/blog\/category\/hosting-guides\/\" title=\"Hosting Guides\">Hosting Guides<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to create your own .htaccess file\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/sgis.co.uk\/blog\/"},{"label":"Hosting Guides","link":"https:\/\/sgis.co.uk\/blog\/category\/hosting-guides\/"},{"label":"How to create your own .htaccess file","link":"https:\/\/sgis.co.uk\/blog\/2014\/07\/how-to-create-your-own-htaccess-file\/"}],"_links":{"self":[{"href":"https:\/\/sgis.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sgis.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sgis.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sgis.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sgis.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=2388"}],"version-history":[{"count":7,"href":"https:\/\/sgis.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2388\/revisions"}],"predecessor-version":[{"id":2396,"href":"https:\/\/sgis.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2388\/revisions\/2396"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sgis.co.uk\/blog\/wp-json\/wp\/v2\/media\/2394"}],"wp:attachment":[{"href":"https:\/\/sgis.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=2388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sgis.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=2388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sgis.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=2388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}