{"id":8122,"date":"2019-10-30T12:07:02","date_gmt":"2019-10-30T16:07:02","guid":{"rendered":"http:\/\/local.brightwhiz\/?post_type=glossary&p=8122"},"modified":"2019-10-30T12:07:02","modified_gmt":"2019-10-30T16:07:02","slug":"htaccess-apache","status":"publish","type":"glossary","link":"http:\/\/local.brightwhiz\/glossary\/htaccess-apache\/","title":{"rendered":".htaccess"},"content":{"rendered":"

.htaccess is a configuration file used by apache-based web servers on all platforms. The term .htaccess is short for Hypertext Access. The file uses formatted rules and directives designed to change the default behavior of the web server or the web applications or websites that are served by that server.<\/p>\n

Examples of cases where .htaccess can be used include forced redirection to https or redirecting visitors to another page, custom error page definitions, password protection of websites, rewriting URLs to a more SEO friendly format and more.<\/p>\n

The file can be edited with any text editor but must be saved as ‘.htaccess’ for it to be used by the webserver as intended.<\/p>\n","protected":false},"excerpt":{"rendered":"

.htaccess is a configuration file used by apache-based web servers on all platforms. The term .htaccess is short for Hypertext Access. The file uses formatted rules and directives designed to…<\/p>\n","protected":false},"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"glossary-index":[662],"yoast_head":"\nWhat is .htaccess in Apache web Server - Brightwhiz.com<\/title>\n<meta name=\"description\" content=\".htaccess is the apache-based web server configuration file used to change default behavior for the entire server or individual websites\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/local.brightwhiz\/glossary\/htaccess-apache\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is .htaccess in Apache web Server - Brightwhiz.com\" \/>\n<meta property=\"og:description\" content=\".htaccess is the apache-based web server configuration file used to change default behavior for the entire server or individual websites\" \/>\n<meta property=\"og:url\" content=\"http:\/\/local.brightwhiz\/glossary\/htaccess-apache\/\" \/>\n<meta property=\"og:site_name\" content=\"Brightwhiz.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/brightwhiz\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/local.brightwhiz\/glossary\/htaccess-apache\/\",\"url\":\"http:\/\/local.brightwhiz\/glossary\/htaccess-apache\/\",\"name\":\"What is .htaccess in Apache web Server - Brightwhiz.com\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/#website\"},\"datePublished\":\"2019-10-30T16:07:02+00:00\",\"dateModified\":\"2019-10-30T16:07:02+00:00\",\"description\":\".htaccess is the apache-based web server configuration file used to change default behavior for the entire server or individual websites\",\"breadcrumb\":{\"@id\":\"http:\/\/local.brightwhiz\/glossary\/htaccess-apache\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/local.brightwhiz\/glossary\/htaccess-apache\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/local.brightwhiz\/glossary\/htaccess-apache\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/local.brightwhiz\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Glossary\",\"item\":\"http:\/\/local.brightwhiz\/glossary\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\".htaccess\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/local.brightwhiz\/#website\",\"url\":\"http:\/\/local.brightwhiz\/\",\"name\":\"Brightwhiz.com\",\"description\":\"Best Tech guides, Tutorials, and News\",\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/local.brightwhiz\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/local.brightwhiz\/#organization\",\"name\":\"Brightwhiz\",\"url\":\"http:\/\/local.brightwhiz\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"width\":706,\"height\":135,\"caption\":\"Brightwhiz\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/brightwhiz\/\",\"https:\/\/twitter.com\/brightwhizmag\",\"https:\/\/instagram.com\/bright_whiz\/\",\"https:\/\/www.pinterest.com\/sobbayi\/\",\"https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is .htaccess in Apache web Server - Brightwhiz.com","description":".htaccess is the apache-based web server configuration file used to change default behavior for the entire server or individual websites","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/local.brightwhiz\/glossary\/htaccess-apache\/","og_locale":"en_US","og_type":"article","og_title":"What is .htaccess in Apache web Server - Brightwhiz.com","og_description":".htaccess is the apache-based web server configuration file used to change default behavior for the entire server or individual websites","og_url":"http:\/\/local.brightwhiz\/glossary\/htaccess-apache\/","og_site_name":"Brightwhiz.com","article_publisher":"https:\/\/www.facebook.com\/brightwhiz\/","twitter_card":"summary_large_image","twitter_site":"@brightwhizmag","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/local.brightwhiz\/glossary\/htaccess-apache\/","url":"http:\/\/local.brightwhiz\/glossary\/htaccess-apache\/","name":"What is .htaccess in Apache web Server - Brightwhiz.com","isPartOf":{"@id":"http:\/\/local.brightwhiz\/#website"},"datePublished":"2019-10-30T16:07:02+00:00","dateModified":"2019-10-30T16:07:02+00:00","description":".htaccess is the apache-based web server configuration file used to change default behavior for the entire server or individual websites","breadcrumb":{"@id":"http:\/\/local.brightwhiz\/glossary\/htaccess-apache\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/local.brightwhiz\/glossary\/htaccess-apache\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/local.brightwhiz\/glossary\/htaccess-apache\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/local.brightwhiz\/"},{"@type":"ListItem","position":2,"name":"Glossary","item":"http:\/\/local.brightwhiz\/glossary\/"},{"@type":"ListItem","position":3,"name":".htaccess"}]},{"@type":"WebSite","@id":"http:\/\/local.brightwhiz\/#website","url":"http:\/\/local.brightwhiz\/","name":"Brightwhiz.com","description":"Best Tech guides, Tutorials, and News","publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/local.brightwhiz\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/local.brightwhiz\/#organization","name":"Brightwhiz","url":"http:\/\/local.brightwhiz\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","width":706,"height":135,"caption":"Brightwhiz"},"image":{"@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/brightwhiz\/","https:\/\/twitter.com\/brightwhizmag","https:\/\/instagram.com\/bright_whiz\/","https:\/\/www.pinterest.com\/sobbayi\/","https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ"]}]}},"_links":{"self":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/glossary\/8122"}],"collection":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/types\/glossary"}],"replies":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/comments?post=8122"}],"wp:attachment":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media?parent=8122"}],"wp:term":[{"taxonomy":"glossary-index","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/glossary-index?post=8122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}