---
title: "How to Use the All in One SEO Pack File Editor"
description: "In this tutorial: Activate File Editor Using File Editor As we continue our series on the All in One SEO Pack, we will now show you how to use the File Editor feature. This allows you to directly..."
url: https://www.inmotionhosting.com/support/website/seo/file-editor/
date: 2018-03-02
modified: 2021-08-16
author: "InMotion Hosting Contributor"
categories: ["Search Engine Optimization"]
type: post
lang: en
---

# How to Use the All in One SEO Pack File Editor

## In this tutorial:

[Activate File Editor](#activate) [Using File Editor](#using-file-editor)

As we continue our series on the [All in One SEO Pack](https://www.inmotionhosting.com/support/edu/wordpress/plugins/all-in-one-seo-pack/), we will now show you how to use the **File Editor** feature. This allows you to directly edit the *robots.txt* and *.htaccess* file for your WordPress site. First, we will walk you through enabling the *File Editor* feature, then show you how to view and edit your robots.txt and .htaccess files.

## Activate File Editor Feature

Before we can use the *File Editor* feature we will show you the steps required to activate it.

1. [Log into your WordPress Dashboard](https://www.inmotionhosting.com/support/edu/wordpress/logging-into-wordpress-dashboard/).
2. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/02/wordpress_all-in-one-seo-pack_social-meta_all-in-one-seo-feature-manager.png)](/support/wp-content/uploads/2018/02/wordpress_all-in-one-seo-pack_social-meta_all-in-one-seo-feature-manager.png) Click **All in One SEO** then **Feature Manager** in the navigation menu.
3. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/03/wordpress_all-in-one-seo-pack_file-editor_activate-file-editor.png)](/support/wp-content/uploads/2018/03/wordpress_all-in-one-seo-pack_file-editor_activate-file-editor.png) Scroll down to the *File Editor* feature and click the **Activate** button.

## Using the File Editor

Now that you have activated the *File Editor* feature we will show you how to view and edit your *robots.txt* and *.htaccess* files.

1. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/03/wordpress_all-in-one-seo-pack_file-editor_access-file-editor.png)](/support/wp-content/uploads/2018/03/wordpress_all-in-one-seo-pack_file-editor_access-file-editor.png) In the *All in One SEO* menu, click the **File Editor** link.
2. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/03/wordpress_all-in-one-seo-pack_file-editor_view-edit-robots-file.png)](/support/wp-content/uploads/2018/03/wordpress_all-in-one-seo-pack_file-editor_view-edit-robots-file.png) Click the **robots.txt** tab to *view* and/or *edit* the file. For more information on how to use the robots.txt file see our full guide on [how to Stop Search Engines from Crawling your Website](/support/website/how-to-stop-search-engines-from-crawling-your-website/).
3. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/03/wordpress_all-in-one-seo-pack_file-editor_update-robots-file.png)](/support/wp-content/uploads/2018/03/wordpress_all-in-one-seo-pack_file-editor_update-robots-file.png) Click the **Update robots.txt** button to save your changes.
4. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/03/wordpress_all-in-one-seo-pack_file-editor_view-edit-htaccess-file.png)](/support/wp-content/uploads/2018/03/wordpress_all-in-one-seo-pack_file-editor_view-edit-htaccess-file.png) Click the **.htaccess** tab to *view*/*edit* the file. For more information on using .htaccess rules see our guide on how to [block unwanted users from your site using .htaccess](/support/website/block-unwanted-users-from-your-site-using-htaccess/)
5. [![](https://www.inmotionhosting.com/support/wp-content/uploads/2018/03/wordpress_all-in-one-seo-pack_file-editor_update-htaccess-file.png)](/support/wp-content/uploads/2018/03/wordpress_all-in-one-seo-pack_file-editor_update-htaccess-file.png) Click the **Update .htaccess** button to save your changes.

Congratulations, now you know how to use the All in One SEO Pack **File Editor** feature in WordPress to view and edit your .htaccess and robots.txt files!
