{"id":546,"date":"2021-08-11T21:29:00","date_gmt":"2021-08-12T01:29:00","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2013\/01\/31\/how-to-edit-a-file\/"},"modified":"2026-01-22T11:21:43","modified_gmt":"2026-01-22T16:21:43","slug":"how-to-edit-a-file","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/","title":{"rendered":"How to Edit a Website File on Your Server"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Edit-a-Website-File-on-Your-Server-1024x538.png\" alt=\"Learn How to Edit a Website File on Your Server\" class=\"wp-image-90059\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Edit-a-Website-File-on-Your-Server-1024x538.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Edit-a-Website-File-on-Your-Server-300x158.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Edit-a-Website-File-on-Your-Server-768x403.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Edit-a-Website-File-on-Your-Server.png 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>In this guide, we will show you how to edit a website file on your server. Many times when you are configuring your website you will need to modify a file, such as when you are updating a code or a file path. There are several ways you can do this. For example, you can use the cPanel File Manager editor, an FTP program, or a program like Notepad++ to edit files. <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#file-manager\">Edit a Website with File Manager in cPanel<\/a><\/li>\n\n\n\n<li><a href=\"#ftp\">Using FTP to Edit Website<\/a><\/li>\n\n\n\n<li><a href=\"#notepad\">Edit a Website With a Program Like Notepad++<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"alert alert-warning\"><strong>NOTE:<\/strong>\u00a0When updating files on your server, you may need to clear your browser cache to see the changes. For more information on clearing your browser cache, please see the article on\u00a0<a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-clear-browser-cache-for-major-browsers\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How to Clear Your Browser\u2019s Cache<\/strong><\/a>.<\/p>\n\n\n<div class=\"imh-youtube-embed\">\n\t\t\t<iframe src=\"https:\/\/www.youtube.com\/embed\/ArClengp1fA\" title=\"How to Edit a Website File on Your Server\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n\t\t\t<script type=\"application\/ld+json\">{\"@context\":\"https:\/\/schema.org\",\"@type\":\"VideoObject\",\"name\":\"How to Edit a Website File on Your Server\",\"description\":\"Learn how to edit a file using the cPanel File Manager&#039;s built in editor applications.\",\"uploadDate\":\"2018-06-08\",\"thumbnailUrl\":\"https:\/\/img.youtube.com\/vi\/ArClengp1fA\/hqdefault.jpg\"}<\/script>\n\t\t<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"file-manager\">Edit a Website With File Manager in cPanel<\/h2>\n\n\n\n<p>You can edit files directly on your server using the File Manager editor. File Manager is a browser-based editor you can find in your cPanel.<\/p>\n\n\n\n<p>This is sometimes called \u201c<em>Editing on the fly<\/em>\u201c. <em>Editing on the fly<\/em> is usually reserved for minor changes. When editing files directly on the server, the change takes effect immediately. The problem with editing files directly on the server is that you are editing the live copy. When editing the live copy, your site can break if a mistake happens and you cannot undo the change after it is saved.<\/p>\n\n\n\n<p>In order to edit a backup copy of your files, you may want to use FTP instead. This is because, with FTP you typically download a copy of the file you want to edit, then upload and replace the old file. We will cover FTP more in-depth in the sections below. But, first here is a general step-by-step on how to edit files through the File Manager.<\/p>\n\n\n\n<p class=\"alert alert-warning\"><strong>NOTE:<\/strong>\u00a0If you do not know where your files are located on the server, please see our article on\u00a0<a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/where-to-upload-files\/\" target=\"_blank\" rel=\"noreferrer noopener\">What directory should I put my files in?<\/a>.<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/how-to-log-into-cpanel\/\">Log into your cPanel<\/a>.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/cpanel\/using-file-manager-in-cpanel\/\">Go to the File Manager<\/a> in cPanel. <br><figure><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"172\" class=\"wp-image-82386\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/01\/edit-website-files-cpanel-file-manager.png\" alt=\"Edit Website Files with cPanel File Manager\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/01\/edit-website-files-cpanel-file-manager.png 840w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/01\/edit-website-files-cpanel-file-manager-300x69.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/01\/edit-website-files-cpanel-file-manager-768x176.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure><\/li>\n\n\n\n<li>Select your directory.<\/li>\n\n\n\n<li>Right-click and <strong>Edit<\/strong> the file with the File Manager editor.<br><figure><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"385\" class=\"wp-image-82107\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/edit-htaccess-to-setup-301-redirect.png\" alt=\"Edit .htaccess File and Setup 301 Redirect\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/edit-htaccess-to-setup-301-redirect.png 627w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/11\/edit-htaccess-to-setup-301-redirect-300x154.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure> <\/li>\n\n\n\n<li>You can then edit the file as needed.<br><figure><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"179\" class=\"wp-image-88109\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/editing-in-file-manager.png\" alt=\"Editing a File Using cPanel File Manager\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/editing-in-file-manager.png 1299w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/editing-in-file-manager-300x72.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/editing-in-file-manager-1024x244.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/editing-in-file-manager-768x183.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure><\/li>\n\n\n\n<li><strong>Save<\/strong> the changes. You can then view your live site and see the changes.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ftp\">Using FTP to Edit Website<\/h2>\n\n\n\n<p>Files can be downloaded and uploaded using an FTP client installed on your computer. For example, you can edit a PHP file, or edit an HTML file by downloading it and making changes then uploading it when you are finished. <\/p>\n\n\n\n<p>Since FTP programs run directly on your computer, there is no need to access cPanel or an internet browser before accessing your files.<\/p>\n\n\n\n<p>Below are the basic steps to edit a file using FTP. For more information please see our <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/ftp\/getting-started-guide\/\">Getting Started Guide: FTP<\/a> article.<\/p>\n\n\n\n<ol class=\"wp-block-list article_list\">\n<li>Connect with FTP. Below is a screenshot of FileZilla connected to my server\u2019s public_html folder.<br><figure><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"330\" class=\"wp-image-88110\" style=\"width: 750px;\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/filezilla.png\" alt=\"Connected to FTP Using FileZilla\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/filezilla.png 1919w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/filezilla-300x132.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/filezilla-1024x450.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/filezilla-768x338.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/08\/filezilla-1536x676.png 1536w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure><\/li>\n\n\n\n<li>Download the file.<\/li>\n\n\n\n<li>Edit the file on your computer with notepad or another code editor such as Sublime Text.<\/li>\n\n\n\n<li>Re-upload the file to the server and overwrite the existing file. The changes should reflect now on your live site.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"notepad\">Edit a Website With an Editor Like Notepad++<\/h2>\n\n\n\n<p>You can edit files directly on your server using Notepad++. NotePad++ is a Windows-based editing program that also has FTP capabilities. This means you can use this single program to connect with FTP and edit the file as well.<\/p>\n\n\n\n<p>For information on editing your files with Notepad++, please see the following article:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/ftp\/connect-ftp-notepad-plus\/\">Connecting to your server with Notepad++<\/a><\/li>\n<\/ul>\n\n\n\n<p>To see other articles available on how to manage your files, please visit <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-manage-files-server\/\">How to manage your files on your server?<\/a>.<\/p>\n\n\n<div class=\"jumbotron\">Make sure your business, agency, or reseller clients are always connected and powered on with our optimized <a href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\">Managed VPS Hosting<\/a>.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we will show you how to edit a website file on your server. Many times when you are configuring your website you will need to modify a file, such as when you are updating a code or a file path. There are several ways you can do this. For example, you can<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/\"> Read More ><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4288],"tags":[],"class_list":["post-546","post","type-post","status-publish","format-standard","hentry","category-website"],"acf":[],"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 Website File on Your Server Explained<\/title>\n<meta name=\"description\" content=\"You can edit files on your server with the File manager, an ftp program or a program like Notepad++. This article will teach you how.\" \/>\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.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/\" \/>\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 Website File on Your Server Explained\" \/>\n<meta property=\"og:description\" content=\"You can edit files on your server with the File manager, an ftp program or a program like Notepad++. This article will teach you how.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-12T01:29:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-22T16:21:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/01\/How-to-Edit-a-Website-File-on-Your-Server-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b\"},\"headline\":\"How to Edit a Website File on Your Server\",\"datePublished\":\"2021-08-12T01:29:00+00:00\",\"dateModified\":\"2026-01-22T16:21:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/\"},\"wordCount\":661,\"commentCount\":39,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Edit-a-Website-File-on-Your-Server-1024x538.png\",\"articleSection\":[\"Website\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/\",\"name\":\"How to Edit a Website File on Your Server Explained\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Edit-a-Website-File-on-Your-Server-1024x538.png\",\"datePublished\":\"2021-08-12T01:29:00+00:00\",\"dateModified\":\"2026-01-22T16:21:43+00:00\",\"description\":\"You can edit files on your server with the File manager, an ftp program or a program like Notepad++. This article will teach you how.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Edit-a-Website-File-on-Your-Server.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Edit-a-Website-File-on-Your-Server.png\",\"width\":1200,\"height\":630,\"caption\":\"Learn How to Edit a Website File on Your Server\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Edit a Website File on Your Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/john-paul\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Edit a Website File on Your Server Explained","description":"You can edit files on your server with the File manager, an ftp program or a program like Notepad++. This article will teach you how.","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.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/","og_locale":"en_US","og_type":"article","og_title":"How to Edit a Website File on Your Server Explained","og_description":"You can edit files on your server with the File manager, an ftp program or a program like Notepad++. This article will teach you how.","og_url":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2021-08-12T01:29:00+00:00","article_modified_time":"2026-01-22T16:21:43+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2013\/01\/How-to-Edit-a-Website-File-on-Your-Server-1.jpg","type":"image\/jpeg"}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b"},"headline":"How to Edit a Website File on Your Server","datePublished":"2021-08-12T01:29:00+00:00","dateModified":"2026-01-22T16:21:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/"},"wordCount":661,"commentCount":39,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Edit-a-Website-File-on-Your-Server-1024x538.png","articleSection":["Website"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/","url":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/","name":"How to Edit a Website File on Your Server Explained","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Edit-a-Website-File-on-Your-Server-1024x538.png","datePublished":"2021-08-12T01:29:00+00:00","dateModified":"2026-01-22T16:21:43+00:00","description":"You can edit files on your server with the File manager, an ftp program or a program like Notepad++. This article will teach you how.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Edit-a-Website-File-on-Your-Server.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/10\/How-to-Edit-a-Website-File-on-Your-Server.png","width":1200,"height":630,"caption":"Learn How to Edit a Website File on Your Server"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/website\/how-to-edit-a-file\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Edit a Website File on Your Server"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/john-paul\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4288,"name":"Website","slug":"website","link":"https:\/\/www.inmotionhosting.com\/support\/website\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=546"}],"version-history":[{"count":16,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/546\/revisions"}],"predecessor-version":[{"id":131527,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/546\/revisions\/131527"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}