{"id":9368,"date":"2020-04-25T09:54:17","date_gmt":"2020-04-25T09:54:17","guid":{"rendered":"https:\/\/www.milesweb.in\/hosting-faqs\/?p=9368"},"modified":"2026-02-26T18:50:21","modified_gmt":"2026-02-26T13:20:21","slug":"how-to-edit-a-htaccess-file-through-the-cpanel-file-manager","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/","title":{"rendered":"How To Edit A .htaccess File Through The cPanel File Manager?"},"content":{"rendered":"<p><strong>Watch this video for a step by step process on how to send email through WordPress by using SMTP authentication <\/strong><\/p>\n<div class=\"youtube-video\" style=\"border: 1px solid #ddd;\"><iframe src=\"https:\/\/www.youtube.com\/embed\/60C_uRHOAQI\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/div>\n<p>The process to add or edit a .htaccess file through the cPanel file manager is as follows:<!--more--><\/p>\n<ul>\n<li>Login to the <strong>cPanel.<\/strong><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9749 size-full\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-79-min.png\" alt=\"\" width=\"325\" height=\"346\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-79-min.png 325w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-79-min-282x300.png 282w\" sizes=\"auto, (max-width: 325px) 100vw, 325px\" \/><\/p>\n<ul>\n<li>Under the<strong> Files<\/strong> section, click on <strong>File Manager<\/strong>.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9735 size-full\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-65-min.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-65-min.png 1366w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-65-min-300x169.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-65-min-768x432.png 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-65-min-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<ul>\n<li>On the <strong>left side<\/strong>, click on <strong>the public_html <\/strong>directory.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9736 size-full\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-66-min.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-66-min.png 1366w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-66-min-300x169.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-66-min-768x432.png 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-66-min-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<ul>\n<li>Here you will see the<strong> files and folders.&nbsp;<\/strong><\/li>\n<li>In this section, if you&#8217;re not able to see the <strong>.htaccess file<\/strong>, then go to <strong>Settings<\/strong><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9737 size-full\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-67-min.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-67-min.png 1366w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-67-min-300x169.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-67-min-768x432.png 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-67-min-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<ul>\n<li>In this <strong>Preferences<\/strong> window, you need to mark the option <strong>Show Hidden Files (Dotfiles).<\/strong><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9738 size-full\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-68-min.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-68-min.png 1366w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-68-min-300x169.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-68-min-768x432.png 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-68-min-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<ul>\n<li>Click on the<strong> Save<\/strong> button.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9739 size-full\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-69-min.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-69-min.png 1366w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-69-min-300x169.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-69-min-768x432.png 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-69-min-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<ul>\n<li>Now, you will be able to see the <strong>.htaccess file<\/strong>, if you don\u2019t see it then you need to <strong>create a new one<\/strong>.<\/li>\n<li>To create a new <strong>.htaccess file, <\/strong>click on<strong> File option <\/strong>in<strong> File Manager. <\/strong><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9740 size-full\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-70-min.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-70-min.png 1366w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-70-min-300x169.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-70-min-768x432.png 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-70-min-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<ul>\n<li>A<strong> New File <\/strong>window<strong> appears.<\/strong><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9741 size-full\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-71-min.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-71-min.png 1366w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-71-min-300x169.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-71-min-768x432.png 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-71-min-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<ul>\n<li><strong>Now, <\/strong>in <strong>New File Name<\/strong> text box type the file name as <strong>.htaccess<\/strong> and enter a directory where you want to place the .htaccess file in the below section. Here I have selected <strong>public_html <\/strong>directory so it is being displayed by default in this section.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9742 size-full\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-72-min.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-72-min.png 1366w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-72-min-300x169.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-72-min-768x432.png 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-72-min-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9743 size-full\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-73-min.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-73-min.png 1366w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-73-min-300x169.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-73-min-768x432.png 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-73-min-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<ul>\n<li>&nbsp;Click on<strong> Create New File <\/strong>button.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9744 size-full\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-74-min.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-74-min.png 1366w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-74-min-300x169.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-74-min-768x432.png 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-74-min-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<ul>\n<li>Right-click on <strong>.htaccess file<\/strong> and click on <strong>Edit <\/strong>option in the <strong>Context Menu.<\/strong><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9745 size-full\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-75-min.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-75-min.png 1366w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-75-min-300x169.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-75-min-768x432.png 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-75-min-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<ul>\n<li>After clicking on <strong>the Edit<\/strong> option, one dialogue box appears on the screen which will ask you for <strong>Character Encoding.<\/strong><\/li>\n<li>If you don\u2019t want to select any <strong>Character Encoding<\/strong> option, just click on <strong>the Edit<\/strong> button.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9746 size-full\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-76-min.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-76-min.png 1366w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-76-min-300x169.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-76-min-768x432.png 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-76-min-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<ul>\n<li>After clicking on <strong>the Edit<\/strong> button, a new window appears in which you can update the existing code OR add a new one.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9747 size-full\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-77-min.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-77-min.png 1366w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-77-min-300x169.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-77-min-768x432.png 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-77-min-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<ul>\n<li>Make the changes and click on <strong>Save Changes <\/strong>button.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-9748 size-full\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-78-min.png\" alt=\"\" width=\"1366\" height=\"768\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-78-min.png 1366w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-78-min-300x169.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-78-min-768x432.png 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-78-min-1024x576.png 1024w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p>\n<p>So, in this way you can add OR edit <strong>.htaccess file<\/strong> through cPanel file manager.<\/p>\n<p><script type=\"application\/ld+json\">{\n  \"@context\": \"http:\/\/schema.org\",\n  \"@type\": \"VideoObject\",\n  \"name\": \"How to Add or Edit  htaccess File Through cPanel File Manager? | MilesWeb\",\n  \"description\": \"In this video, you will learn how to add or edit .htaccess file through cPanel file manager.  Here's an in-depth guide on how to add OR edit .htaccess file through cPanel file manager: https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/   0:00 - Intro 1:04 - To add a new .htaccess file   Give a thumbs up ?? if you liked this video.  Subscribe to our channel and get notified for all the latest videos.  To know more about web hosting visit our website- https:\/\/www.milesweb.in\",\n  \"thumbnailUrl\": \"https:\/\/i.ytimg.com\/vi\/60C_uRHOAQI\/default.jpg\",\n  \"uploadDate\": \"2020-06-08T09:19:56Z\",\n  \"duration\": \"PT2M43S\",\n  \"embedUrl\": \"https:\/\/www.youtube.com\/embed\/60C_uRHOAQI\",\n  \"interactionCount\": \"232\"\n}<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Watch this video for a step by step process on how to send email through WordPress by using SMTP authentication The process to add or edit a .htaccess file through the cPanel file manager is as follows:<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3046],"tags":[672,152,1421,496],"class_list":["post-9368","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-files-and-ftp-management","tag-htaccess","tag-cpanel","tag-edit-htaccess-file","tag-file-manager"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Edit A .htaccess File Through The cPanel File Manager?<\/title>\n<meta name=\"description\" content=\"This article provides easy steps for editing a .htaccess file through the cPanel File Manager.\" \/>\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.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Edit A .htaccess File Through The cPanel File Manager?\" \/>\n<meta property=\"og:description\" content=\"This article provides easy steps for editing a .htaccess file through the cPanel File Manager.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-25T09:54:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T13:20:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-79-min.png\" \/>\n\t<meta property=\"og:image:width\" content=\"325\" \/>\n\t<meta property=\"og:image:height\" content=\"346\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ujwala\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ujwala\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/\"},\"author\":{\"name\":\"Ujwala\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8\"},\"headline\":\"How To Edit A .htaccess File Through The cPanel File Manager?\",\"datePublished\":\"2020-04-25T09:54:17+00:00\",\"dateModified\":\"2026-02-26T13:20:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/\"},\"wordCount\":307,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-79-min.png\",\"keywords\":[\".htaccess\",\"cPanel\",\"edit .htaccess file\",\"file manager\"],\"articleSection\":[\"Files &amp; FTP Management\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/\",\"name\":\"How To Edit A .htaccess File Through The cPanel File Manager?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-79-min.png\",\"datePublished\":\"2020-04-25T09:54:17+00:00\",\"dateModified\":\"2026-02-26T13:20:21+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8\"},\"description\":\"This article provides easy steps for editing a .htaccess file through the cPanel File Manager.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-79-min.png\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-79-min.png\",\"width\":325,\"height\":346},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Edit A .htaccess File Through The cPanel File Manager?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8\",\"name\":\"Ujwala\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3688a73ea9910afb426b453e227deb5300ca470f5518aac6c3b676a5b0acfee5?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3688a73ea9910afb426b453e227deb5300ca470f5518aac6c3b676a5b0acfee5?s=96&d=blank&r=g\",\"caption\":\"Ujwala\"},\"description\":\"My aim is to create enriching content on topics related to SEO, web hosting and social media. The idea is to elevate the readers to new levels of usability, accessibility and understanding.\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/ujwala\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Edit A .htaccess File Through The cPanel File Manager?","description":"This article provides easy steps for editing a .htaccess file through the cPanel File Manager.","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.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/","og_locale":"en_US","og_type":"article","og_title":"How To Edit A .htaccess File Through The cPanel File Manager?","og_description":"This article provides easy steps for editing a .htaccess file through the cPanel File Manager.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2020-04-25T09:54:17+00:00","article_modified_time":"2026-02-26T13:20:21+00:00","og_image":[{"width":325,"height":346,"url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-79-min.png","type":"image\/png"}],"author":"Ujwala","twitter_misc":{"Written by":"Ujwala","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/"},"author":{"name":"Ujwala","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8"},"headline":"How To Edit A .htaccess File Through The cPanel File Manager?","datePublished":"2020-04-25T09:54:17+00:00","dateModified":"2026-02-26T13:20:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/"},"wordCount":307,"commentCount":0,"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-79-min.png","keywords":[".htaccess","cPanel","edit .htaccess file","file manager"],"articleSection":["Files &amp; FTP Management"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/","name":"How To Edit A .htaccess File Through The cPanel File Manager?","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-79-min.png","datePublished":"2020-04-25T09:54:17+00:00","dateModified":"2026-02-26T13:20:21+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8"},"description":"This article provides easy steps for editing a .htaccess file through the cPanel File Manager.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/#primaryimage","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-79-min.png","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2020\/04\/Screenshot-79-min.png","width":325,"height":346},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-edit-a-htaccess-file-through-the-cpanel-file-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How To Edit A .htaccess File Through The cPanel File Manager?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/485f82549b85b9f4c82dc208c42964a8","name":"Ujwala","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3688a73ea9910afb426b453e227deb5300ca470f5518aac6c3b676a5b0acfee5?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3688a73ea9910afb426b453e227deb5300ca470f5518aac6c3b676a5b0acfee5?s=96&d=blank&r=g","caption":"Ujwala"},"description":"My aim is to create enriching content on topics related to SEO, web hosting and social media. The idea is to elevate the readers to new levels of usability, accessibility and understanding.","url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/ujwala\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/9368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=9368"}],"version-history":[{"count":7,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/9368\/revisions"}],"predecessor-version":[{"id":15995,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/9368\/revisions\/15995"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=9368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=9368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=9368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}