> For the complete documentation index, see [llms.txt](https://docs.planetstyles.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.planetstyles.net/getting-started/how-to-edit-code-files.md).

# How to edit code files

In some cases if you ask us to fix a bug or make a tweak, we might provide you with instructions which require editing a code file.

### Edit using file manager

1. Log into your hosting control panel (Often called cPanel)
2. Open the file manager
3. Navigate to the file you want to edit
4. Click "Code editor" or "Edit"
5. Save
6. Purge cache

***

### Edit using FTP client

1. Open your FTP client (such as FileZilla)
2. Connect to your server
3. Navigate to the file you want to edit
4. Download it
5. Edit the file on your computer, you can use a code editor such as Notepad++, VS Code, Atom etc...
6. Save the file
7. Re-upload using your FTP client
8. Purge cache


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.planetstyles.net/getting-started/how-to-edit-code-files.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
