{"id":4145,"date":"2020-05-07T08:53:05","date_gmt":"2020-05-07T08:53:05","guid":{"rendered":"https:\/\/www.awardspace.com\/?p=4145"},"modified":"2024-02-28T09:33:19","modified_gmt":"2024-02-28T09:33:19","slug":"how-to-use-htaccess-generator","status":"publish","type":"post","link":"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/","title":{"rendered":"How to use the .htaccess Generator"},"content":{"rendered":"<p>In this video hosting tutorial, you will learn how to use the .htaccess generator from your hosting control panel. It is available for free and paid users.<\/p>\n<p>&nbsp;<\/p>\n<p><iframe loading=\"lazy\" title=\"How To Use The .htaccess Generator\" width=\"1080\" height=\"608\" src=\"https:\/\/www.youtube.com\/embed\/ossGZT1TjV0?feature=oembed\"  allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/p>\n<p>&nbsp;<\/p>\n<ol>\n<li>First, you need to select the .htaccess Generator section from the control panel.<\/li>\n<li>If you wish to choose a default index page, click on the \u201cChoose your default index\u201d checkbox and fill in the page name and the valid extension<\/li>\n<li>You can set additional MIME types by clicking on the checkbox and specifying them.<\/li>\n<li>You can also add or block specific IP addresses. Click on the \u201cAllow \/ deny web access by IP\u201d and specify them. Note that multiple IPs must be comma-separated.<\/li>\n<li>You can set your mod_rewrite rules. You can allow or block other websites to display media data from your website. Click on the \u201cEnable authentication per website\u201d checkbox and specify the sites.<\/li>\n<li>Multiple sites are allowed, but they need to be comma-separated<\/li>\n<li>To redirect non-existing or wrong URLs, click on the \u201cRedirect not existing\/wrong URLs\u201d checkbox and specify the destination.<\/li>\n<li>You can redirect users with IPs from specific countries to dedicated pages. Click on the \u201cRedirect by language\u201d checkbox, then select the desired country (or multiple countries, select them using the Ctrl key) from the list, and specify the redirection path in the \u201cRedirect to URL\u201d text box.<\/li>\n<li>You can also block visitors from specific unwanted websites. To do so, click on the \u201cBlock sites by referrer\u201d checkbox and enter the hostname(s) in the \u201cHost to be blocked\u201d textbox.<\/li>\n<li>You can set up custom errors 400, 401, 403, 404, and 500 pages. To do so, click on the \u201cSetup custom error pages \u201d checkbox and enter the path to your custom pages.<\/li>\n<li>If you have changed the location of a specific document you can add a redirection to the new path. Click on the \u201cSetup Document Redirection\u201d checkbox and enter the old and the new locations of the document<\/li>\n<li>To use hotlinking protection click on the \u201cSet Hotlink Protection\u201d checkbox.<\/li>\n<li>You can select a custom path for the .htaccess file. Leave the field blank to use \/home\/www\/.<\/li>\n<li>If a .htaccess file exists already you can either overwrite it or update it with the current configuration.<\/li>\n<li>If you do not need the changes you have made, but are not saved yet, you can reset the form by clicking on the Clear Form button.<\/li>\n<li>To generate your .htaccess file click on the Generate .htaccess button.<\/li>\n<li>The .htaccess file has been generated.<\/li>\n<li>You can either copy the code and paste it into an existing file or replace the current one with this.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>In this video hosting tutorial, you will learn how to use the .htaccess generator from your hosting control panel. It is available for free and paid users. &nbsp; &nbsp; First, you need to select the .htaccess Generator section from the control panel. If you wish to choose a default index page, click on the \u201cChoose [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[82],"tags":[],"class_list":["post-4145","post","type-post","status-publish","format-standard","hentry","category-video-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to use the .htaccess Generator | Video Hosting Tutorials | AwardSpace<\/title>\n<meta name=\"description\" content=\"In this video hosting tutorial you will learn how to use the .htaccess generator from your hosting control panel. It is available for free and paid users.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to use the .htaccess Generator | Video Hosting Tutorials | AwardSpace\" \/>\n<meta property=\"og:description\" content=\"In this video hosting tutorial you will learn how to use the .htaccess generator from your hosting control panel. It is available for free and paid users.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/\" \/>\n<meta property=\"og:site_name\" content=\"AwardSpace.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/AwardSpace\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-07T08:53:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-28T09:33:19+00:00\" \/>\n<meta name=\"author\" content=\"aleksandarm\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@awspace\" \/>\n<meta name=\"twitter:site\" content=\"@awspace\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"aleksandarm\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/\"},\"author\":{\"name\":\"aleksandarm\",\"@id\":\"https:\/\/www.awardspace.com\/#\/schema\/person\/a7e515c9914a7a7ee0ea36126fd9e779\"},\"headline\":\"How to use the .htaccess Generator\",\"datePublished\":\"2020-05-07T08:53:05+00:00\",\"dateModified\":\"2024-02-28T09:33:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/\"},\"wordCount\":442,\"publisher\":{\"@id\":\"https:\/\/www.awardspace.com\/#organization\"},\"articleSection\":[\"Video Tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/\",\"url\":\"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/\",\"name\":\"How to use the .htaccess Generator | Video Hosting Tutorials | AwardSpace\",\"isPartOf\":{\"@id\":\"https:\/\/www.awardspace.com\/#website\"},\"datePublished\":\"2020-05-07T08:53:05+00:00\",\"dateModified\":\"2024-02-28T09:33:19+00:00\",\"description\":\"In this video hosting tutorial you will learn how to use the .htaccess generator from your hosting control panel. It is available for free and paid users.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.awardspace.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Video Tutorials\",\"item\":\"https:\/\/www.awardspace.com\/video-tutorials\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to use the .htaccess Generator\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.awardspace.com\/#website\",\"url\":\"https:\/\/www.awardspace.com\/\",\"name\":\"AwardSpace.com\",\"description\":\"Free Web Hosting with PHP, MySQL, Email Sending, No Ads\",\"publisher\":{\"@id\":\"https:\/\/www.awardspace.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.awardspace.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.awardspace.com\/#organization\",\"name\":\"AwardSpace.com\",\"url\":\"https:\/\/www.awardspace.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.awardspace.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.awardspace.com\/wp-content\/uploads\/2018\/08\/awardspace_logo.png\",\"contentUrl\":\"https:\/\/www.awardspace.com\/wp-content\/uploads\/2018\/08\/awardspace_logo.png\",\"width\":1759,\"height\":176,\"caption\":\"AwardSpace.com\"},\"image\":{\"@id\":\"https:\/\/www.awardspace.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/AwardSpace\/\",\"https:\/\/x.com\/awspace\",\"https:\/\/www.instagram.com\/awardspace\/\",\"https:\/\/www.quora.com\/profile\/Award-Space\",\"https:\/\/www.linkedin.com\/company\/19214384\/\",\"https:\/\/www.reddit.com\/user\/AwardSpace\",\"https:\/\/www.pinterest.com\/awardspace\/\",\"https:\/\/www.youtube.com\/user\/AwardspaceWebHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.awardspace.com\/#\/schema\/person\/a7e515c9914a7a7ee0ea36126fd9e779\",\"name\":\"aleksandarm\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.awardspace.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/bffa9854a22ac139b06cef64ba78af7ad68738b4f89fc95697174eb31670e456?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/bffa9854a22ac139b06cef64ba78af7ad68738b4f89fc95697174eb31670e456?s=96&d=mm&r=g\",\"caption\":\"aleksandarm\"},\"url\":\"https:\/\/www.awardspace.com\/author\/aleksandarm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to use the .htaccess Generator | Video Hosting Tutorials | AwardSpace","description":"In this video hosting tutorial you will learn how to use the .htaccess generator from your hosting control panel. It is available for free and paid users.","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":"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/","og_locale":"en_US","og_type":"article","og_title":"How to use the .htaccess Generator | Video Hosting Tutorials | AwardSpace","og_description":"In this video hosting tutorial you will learn how to use the .htaccess generator from your hosting control panel. It is available for free and paid users.","og_url":"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/","og_site_name":"AwardSpace.com","article_publisher":"https:\/\/www.facebook.com\/AwardSpace\/","article_published_time":"2020-05-07T08:53:05+00:00","article_modified_time":"2024-02-28T09:33:19+00:00","author":"aleksandarm","twitter_card":"summary_large_image","twitter_creator":"@awspace","twitter_site":"@awspace","twitter_misc":{"Written by":"aleksandarm","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/#article","isPartOf":{"@id":"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/"},"author":{"name":"aleksandarm","@id":"https:\/\/www.awardspace.com\/#\/schema\/person\/a7e515c9914a7a7ee0ea36126fd9e779"},"headline":"How to use the .htaccess Generator","datePublished":"2020-05-07T08:53:05+00:00","dateModified":"2024-02-28T09:33:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/"},"wordCount":442,"publisher":{"@id":"https:\/\/www.awardspace.com\/#organization"},"articleSection":["Video Tutorials"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/","url":"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/","name":"How to use the .htaccess Generator | Video Hosting Tutorials | AwardSpace","isPartOf":{"@id":"https:\/\/www.awardspace.com\/#website"},"datePublished":"2020-05-07T08:53:05+00:00","dateModified":"2024-02-28T09:33:19+00:00","description":"In this video hosting tutorial you will learn how to use the .htaccess generator from your hosting control panel. It is available for free and paid users.","breadcrumb":{"@id":"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.awardspace.com\/video-tutorials\/how-to-use-htaccess-generator\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.awardspace.com\/"},{"@type":"ListItem","position":2,"name":"Video Tutorials","item":"https:\/\/www.awardspace.com\/video-tutorials\/"},{"@type":"ListItem","position":3,"name":"How to use the .htaccess Generator"}]},{"@type":"WebSite","@id":"https:\/\/www.awardspace.com\/#website","url":"https:\/\/www.awardspace.com\/","name":"AwardSpace.com","description":"Free Web Hosting with PHP, MySQL, Email Sending, No Ads","publisher":{"@id":"https:\/\/www.awardspace.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.awardspace.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.awardspace.com\/#organization","name":"AwardSpace.com","url":"https:\/\/www.awardspace.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.awardspace.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.awardspace.com\/wp-content\/uploads\/2018\/08\/awardspace_logo.png","contentUrl":"https:\/\/www.awardspace.com\/wp-content\/uploads\/2018\/08\/awardspace_logo.png","width":1759,"height":176,"caption":"AwardSpace.com"},"image":{"@id":"https:\/\/www.awardspace.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/AwardSpace\/","https:\/\/x.com\/awspace","https:\/\/www.instagram.com\/awardspace\/","https:\/\/www.quora.com\/profile\/Award-Space","https:\/\/www.linkedin.com\/company\/19214384\/","https:\/\/www.reddit.com\/user\/AwardSpace","https:\/\/www.pinterest.com\/awardspace\/","https:\/\/www.youtube.com\/user\/AwardspaceWebHosting"]},{"@type":"Person","@id":"https:\/\/www.awardspace.com\/#\/schema\/person\/a7e515c9914a7a7ee0ea36126fd9e779","name":"aleksandarm","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.awardspace.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/bffa9854a22ac139b06cef64ba78af7ad68738b4f89fc95697174eb31670e456?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bffa9854a22ac139b06cef64ba78af7ad68738b4f89fc95697174eb31670e456?s=96&d=mm&r=g","caption":"aleksandarm"},"url":"https:\/\/www.awardspace.com\/author\/aleksandarm\/"}]}},"_links":{"self":[{"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/posts\/4145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/comments?post=4145"}],"version-history":[{"count":0,"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/posts\/4145\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/media?parent=4145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/categories?post=4145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/tags?post=4145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}